add project and main menu items, download data, and Les Voix de L'Exil page

This commit is contained in:
2026-03-27 11:34:21 +01:00
parent fabdeed07f
commit e69d0c322c
64 changed files with 1382 additions and 164 deletions
+1
View File
@@ -8,6 +8,7 @@
z-index: 999;
box-sizing: border-box;
margin-bottom: 2em;
margin-top: 2em;
display: block;
}
+3 -66
View File
@@ -10,6 +10,7 @@ import {
import { Link, useNavigate, useLocation } from "react-router-dom";
import { gsap } from "gsap";
import "./CardNav.css";
import { mainMenuItems, projectMenuItems } from "./data/DataMenuItem";
const InfiniteMenu = lazy(() => import("./InfiniteMenu"));
const Lanyard = lazy(() => import("./Lanyard"));
@@ -69,73 +70,9 @@ const CardNav = ({
const menuItems = useMemo(() => {
if (location.pathname.startsWith("/projects")) {
return [
{
image: "/images/Projects.webp",
link: "/projects",
title: "All my Projects",
description: "To discover all my creations",
},
{
image: "/images/NTR.webp",
link: "/projects/neo-tokyo-rush",
title: "Neo Tokyo Rush",
description: "Cyberpunk-inspired beat 'em All game",
},
{
image: "/images/PortfolioE1.webp",
link: "https://portfolio-xesiahs-projects.vercel.app/",
title: "Protfolio 2024",
description: "Portfolio that gathers all my first year's projects",
},
{
image: "/images/Metz-Campus.webp",
link: "_blank https://metzcampus.fr/",
title: "Metz Campus",
description:
"Website crafted for the Metz Campus organization during my first-year internship.",
},
{
image: "/images/Zatyshok.webp",
link: "/projects/zatyshok",
title: "Затишок",
description:
"Moodboard/Planner highly customisable application developed with love !",
},
{
image: "/images/SPRotD.webp",
link: "/projects/shadow-purge-rite-of-the-demon",
title: "Shadow Purge - Rite of the Demon",
description: "Hack n'slash RPG",
},
{
image: "/images/EotLS.webp",
link: "/projects/echoes-of-the-last-stop",
title: "Echoes of the Last Stop",
description: "Thriller game project in collaboration with my partner",
},
];
return projectMenuItems;
}
return [
{
image: "/images/Projects.webp",
link: "/projects",
title: "All my Projects",
description: "To discover all my creations",
},
{
image: "/images/Contact.webp",
link: "/contact",
title: "Contact",
description: "Any requests? Feel free to reach out!",
},
{
image: "/images/Cohaise.webp",
link: "/cohaise",
title: "Co Hai Se",
description: "About us",
},
];
return mainMenuItems;
}, [location.pathname]);
const calculateHeight = useCallback(() => {
+65
View File
@@ -0,0 +1,65 @@
import React, { useState } from "react";
import { Download } from "lucide-react";
import { ProjectDownloads } from "./data/DownloadData";
interface DownloadButtonProps {
projectId: string;
}
const DownloadButton: React.FC<DownloadButtonProps> = ({ projectId }) => {
const projectData = ProjectDownloads[projectId];
if (!projectData) return null;
const isAvailable =
projectData.downloadUrl &&
projectData.downloadUrl !== "#" &&
projectData.downloadUrl !== "";
const handleDownload = () => {
if (!isAvailable) return;
const link = document.createElement("a");
link.href = projectData.downloadUrl;
if (projectData.downloadUrl.endsWith(".zip")) {
const fileName =
projectData.downloadUrl.split("/").pop() || "project.zip";
link.setAttribute("download", fileName);
} else {
link.setAttribute("target", "_blank");
}
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
};
return (
<div className="flex flex-col items-center mt-10 gap-3">
<button
onClick={handleDownload}
disabled={!isAvailable}
className={`cursor-target flex items-center gap-3 px-8 py-4 font-bold rounded-full transition-all transform shadow-lg group ${
isAvailable
? "bg-[#b71c1c] text-white hover:bg-[#d32f2f] hover:scale-105 cursor-pointer"
: "bg-gray-700 text-gray-400 cursor-not-allowed opacity-60"
}`}
>
<Download
className={isAvailable ? "group-hover:animate-bounce" : ""}
size={20}
/>
<span>{isAvailable ? "Download Project" : "Not available"}</span>
</button>
{!isAvailable && (
<p className="text-sm text-gray-400 italic animate-pulse">
Not available yet, come back later
</p>
)}
</div>
);
};
export default DownloadButton;
+6 -6
View File
@@ -32,35 +32,35 @@ const DEFAULT_GLOW_COLOR = "183, 28, 28";
const cardData: CardDataItem[] = [
{
title: "Metz Campus",
image: "/images/Metz-Campus.webp",
image: "/images/projects/Metz-Campus.webp",
description: "Web platform for students.",
label: "WordPress Web site",
link: "https://metzcampus.fr",
},
{
title: "Coeur UA PAM",
image: "/images/Coeur-UA-PAM.webp",
image: "/images/projects/Coeur-UA-PAM.webp",
description: "Web site of the Coeur UA PAM association.",
label: "React Web site",
link: "https://coeur-ua-pam.fr/",
},
{
title: "About Co Hai Se",
image: "/images/Cohaise.webp",
image: "/images/cohaise/cohaise.webp",
description: "Crafting the Web of Your Ambitions.",
label: "Identity",
link: "/cohaise",
},
{
title: "Projects",
image: "/images/Projects.webp",
image: "/images/projects/Projects.webp",
description: "Discover who am i by my creations.",
label: "Identity",
link: "/projects",
},
{
title: "Затишок",
image: "/images/Zatyshok.webp",
image: "/images/projects/Zatyshok.webp",
description:
"Moodboard/Planner highly customisable application developed with love !",
label: "Desktop App",
@@ -68,7 +68,7 @@ const cardData: CardDataItem[] = [
},
{
title: "Shadow Purge",
image: "/images/SPRotD.webp",
image: "/images/projects/SPRotD.webp",
description: "Hack n'slash RPG.",
label: "Gamedev",
link: "/projects/shadow-purge-rite-of-the-demon",
+30 -8
View File
@@ -4,6 +4,7 @@ interface SEOProps {
title: string;
description?: string;
image?: string;
favicon?: string;
url?: string;
type?: string;
}
@@ -12,11 +13,11 @@ const SEO: React.FC<SEOProps> = ({
title,
description,
image = "/images/Esiah-s-Universe.webp",
url = window.location.href,
favicon = "/images/logo.webp",
url = typeof window !== "undefined" ? window.location.href : "",
type = "website",
}) => {
useEffect(() => {
// Mise à jour du titre
const baseTitle = "Esiah's Universe";
document.title = title ? `${title} | ${baseTitle}` : baseTitle;
@@ -27,28 +28,49 @@ const SEO: React.FC<SEOProps> = ({
let el = document.querySelector(selector);
if (el) {
el.setAttribute("content", content);
} else {
const newMeta = document.createElement("meta");
if (isProperty) newMeta.setAttribute("property", name);
else newMeta.setAttribute("name", name);
newMeta.setAttribute("content", content);
document.head.appendChild(newMeta);
}
};
// Mise à jour des meta descriptions (Standard, OG, Twitter)
const updateIcon = (href: string) => {
const rels = ["icon", "shortcut icon"];
rels.forEach((rel) => {
let link: HTMLLinkElement | null = document.querySelector(
`link[rel*="${rel}"]`,
);
if (!link) {
link = document.createElement("link");
link.rel = rel;
document.head.appendChild(link);
}
link.href = href;
// Optionnel : ajuste le type MIME selon l'extension
if (href.endsWith(".ico")) link.type = "image/x-icon";
else if (href.endsWith(".png")) link.type = "image/png";
});
};
updateIcon(favicon);
if (description) {
updateMeta("description", description);
updateMeta("og:description", description, true);
updateMeta("twitter:description", description);
}
// Mise à jour des titres (OG, Twitter)
updateMeta("og:title", document.title, true);
updateMeta("twitter:title", document.title);
// URL et Type
updateMeta("og:url", url, true);
updateMeta("og:type", type, true);
// Image
updateMeta("og:image", image, true);
// Canonical URL
let canonical = document.querySelector('link[rel="canonical"]');
if (!canonical) {
canonical = document.createElement("link");
@@ -56,7 +78,7 @@ const SEO: React.FC<SEOProps> = ({
document.head.appendChild(canonical);
}
canonical.setAttribute("href", url);
}, [title, description, image, url, type]);
}, [title, description, image, favicon, url, type]);
return null;
};
@@ -7,7 +7,6 @@ import TargetCursor from "../cursors/TargetCursor";
export default function BackgroundWrapper() {
const location = useLocation();
const isCohaise = location.pathname === "/cohaise";
const isHome = location.pathname === "/";
return (
<>
@@ -23,7 +22,7 @@ export default function BackgroundWrapper() {
<TargetCursor
spinDuration={4}
hideDefaultCursor={true}
parallaxOn={true}
parallaxOn={false}
hoverDuration={1}
/>
)}
@@ -53,9 +52,9 @@ export default function BackgroundWrapper() {
) : (
<div className="w-full h-full relative">
<Galaxy
mouseRepulsion={isHome}
mouseInteraction={isHome}
density={1.7}
mouseRepulsion={true}
mouseInteraction={true}
density={1.5}
glowIntensity={0.4}
saturation={0}
hueShift={360}
@@ -63,8 +62,8 @@ export default function BackgroundWrapper() {
rotationSpeed={0.1}
repulsionStrength={3.5}
autoCenterRepulsion={0}
starSpeed={1}
speed={1}
starSpeed={0.8}
speed={0.8}
/>
</div>
)}
+4 -4
View File
@@ -93,15 +93,15 @@ const LightPillar: React.FC<LightPillarProps> = ({
},
medium: {
iterations: 40,
waveIterations: 2,
waveIterations: 3,
pixelRatio: 0.65,
precision: "mediump",
precision: "highp",
stepMultiplier: 1.2,
},
high: {
iterations: 80,
iterations: 70,
waveIterations: 4,
pixelRatio: Math.min(window.devicePixelRatio, 2),
pixelRatio: Math.min(window.devicePixelRatio, 1.5),
precision: "highp",
stepMultiplier: 1.0,
},
+827
View File
@@ -0,0 +1,827 @@
export interface StoryLine {
speaker: string;
text: string;
characterImage?: string;
characterPosition?: "left" | "right" | "center";
characterFlip?: boolean;
}
export interface StoryChoice {
text: string;
nextId: string;
}
export interface StoryNode {
id: string;
background: string;
lines: StoryLine[];
choices?: StoryChoice[];
nextId?: string;
}
const basePath = "/images/les-voix-de-l-exil";
export const DataLVDLE: Record<string, StoryNode> = {
intro: {
id: "intro",
background: `${basePath}/viewSwainWatching.webp`,
lines: [
{
speaker: "Narrateur",
text: "A Noxus, au cœur de la cité où résonnent les cris des arènes et où le sang sèche sur la pierre, deux jeunes hommes rêvent de liberté. Azhari, ancien érudit devenu gladiateur, et Lysandor, héritier d’un nom lié à la guerre, aspirent à fuir l’ombre de Noxus pour un renouveau.",
characterPosition: "center",
},
{
speaker: "Narrateur",
text: "Depuis les sombres remparts du Bastion Immortel, ils s’élanceront à travers les Plaines de Drazhan, traverseront la mer vers Zaun, avant peut-être d’atteindre les hauteurs étincelantes de Piltover. À chaque étape, ils feront face à l’abandon, au courage et à la promesse incertaine d’un nouveau départ.",
characterPosition: "center",
},
],
nextId: "citation",
},
citation: {
id: "intro",
background: `${basePath}/viewImmortalBastionFromOutside.webp`,
lines: [
{
speaker: "Lysandor du Couteau",
text: "« Je suis prêt à naître de nouveau. »",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "center",
},
],
nextId: "chapter0",
},
chapter0: {
id: "chapter0",
background: `${basePath}/viewNoxusInterArene.webp`,
lines: [
{
speaker: "Azhari",
text: "Cette ville... ce tombeau... Ils nous forgent à coups de chaînes et d’illusions. Depuis que j'ai foulé les pierres de cette cité, je ne me souviens plus de ce que c'est que de sourire.",
characterImage: `${basePath}/AzhariShen.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Lysandor",
text: "Ici, on ne vit pas. On survit. Et si tu n'es pas assez fort... tu n'es plus rien.",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "right",
},
{
speaker: "Azhari",
text: "Nous sommes des ombres ici, des armes qu'ils dressent... Moi, fils d'érudit, ne servant qu'à améliorer leur technologie. Toi, héritier d'une lignée condamnée à ne connaître que la guerre...",
characterImage: `${basePath}/AzhariShen.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Lysandor",
text: "Et pourtant, un autre chemin existe, Azhari... Un lieu où l'esprit triomphe du glaive. Piltover.",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "right",
},
{
speaker: "Azhari",
text: "Alors fuyons. Laissons derrière nous cette prison de pierre. Devenons ce que nous choisissons d'être.",
characterImage: `${basePath}/AzhariShen.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Azhari",
text: "Es-tu prêt à renoncer à tout ? Même à ton nom ?",
characterImage: `${basePath}/AzhariShen.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Lysandor",
text: "Je suis prêt à naître de nouveau.",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "right",
},
],
nextId: "chapter1",
},
chapter1: {
id: "chapter1",
background: `${basePath}/viewImmortalBastionFromInside.webp`,
lines: [
{
speaker: "Azhari",
text: "Si on est vus en train de quitter la place haute du bastion on risque d’éveiller les soupçons non ?",
characterImage: `${basePath}/AzhariShen.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Lysandor",
text: "Effectivement mais avec ma réputation on devrait pouvoir se justifier à n’importe qui ! Enfin tant que nous n’avons pas à faire à Darius...",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "right",
},
{
speaker: "Darius",
text: "HALTE VOUS DEUX ! Lysandor, te voir dans la partie basse à cette heure est surprenant… J’ai presque l’impression de voir deux jeunes âmes qui fuient Noxus... Pathétique.",
characterImage: `${basePath}/Darius.webp`,
characterPosition: "center",
},
{
speaker: "Darius",
text: "Dites-moi, pourquoi ne devrais-je pas vous abattre sur-le-champ ?",
characterImage: `${basePath}/Darius.webp`,
characterPosition: "center",
},
{
speaker: "Azhari",
text: "Nous ne fuyons pas, nous partons en mission. Une tâche confiée par un supérieur, hors des frontières.",
characterImage: `${basePath}/AzhariShen.webp`,
characterPosition: "right",
},
{
speaker: "Darius",
text: "Une mission, hein ? Et qui est ce fameux supérieur ?",
characterImage: `${basePath}/Darius.webp`,
characterPosition: "center",
},
],
choices: [
{ text: "Rammus", nextId: "chapter1_rammus" },
{ text: "Marcus", nextId: "chapter1_marcus" },
{ text: "Ezreal", nextId: "chapter1_ezreal" },
],
},
chapter1_marcus: {
id: "chapter1_marcus",
background: `${basePath}/viewImmortalBastionFromInside.webp`,
lines: [
{
speaker: "Lysandor",
text: "C’est mon oncle. Il nous a envoyés pour intercepter un marchand itinérant aux abords de la ville. Il transporte une relique shurimienne… Elle ne doit pas tomber entre de mauvaises mains.",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "right",
},
{
speaker: "Darius",
text: "Marcus… ça change tout.",
characterImage: `${basePath}/Darius.webp`,
characterPosition: "center",
},
{
speaker: "Darius",
text: "Ne traînez pas. Et si j’apprends que vous mentez…",
characterImage: `${basePath}/Darius.webp`,
characterPosition: "center",
},
{
speaker: "Lysandor",
text: "Gloire à Noxus.",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "right",
},
],
nextId: "chapter2_success",
},
chapter1_ezreal: {
id: "chapter1_ezreal",
background: `${basePath}/viewImmortalBastionFromInside.webp`,
lines: [
{
speaker: "Darius",
text: "Tu crois me faire avaler ça ? Ezreal ? Ce gamin de Piltover ?",
characterImage: `${basePath}/Darius.webp`,
characterPosition: "center",
},
{
speaker: "Lysandor",
text: "(Murmure) On ne peut pas le combattre. Il faut fuir Azhari.",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "right",
},
],
nextId: "chapter2_fail",
},
chapter1_rammus: {
id: "chapter1_rammus",
background: `${basePath}/viewImmortalBastionFromInside.webp`,
lines: [
{
speaker: "Darius",
text: "Tu crois me faire avaler ça ? Ce Rammus est mort depuis un mois.",
characterImage: `${basePath}/Darius.webp`,
characterPosition: "center",
},
{
speaker: "Lysandor",
text: "(Murmure) On ne peut pas le combattre. Il faut fuir Azhari.",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "right",
},
],
nextId: "chapter2_fail",
},
chapter2_success: {
id: "chapter2_success",
background: `${basePath}/viewRandomNoxusGate.webp`,
lines: [
{
speaker: "Azhari",
text: "C’est donc ça, franchir l’Empire… Ce n’est pas une victoire. C’est un arrachement.",
characterImage: `${basePath}/AzhariShen.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Lysandor",
text: "On ne quitte jamais vraiment Noxus. On s’arrache à elle comme on s’arracherait un bout d’âme infectée.",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "right",
},
{
speaker: "Contrebandier",
text: "Vous avez fait vite. Ou alors, vous avez fui avec l’urgence de ceux qui n’ont plus rien à perdre.",
characterImage: `${basePath}/Contrebandier.webp`,
characterPosition: "right",
characterFlip: true,
},
{
speaker: "Lysandor",
text: "Qui es-tu ? Et comment sais-tu qui nous sommes ?",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Contrebandier",
text: "Je suis un passeur. Rien de plus. Je sais ce que je dois savoir. Et je suis là pour vous proposer une chose simple : un passage sûr, discret… à condition de m’écouter.",
characterImage: `${basePath}/Contrebandier.webp`,
characterPosition: "right",
characterFlip: true,
},
{
speaker: "Azhari",
text: "Et pourquoi t’aiderait-on à prix inconnu ?",
characterImage: `${basePath}/AzhariShen.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Contrebandier",
text: "Parce que si vous refusez, je repars. Et mon prochain arrêt s’appelle Quartiers Noirs. Là où un certain Grand Général aime qu’on lui rapporte ce que ses chiens n’ont pas su attraper.",
characterImage: `${basePath}/Contrebandier.webp`,
characterPosition: "right",
characterFlip: true,
},
{
speaker: "Lysandor",
text: "Swain...",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Contrebandier",
text: "Je vous propose un marché. Vous m’offrez un peu d’or, ou quelque chose de plus... symbolique. En échange, je vous accompagne au-delà des Montagnes de Varjus et j’oublie que vous êtes passés. Puis vous continuerez par bateau de Rokrund à Zaun, par vos propres moyens.",
characterImage: `${basePath}/Contrebandier.webp`,
characterPosition: "right",
characterFlip: true,
},
{
speaker: "Azhari",
text: "Et si on refuse ?",
characterImage: `${basePath}/AzhariShen.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Contrebandier",
text: "Alors le nom de Lysandor, deviendra une rumeur. Puis un ordre. Et ensuite… une cible.",
characterImage: `${basePath}/Contrebandier.webp`,
characterPosition: "right",
characterFlip: true,
},
{
speaker: "Lysandor",
text: "On doit choisir entre payer le prix ou la traque.",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "left",
characterFlip: true,
},
],
choices: [
{ text: "Payer le Contrebandier", nextId: "chapter3_pay" },
{ text: "Refuser et fuir seuls", nextId: "chapter3_refuse" },
],
},
chapter2_fail: {
id: "chapter2_fail",
background: `${basePath}/viewRandomNoxusGate.webp`,
lines: [
{
speaker: "Azhari",
text: "C’est donc ça, franchir l’Empire… Ce n’est pas une victoire. C’est un arrachement.",
characterImage: `${basePath}/AzhariShen.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Lysandor",
text: "On ne quitte jamais vraiment Noxus. On s’arrache à elle comme on s’arracherait un bout d’âme infectée.",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "right",
},
{
speaker: "Contrebandier",
text: "Vous avez fait vite. Ou alors, vous avez fui avec l’urgence de ceux qui n’ont plus rien à perdre.",
characterImage: `${basePath}/Contrebandier.webp`,
characterPosition: "right",
characterFlip: true,
},
{
speaker: "Lysandor",
text: "Qui es-tu ? Et comment sais-tu qui nous sommes ?",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Contrebandier",
text: "Je suis un passeur. Rien de plus. Je sais ce que je dois savoir. Et je suis là pour vous proposer une chose simple : un passage sûr, discret… à condition de m’écouter.",
characterImage: `${basePath}/Contrebandier.webp`,
characterPosition: "right",
characterFlip: true,
},
{
speaker: "Azhari",
text: "Et pourquoi t’aiderait-on à prix inconnu ?",
characterImage: `${basePath}/AzhariShen.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Contrebandier",
text: "Parce que si vous refusez, je repars. Et mon prochain arrêt s’appelle Quartiers Noirs. Là où un certain Grand Général aime qu’on lui rapporte ce que ses chiens n’ont pas su attraper.",
characterImage: `${basePath}/Contrebandier.webp`,
characterPosition: "right",
characterFlip: true,
},
{
speaker: "Lysandor",
text: "Swain...",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Contrebandier",
text: "Je vous propose un marché. Vous m’offrez un peu d’or, ou quelque chose de plus... symbolique. En échange, je vous accompagne au-delà des Montagnes de Varjus et j’oublie que vous êtes passés. Puis vous continuerez par bateau de Rokrund à Zaun, par vos propres moyens.",
characterImage: `${basePath}/Contrebandier.webp`,
characterPosition: "right",
characterFlip: true,
},
{
speaker: "Azhari",
text: "Et si on refuse ?",
characterImage: `${basePath}/AzhariShen.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Contrebandier",
text: "Alors le nom de Lysandor, deviendra une rumeur. Puis un ordre. Et ensuite… une cible.",
characterImage: `${basePath}/Contrebandier.webp`,
characterPosition: "right",
characterFlip: true,
},
{
speaker: "Lysandor",
text: "On doit choisir entre payer le prix ou la traque.",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "left",
characterFlip: true,
},
],
choices: [
{ text: "Payer le Contrebandier", nextId: "chapter3_refuse" },
{ text: "Refuser et fuir seuls", nextId: "chapter3_refuse" },
],
},
// --- CHAPITRE 3 : S'ILS ONT PAYÉ (AZHARI SURVIT) ---
chapter3_pay: {
id: "chapter3_pay",
background: `${basePath}/viewZaunDownSide.webp`,
lines: [
{
speaker: "Narrateur",
text: "Grâce à l'aide du contrebandier, vous avez traversé la mer sains et saufs. Vous arrivez enfin dans les bas-fonds toxiques de Zaun. Là, une jeune fille nommée Nika vous aborde.",
characterPosition: "center",
},
{
speaker: "Nika",
text: "Je connais les chemins qui mènent à la ville haute. Je peux vous faire entrer à Piltover... si vous acceptez mon marché.",
characterImage: `${basePath}/Nika.webp`,
characterPosition: "right",
},
],
choices: [
{
text: "Accepter l'aide de Nika",
nextId: "chapter3_pay_accept",
},
{
text: "Refuser et se débrouiller seuls",
nextId: "chapter3_pay_refuse",
},
],
},
chapter3_pay_accept: {
id: "chapter3_pay_accept",
background: `${basePath}/viewZaunDownSide.webp`,
lines: [
{
speaker: "Nika",
text: "Vraiment, vous avez accepté mon marché ?! Vous allez en suer !",
characterImage: `${basePath}/Nika.webp`,
characterPosition: "right",
},
{
speaker: "Lysandor",
text: "Tant qu'on rejoint bientôt Piltover ça nous va !",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "right",
},
{
speaker: "Azhari",
text: "J'ai hâte d'atteindre cette nouvelle vie !",
characterImage: `${basePath}/AzhariShen.webp`,
characterPosition: "left",
characterFlip: true,
},
],
nextId: "chapter4_fin2",
},
chapter3_pay_refuse: {
id: "chapter3_pay_refuse",
background: `${basePath}/viewZaunDownSide.webp`,
lines: [
{
speaker: "Azhari",
text: "Je ne sais pas si on peut lui faire confiance...",
characterImage: `${basePath}/AzhariShen.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Lysandor",
text: "On peut essayer de se débrouiller par nous-mêmes, tu as raison !",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "right",
},
{
speaker: "Nika",
text: "Vraiment vous refusez mon aide ?! Vous faites une grave erreur.",
characterImage: `${basePath}/Nika.webp`,
characterPosition: "left",
characterFlip: true,
},
],
nextId: "chapter4_fin1",
},
// --- CHAPITRE 3 : S'ILS ONT REFUSÉ (AZHARI EST MORT) ---
chapter3_refuse: {
id: "chapter3_refuse",
background: `${basePath}/viewZaunDownSideFocused.webp`,
lines: [
{
speaker: "Narrateur",
text: "Ayant refusé de payer le contrebandier, vous avez été impitoyablement traqués par les limiers de Swain. Dans le chaos de votre fuite désespérée vers Zaun, Azhari a perdu la vie...",
characterPosition: "center",
},
{
speaker: "Lysandor",
text: "Piltover... si proche, et pourtant, je suis toujours là. Six mois à Zaun, et je ne sais plus si je grimpe ou si je coule.",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Teeva",
text: "Zaun change ceux qui y survivent. Elle teste, elle brise, mais parfois… elle révèle.",
characterImage: `${basePath}/Teeva.webp`,
characterPosition: "right",
},
{
speaker: "Lysandor",
text: "L’écho d’Azhari me suit. Comme un murmure entre les conduits. Il aurait su quoi faire...",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Teeva",
text: "Il t’a laissé ses rêves, mais la route est désormais la tienne. Ne reste pas figé dans ses pas.",
characterImage: `${basePath}/Teeva.webp`,
characterPosition: "right",
},
{
speaker: "Lysandor",
text: "Piltover nous fascinait. La cité des idées. Mais aujourd’hui, c’est Zaun qui me confronte à la réalité.",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Teeva",
text: "Là-haut, la lumière est forte. Ici, l’ombre t’enseigne. Où veux-tu ouvrir les yeux ?",
characterImage: `${basePath}/Teeva.webp`,
characterPosition: "right",
},
{
speaker: "Lysandor",
text: "Les yeux de Nika ont croisé les miens l’autre jour. Un regard, et toutes mes certitudes vacillent. Quelque chose d’indicible…",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Teeva",
text: "Ce genre de rencontres ne sont jamais anodines. Peut-être Zaun t’envoie un message ?",
characterImage: `${basePath}/Teeva.webp`,
characterPosition: "right",
},
{
speaker: "Lysandor",
text: "J’y ai vu une faille dans ma douleur. Une promesse. Ou une fuite ? Je n’en sais rien.",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Teeva",
text: "Piltover offre un avenir construit. Zaun, un avenir à construire. Le confort ou le combat.",
characterImage: `${basePath}/Teeva.webp`,
characterPosition: "right",
},
{
speaker: "Lysandor",
text: "Ce choix me ronge. Rester avec ce qui commence ici… ou monter là-haut, avec ses fantômes.",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Teeva",
text: "N’oublie pas : ce n’est pas la ville qui donne du sens, mais ceux qui y marchent avec toi.",
characterImage: `${basePath}/Teeva.webp`,
characterPosition: "right",
},
{
speaker: "Nika",
text: "Si tu choisis l’ombre, je marcherai à tes côtés. Mais si ton cœur monte vers Piltover… je le comprendrai.",
characterImage: `${basePath}/Nika.webp`,
characterPosition: "right",
characterFlip: true,
},
{
speaker: "Lysandor",
text: "Nika… j’ignorais que tu étais encore là.",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Nika",
text: "J’ai toujours été là. Parfois, il faut juste bien ouvrir les yeux, même dans les sombres profondeurs.",
characterImage: `${basePath}/Nika.webp`,
characterPosition: "right",
},
],
choices: [
{
text: "Rester à Zaun avec Nika",
nextId: "chapter4_fin3",
},
{
text: "Partir à Piltover sans Azhari",
nextId: "chapter4_fin4",
},
],
},
// FIN 1 : Azhari Alive, mais refus de l'aide de Nika -> Lysandor meurt
chapter4_fin1: {
id: "chapter4_fin1",
background: `${basePath}/viewPiltoverDownSide.webp`,
lines: [
{
speaker: "Nika",
text: "Voilà où vos choix vous ont mené. Piltover t’attend… seul.",
characterImage: `${basePath}/Nika.webp`,
characterPosition: "left",
},
{
speaker: "Azhari",
text: "Lysandor, je suis là. Mais sans toi, la lumière de cette cité me paraît bien terne.",
characterImage: `${basePath}/AzhariShen.webp`,
characterPosition: "right",
},
],
nextId: "epilogue1",
},
epilogue1: {
id: "epilogue1",
background: `${basePath}/viewPiltoverFocused.webp`,
lines: [
{
speaker: "Narrateur",
text: "Le vent de Piltover souffle sur un homme seul. Azhari, porteur de mémoires et de blessures, a perdu plus qu’un compagnon : un idéal. Dans la cité dorée, il s’efforce de faire vivre la voix d’un exilé tombé trop tôt.",
characterPosition: "center",
},
{
speaker: "Azhari",
text: "« Même seul, je continuerai à écrire ce que nous avons commencé. »",
characterImage: `${basePath}/AzhariShen.webp`,
characterPosition: "center",
},
],
nextId: "credits",
},
// FIN 2 : Azhari Alive + Accepté l'aide de Nika -> Les 3 survivent
chapter4_fin2: {
id: "chapter4_fin2",
background: `${basePath}/viewPiltoverDownSide.webp`,
lines: [
{
speaker: "Lysandor",
text: "Trois mois de survie à Zaun... mais enfin, voici Piltover.",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "right",
},
{
speaker: "Nika",
text: "Cette cité est peut-être votre chance. Ou votre nouveau défi. À bientôt peut-être.",
characterImage: `${basePath}/Nika.webp`,
characterPosition: "left",
},
{
speaker: "Azhari",
text: "Ensemble, on saura y tracer notre chemin.",
characterImage: `${basePath}/AzhariShen.webp`,
characterPosition: "right",
},
],
nextId: "epilogue2",
},
epilogue2: {
id: "epilogue2",
background: `${basePath}/viewPiltoverInnovationPark.webp`,
lines: [
{
speaker: "Narrateur",
text: "Après trois mois de ténèbres à Zaun, Azhari et Lysandor posent enfin le pied à Piltover. Ensemble. Leurs cicatrices ne les quittent pas, mais un lien les unit désormais : celui de ceux qui ont choisi de croire, encore.",
characterPosition: "center",
},
{
speaker: "Lysandor",
text: "« Nous n’avons pas tourné le dos à Noxus. Nous avons choisi un chemin que l’ambition seule ne pouvait offrir : un avenir. »",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "center",
},
],
nextId: "credits",
},
// FIN 3 : Azhari Mort + Accepté l'offre de Nika -> Rester à Zaun
chapter4_fin3: {
id: "chapter4_fin3",
background: `${basePath}/viewPiltoverDownSide.webp`,
lines: [
{
speaker: "Lysandor",
text: "Piltover est belle… mais je préfère bâtir ma vie ici, dans l’ombre de Zaun.",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Nika",
text: "Tu trouveras plus qu’un abri ici. Tu trouveras une famille.",
characterImage: `${basePath}/Nika.webp`,
characterPosition: "right",
},
],
nextId: "epilogue3",
},
epilogue3: {
id: "epilogue3",
background: `${basePath}/viewZaunUpSide.webp`,
lines: [
{
speaker: "Narrateur",
text: "La poussière de Zaun recouvre les souvenirs. Nika et Lysandor y construisent un foyer discret, loin des promesses de grandeur. Dans l’ombre, ils réparent ce qui peut encore l’être.",
characterPosition: "center",
},
{
speaker: "Nika",
text: "« Certains cherchent la lumière. D’autres deviennent la flamme dans la nuit. »",
characterImage: `${basePath}/Nika.webp`,
characterPosition: "center",
},
],
nextId: "credits",
},
// FIN 4 : Azhari Mort + Refusé Nika -> Lysandor va seul à Piltover
chapter4_fin4: {
id: "chapter4_fin4",
background: `${basePath}/viewPiltoverDownSide.webp`,
lines: [
{
speaker: "Lysandor",
text: "Piltover… peut-être qu'ici, je trouverai le sens à tout ça.",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "left",
characterFlip: true,
},
{
speaker: "Teeva",
text: "Garde ton cap, mais reste méfiant. Ici, même la lumière peut aveugler.",
characterImage: `${basePath}/Teeva.webp`,
characterPosition: "right",
},
{
speaker: "Nika",
text: "J’aurais voulu que tu restes. Mais je comprends… adieu, Lysandor.",
characterImage: `${basePath}/Nika.webp`,
characterPosition: "right",
},
],
nextId: "credits",
},
epilogue4: {
id: "epilogue4",
background: `${basePath}/viewPiltoverMainStreet.webp`,
lines: [
{
speaker: "Narrateur",
text: "Piltover s’élève, fière et lumineuse. Lysandor y marche seul, le cœur lesté d’adieux. Ni Noxus, ni Zaun… mais peut-être une troisième voie. Une ville où ses erreurs ne seront pas oubliées, mais dépassées.",
characterPosition: "center",
},
{
speaker: "Lysandor",
text: "« Ce n’est pas la cité qui me changera. C’est ce que j’y ferai. »",
characterImage: `${basePath}/LysandorDuCouteau.webp`,
characterPosition: "center",
},
],
nextId: "credits",
},
// ==========================================
// CRÉDITS (ÉPILOGUE)
// ==========================================
credits: {
id: "credits",
background: `${basePath}/viewNoxusGateInShurima.webp`,
lines: [
{
speaker: "Crédits",
text: "Toutes les images, personnages, et éléments visuels utilisés dans cette histoire sont la propriété de Riot Games, de la franchise League of Legends et du studio Fortiche.",
characterPosition: "center",
},
{
speaker: "Crédits",
text: "Ce projet est une œuvre de fan, non officielle, réalisée dans le cadre d’un projet de fin de première année, sans but commercial. Nous remercions Riot Games pour leur univers riche et inspirant.",
characterPosition: "center",
},
{
speaker: "Crédits",
text: "Les différents sprites de personnages ont été réalisés par I.A. et inspirées par les designs originaux du studio Fortiche.",
characterPosition: "center",
},
{
speaker: "Crédits",
text: "Merci d'avoir joué. Choisissez bien… Chaque décision construit votre légende.",
characterPosition: "center",
},
],
},
};
+86
View File
@@ -0,0 +1,86 @@
export interface MenuItem {
image: string;
link: string;
title: string;
description: string;
}
export const projectMenuItems: MenuItem[] = [
{
image: "/images/projects/Projects.webp",
link: "/projects",
title: "All my Projects",
description: "To discover all my creations",
},
{
image: "/images/projects/NTR.webp",
link: "/projects/neo-tokyo-rush",
title: "Neo Tokyo Rush",
description: "Cyberpunk-inspired beat 'em All game",
},
{
image: "/images/projects/PortfolioE1.webp",
link: "https://portfolio-xesiahs-projects.vercel.app/",
title: "Portfolio 2024",
description: "Portfolio that gathers all my first year's projects",
},
{
image: "/images/projects/Metz-Campus.webp",
link: "_blank https://metzcampus.fr/",
title: "Metz Campus",
description:
"Website crafted for the Metz Campus organization during my first-year internship.",
},
{
image: "/images/projects/Zatyshok.webp",
link: "/projects/zatyshok",
title: "Затишок",
description: "Moodboard application",
},
{
image: "/images/projects/SPRotD.webp",
link: "/projects/shadow-purge-rite-of-the-demon",
title: "Shadow Purge - Rite of the Demon",
description: "Hack n'slash RPG",
},
{
image: "/images/projects/EotLS.webp",
link: "/projects/echoes-of-the-last-stop",
title: "Echoes of the Last Stop",
description: "Thriller game project in collaboration with my partner",
},
{
image: "/images/projects/LesVoixDeLExil.webp",
link: "/projects/les-voix-de-l-exil",
title: "Les Voix de L'Exil",
description:
"An interactive visual novel where your choices shape the journey.",
},
{
image: "/images/projects/WYG-TIWIF.webp",
link: "/projects/wyg-tiwif",
title: "WYG-TIWIF",
description: "Your social travel hub",
},
];
export const mainMenuItems: MenuItem[] = [
{
image: "/images/projects/Projects.webp",
link: "/projects",
title: "All my Projects",
description: "To discover all my creations",
},
{
image: "/images/contact/contact.webp",
link: "/contact",
title: "Contact",
description: "Any requests? Feel free to reach out!",
},
{
image: "/images/cohaise/cohaise.webp",
link: "/cohaise",
title: "Co Hai Se",
description: "About us",
},
];
+22
View File
@@ -0,0 +1,22 @@
export interface ProjectDownloadData {
id: string;
downloadUrl: string;
}
export const ProjectDownloads: Record<string, ProjectDownloadData> = {
NTR: {
id: "NTR",
downloadUrl: "/downloads/Neo-Tokyo-Rush.zip",
},
SPRotD: { id: "SPRotD", downloadUrl: "" },
ZATYSHOK: {
id: "ZATYSHOK",
downloadUrl: "https://github.com/xEsiah/zatyshok-frontend/releases/tag",
},
EotLS: { id: "EotLS", downloadUrl: "" },
WYGTIWIF: {
id: "WYGTIWIF",
downloadUrl:
"https://codeload.github.com/xEsiah/WYG-TIWIF/zip/refs/heads/main",
},
};
+17 -9
View File
@@ -4,14 +4,14 @@ import HorizontalMotion from "../HorizontalMotion";
const gameDevItems = [
{
id: "1",
img: "images/SPRotD.webp",
img: "images/projects/SPRotD.webp",
link: "/projects/shadow-purge-rite-of-the-demon",
title: "Shadow Purge : Rite of the Demon",
description: "Hack n'slash RPG made with Unity & Aseprite.",
},
{
id: "2",
img: "images/EotLS.webp",
img: "images/projects/EotLS.webp",
link: "/projects/echoes-of-the-last-stop",
title: "Echoes of the Last Stop",
description:
@@ -19,32 +19,40 @@ const gameDevItems = [
},
{
id: "3",
img: "images/NTR-Menu.webp",
img: "images/projects/NTR-Menu.webp",
link: "/projects/neo-tokyo-rush",
title: "Neo Tokyo Rush",
description:
"Cyberpunk-inspired beat 'em All game made with Unity & Aseprite.",
},
{
id: "4",
img: "images/projects/LesVoixDeLExil.webp",
link: "/projects/les-voix-de-l-exil",
title: "Les Voix de L'Exil",
description:
"An interactive visual novel where your choices shape the journey.",
},
];
const reactWebItems = [
{
id: "101",
img: "images/Cohaise.webp",
img: "images/cohaise/cohaise.webp",
link: "/cohaise",
title: "Co Hai Se",
description: "Landing single page for my (fictionnal) compagny.",
},
{
id: "102",
img: "images/Esiah-s-Universe.webp",
img: "images/projects/Esiah-s-Universe.webp",
link: "/",
title: "Esiah's Universe",
description: "A journey through code, design, and imagination.",
},
{
id: "103",
img: "images/Coeur-UA-PAM.webp",
img: "images/projects/Coeur-UA-PAM.webp",
link: "https://coeur-ua-pam.fr/",
title: "Coeur UA PAM",
description: "Web site for Coeur UA PAM association.",
@@ -54,7 +62,7 @@ const reactWebItems = [
const wordpressItems = [
{
id: "201",
img: "images/Metz-Campus.webp",
img: "images/projects/Metz-Campus.webp",
link: "https://metzcampus.fr/",
title: "Metz Campus",
description:
@@ -65,7 +73,7 @@ const wordpressItems = [
const desktopAppItems = [
{
id: "301",
img: "images/Zatyshok.webp",
img: "images/projects/Zatyshok.webp",
link: "/projects/zatyshok",
title: "Затишок",
description:
@@ -76,7 +84,7 @@ const desktopAppItems = [
const angulartWebItems = [
{
id: "401",
img: "images/WYG-TIWIF.webp",
img: "images/projects/WYG-TIWIF.webp",
link: "/projects/wyg-tiwif",
title: "WYG-TIWIF",
description: