feat: add seerr
This commit is contained in:
@@ -34,7 +34,7 @@ jobs:
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
echo "Projet"
|
echo "Projet"
|
||||||
cd /data/docker/landing-server
|
cd /data/stacks/landing-server
|
||||||
|
|
||||||
echo "Pull nouvelle image"
|
echo "Pull nouvelle image"
|
||||||
docker compose pull
|
docker compose pull
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ type HomeElementProps = {
|
|||||||
description: string;
|
description: string;
|
||||||
href?: string;
|
href?: string;
|
||||||
actionLabel: string;
|
actionLabel: string;
|
||||||
variant: "jellyfin" | "minecraft" | "astroneer";
|
variant: "jellyfin" | "seerr" | "minecraft" | "astroneer";
|
||||||
external?: boolean;
|
external?: boolean;
|
||||||
children: ReactNode;
|
children: ReactNode;
|
||||||
};
|
};
|
||||||
@@ -86,6 +86,33 @@ export function JellyfinIcon() {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function SeerrIcon() {
|
||||||
|
return (
|
||||||
|
<svg viewBox="0 0 96 96" aria-hidden="true" focusable="false">
|
||||||
|
<defs>
|
||||||
|
<linearGradient id="seerr-gradient" x1="16" y1="82" x2="80" y2="14">
|
||||||
|
<stop stopColor="#ff6b8a" />
|
||||||
|
<stop offset="0.5" stopColor="#ffd166" />
|
||||||
|
<stop offset="1" stopColor="#6df4ff" />
|
||||||
|
</linearGradient>
|
||||||
|
</defs>
|
||||||
|
<rect
|
||||||
|
x="15"
|
||||||
|
y="22"
|
||||||
|
width="58"
|
||||||
|
height="48"
|
||||||
|
rx="8"
|
||||||
|
fill="none"
|
||||||
|
stroke="url(#seerr-gradient)"
|
||||||
|
strokeWidth="7"
|
||||||
|
/>
|
||||||
|
<path d="m42 36 18 10-18 10z" fill="#ffd166" />
|
||||||
|
<circle cx="62" cy="62" r="14" fill="#10182e" stroke="#ff6b8a" strokeWidth="7" />
|
||||||
|
<path d="m72 72 10 10" stroke="#6df4ff" strokeLinecap="round" strokeWidth="7" />
|
||||||
|
</svg>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
export function MinecraftIcon() {
|
export function MinecraftIcon() {
|
||||||
return (
|
return (
|
||||||
<svg viewBox="0 0 96 96" aria-hidden="true" focusable="false">
|
<svg viewBox="0 0 96 96" aria-hidden="true" focusable="false">
|
||||||
|
|||||||
+14
-1
@@ -193,7 +193,7 @@ svg {
|
|||||||
display: grid;
|
display: grid;
|
||||||
width: min(1120px, 100%);
|
width: min(1120px, 100%);
|
||||||
margin-top: 48px;
|
margin-top: 48px;
|
||||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||||
gap: 32px;
|
gap: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -261,6 +261,14 @@ svg {
|
|||||||
color: #46ee89;
|
color: #46ee89;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.service-card--seerr {
|
||||||
|
--service-accent: #ff6b8a;
|
||||||
|
|
||||||
|
border-color: #ff6b8a;
|
||||||
|
box-shadow: var(--shadow-hard), 0 0 28px rgb(255 107 138 / 30%), inset 0 0 0 1px rgb(255 255 255 / 9%);
|
||||||
|
color: #ff9aaa;
|
||||||
|
}
|
||||||
|
|
||||||
.service-card--astroneer {
|
.service-card--astroneer {
|
||||||
--service-accent: #ffb347;
|
--service-accent: #ffb347;
|
||||||
|
|
||||||
@@ -360,6 +368,11 @@ svg {
|
|||||||
text-shadow: 0 2px 0 rgb(0 0 0 / 24%);
|
text-shadow: 0 2px 0 rgb(0 0 0 / 24%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.service-card--seerr .service-action {
|
||||||
|
background: linear-gradient(180deg, #ffd166, #ff6b8a);
|
||||||
|
color: #170b14;
|
||||||
|
}
|
||||||
|
|
||||||
.service-card--minecraft .service-action {
|
.service-card--minecraft .service-action {
|
||||||
background: linear-gradient(180deg, #35f48a, #13ca69);
|
background: linear-gradient(180deg, #35f48a, #13ca69);
|
||||||
color: #041411;
|
color: #041411;
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ export const siteConfig = {
|
|||||||
title: "Le serveur de Leon",
|
title: "Le serveur de Leon",
|
||||||
description: "Streaming, jeux et services privés au même endroit.",
|
description: "Streaming, jeux et services privés au même endroit.",
|
||||||
jellyfinUrl: "https://momostreaming.com",
|
jellyfinUrl: "https://momostreaming.com",
|
||||||
|
seerrUrl: "https://seerr.leonmorival.xyz",
|
||||||
minecraftPath: "/minecraft",
|
minecraftPath: "/minecraft",
|
||||||
astroneerPath: "/astroneer",
|
astroneerPath: "/astroneer",
|
||||||
apiUrl: process.env.NEXT_PUBLIC_API_URL,
|
apiUrl: process.env.NEXT_PUBLIC_API_URL,
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import HomeElement, {
|
|||||||
AstroneerIcon,
|
AstroneerIcon,
|
||||||
JellyfinIcon,
|
JellyfinIcon,
|
||||||
MinecraftIcon,
|
MinecraftIcon,
|
||||||
|
SeerrIcon,
|
||||||
} from "./components/HomeElement";
|
} from "./components/HomeElement";
|
||||||
import { astroneerServer, siteConfig } from "./lib/server-config";
|
import { astroneerServer, siteConfig } from "./lib/server-config";
|
||||||
|
|
||||||
@@ -34,6 +35,17 @@ export default function Home() {
|
|||||||
<JellyfinIcon />
|
<JellyfinIcon />
|
||||||
</HomeElement>
|
</HomeElement>
|
||||||
|
|
||||||
|
<HomeElement
|
||||||
|
title="Seerr"
|
||||||
|
description="Demandes de films et séries."
|
||||||
|
href={siteConfig.seerrUrl}
|
||||||
|
actionLabel="Ouvrir"
|
||||||
|
variant="seerr"
|
||||||
|
external
|
||||||
|
>
|
||||||
|
<SeerrIcon />
|
||||||
|
</HomeElement>
|
||||||
|
|
||||||
<HomeElement
|
<HomeElement
|
||||||
title="Minecraft"
|
title="Minecraft"
|
||||||
description="Infos, statut et carte live du monde."
|
description="Infos, statut et carte live du monde."
|
||||||
|
|||||||
Reference in New Issue
Block a user