Enhance SEO and loading experience across the application
- Updated meta tags and descriptions for improved SEO in multiple pages. - Added a LoadingScreen component with progress indication. - Implemented lazy loading for components to optimize performance. - Introduced SEO component for consistent meta management. - Added sitemap and robots.txt for better search engine indexing.
This commit is contained in:
+47
-2
@@ -4,10 +4,55 @@
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/png" href="/images/logo.webp" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Esiah's Universe</title>
|
||||
<title>Esiah's Universe | Where Code meets Creativity</title>
|
||||
<meta
|
||||
name="description"
|
||||
content="Explore Esiah's Universe: a portfolio featuring game development projects (Unity), web applications (React/Angular), and UI/UX design."
|
||||
/>
|
||||
<meta
|
||||
name="keywords"
|
||||
content="Developer, Game Design, Unity, React, Portfolio, Esiah, Co Hai Se, Web Development, Gamedev, UI/UX"
|
||||
/>
|
||||
<meta name="author" content="Esiah" />
|
||||
|
||||
<!-- Open Graph / Facebook / LinkedIn -->
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://esiah.dev/" />
|
||||
<meta
|
||||
property="og:title"
|
||||
content="Esiah's Universe | Creative Developer Portfolio"
|
||||
/>
|
||||
<meta
|
||||
property="og:description"
|
||||
content="A journey through code, design, and imagination. Explore my interactive creations."
|
||||
/>
|
||||
<meta property="og:image" content="/images/Esiah-s-Universe.webp" />
|
||||
|
||||
<!-- Twitter -->
|
||||
<meta property="twitter:card" content="summary_large_image" />
|
||||
<meta property="twitter:title" content="Esiah's Universe" />
|
||||
<meta
|
||||
property="twitter:description"
|
||||
content="Portfolio of innovative projects in Gamedev and Web development."
|
||||
/>
|
||||
|
||||
<!-- Structured Data (JSON-LD) -->
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Person",
|
||||
"name": "Esiah",
|
||||
"url": "https://esiah.dev",
|
||||
"jobTitle": "Creative Developer & Game Designer",
|
||||
"sameAs": [
|
||||
"https://github.com/xEsiah",
|
||||
"https://www.linkedin.com/in/xesiah/"
|
||||
]
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script type="module" src="/src/main.jsx"></script>
|
||||
<script type="module" src="/src/main.tsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 27 KiB |
@@ -0,0 +1,4 @@
|
||||
User-agent: *
|
||||
Allow: /
|
||||
|
||||
Sitemap: https://esiah.dev/sitemap.xml
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url><loc>https://esiah.dev/</loc><priority>1.0</priority></url>
|
||||
<url><loc>https://esiah.dev/projects</loc><priority>0.8</priority></url>
|
||||
<url><loc>https://esiah.dev/contact</loc><priority>0.5</priority></url>
|
||||
<url><loc>https://esiah.dev/cohaise</loc><priority>0.7</priority></url>
|
||||
<url><loc>https://esiah.dev/projects/neo-tokyo-rush</loc><priority>0.6</priority></url>
|
||||
<url><loc>https://esiah.dev/projects/echoes-of-the-last-stop</loc><priority>0.6</priority></url>
|
||||
<url><loc>https://esiah.dev/projects/shadow-purge-rite-of-the-demon</loc><priority>0.6</priority></url>
|
||||
<url><loc>https://esiah.dev/projects/zatyshok</loc><priority>0.6</priority></url>
|
||||
<url><loc>https://esiah.dev/projects/wyg-tiwif</loc><priority>0.6</priority></url>
|
||||
</urlset>
|
||||
+56
-36
@@ -1,54 +1,74 @@
|
||||
import React, { Suspense, lazy } from "react";
|
||||
import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
|
||||
import { Suspense, lazy, useState, useEffect } from "react";
|
||||
import {
|
||||
BrowserRouter as Router,
|
||||
Routes,
|
||||
Route,
|
||||
useLocation,
|
||||
} from "react-router-dom";
|
||||
|
||||
import BackgroundWrapper from "./components/backgrounds/BackgroundWrapper";
|
||||
import CardNav from "./components/CardNav";
|
||||
|
||||
import Home from "./pages/Home";
|
||||
import Contact from "./pages/Contact";
|
||||
import Projects from "./pages/Projects";
|
||||
const Home = lazy(() => import("./pages/Home"));
|
||||
const Contact = lazy(() => import("./pages/Contact"));
|
||||
const Projects = lazy(() => import("./pages/Projects"));
|
||||
import LoadingScreen from "./components/LoadingScreen";
|
||||
|
||||
const Cohaise = lazy(() => import("./pages/Cohaise"));
|
||||
import Zatyshok from "./pages/projects/Zatyshok";
|
||||
import NeoTokyoRush from "./pages/projects/NeoTokyoRush";
|
||||
import EchoesOfTheLastStop from "./pages/projects/EchoesOfTheLastStop";
|
||||
import ShadowPurgeRiteOfTheDemon from "./pages/projects/ShadowPurgeRiteOfTheDemon";
|
||||
const Zatyshok = lazy(() => import("./pages/projects/Zatyshok"));
|
||||
const NeoTokyoRush = lazy(() => import("./pages/projects/NeoTokyoRush"));
|
||||
const EchoesOfTheLastStop = lazy(
|
||||
() => import("./pages/projects/EchoesOfTheLastStop"),
|
||||
);
|
||||
const ShadowPurgeRiteOfTheDemon = lazy(
|
||||
() => import("./pages/projects/ShadowPurgeRiteOfTheDemon"),
|
||||
);
|
||||
import ScrollToTop from "./components/ScrollToTop";
|
||||
import WYGTIWIF from "./pages/projects/WYG-TIWIF";
|
||||
const WYGTIWIF = lazy(() => import("./pages/projects/WYG-TIWIF"));
|
||||
|
||||
function AppContent() {
|
||||
const location = useLocation();
|
||||
const [isPageLoading, setIsPageLoading] = useState(false);
|
||||
|
||||
useEffect(() => {
|
||||
// Déclenche l'écran de chargement au changement de route
|
||||
setIsPageLoading(true);
|
||||
|
||||
// On laisse l'écran au moins 600ms pour que l'animation warp soit visible
|
||||
const timer = setTimeout(() => {
|
||||
setIsPageLoading(false);
|
||||
}, 600);
|
||||
|
||||
return () => clearTimeout(timer);
|
||||
}, [location.pathname]);
|
||||
|
||||
return (
|
||||
<>
|
||||
{isPageLoading && <LoadingScreen />}
|
||||
<ScrollToTop />
|
||||
<BackgroundWrapper />
|
||||
<CardNav />
|
||||
|
||||
<main>
|
||||
<Routes>
|
||||
<Route path="/" element={<Home />} />
|
||||
<Route path="/contact" element={<Contact />} />
|
||||
<Route
|
||||
path="/cohaise"
|
||||
element={
|
||||
<Suspense
|
||||
fallback={<div className="loading">Loading Universe...</div>}
|
||||
>
|
||||
<Cohaise />
|
||||
</Suspense>
|
||||
}
|
||||
/>
|
||||
<Route path="/projects" element={<Projects />} />
|
||||
<Route path="/projects/neo-tokyo-rush" element={<NeoTokyoRush />} />
|
||||
<Route
|
||||
path="/projects/echoes-of-the-last-stop"
|
||||
element={<EchoesOfTheLastStop />}
|
||||
/>
|
||||
<Route
|
||||
path="/projects/shadow-purge-rite-of-the-demon"
|
||||
element={<ShadowPurgeRiteOfTheDemon />}
|
||||
/>
|
||||
<Route path="/projects/zatyshok" element={<Zatyshok />} />
|
||||
<Route path="/projects/wyg-tiwif" element={<WYGTIWIF />} />
|
||||
</Routes>
|
||||
<Suspense fallback={<LoadingScreen />}>
|
||||
<Routes>
|
||||
<Route path="/" element={<Home />} />
|
||||
<Route path="/contact" element={<Contact />} />
|
||||
<Route path="/cohaise" element={<Cohaise />} />
|
||||
<Route path="/projects" element={<Projects />} />
|
||||
<Route path="/projects/neo-tokyo-rush" element={<NeoTokyoRush />} />
|
||||
<Route
|
||||
path="/projects/echoes-of-the-last-stop"
|
||||
element={<EchoesOfTheLastStop />}
|
||||
/>
|
||||
<Route
|
||||
path="/projects/shadow-purge-rite-of-the-demon"
|
||||
element={<ShadowPurgeRiteOfTheDemon />}
|
||||
/>
|
||||
<Route path="/projects/zatyshok" element={<Zatyshok />} />
|
||||
<Route path="/projects/wyg-tiwif" element={<WYGTIWIF />} />
|
||||
</Routes>
|
||||
</Suspense>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
|
||||
+25
-11
@@ -1,10 +1,19 @@
|
||||
import { useLayoutEffect, useRef, useState, useCallback, useMemo } from "react";
|
||||
import {
|
||||
useLayoutEffect,
|
||||
useRef,
|
||||
useState,
|
||||
useCallback,
|
||||
useMemo,
|
||||
lazy,
|
||||
Suspense,
|
||||
} from "react";
|
||||
import { Link, useNavigate, useLocation } from "react-router-dom";
|
||||
import { gsap } from "gsap";
|
||||
import InfiniteMenu from "./InfiniteMenu";
|
||||
import Lanyard from "./Lanyard";
|
||||
import "./CardNav.css";
|
||||
|
||||
const InfiniteMenu = lazy(() => import("./InfiniteMenu"));
|
||||
const Lanyard = lazy(() => import("./Lanyard"));
|
||||
|
||||
const CardNav = ({
|
||||
logo = "/images/logo.webp",
|
||||
logoAlt = "Esiah Logo",
|
||||
@@ -90,7 +99,8 @@ const CardNav = ({
|
||||
image: "/images/Zatyshok.webp",
|
||||
link: "/projects/zatyshok",
|
||||
title: "Затишок",
|
||||
description: "Moodboard application",
|
||||
description:
|
||||
"Moodboard/Planner highly customisable application developed with love !",
|
||||
},
|
||||
{
|
||||
image: "/images/SPRotD.webp",
|
||||
@@ -197,16 +207,20 @@ const CardNav = ({
|
||||
pointerEvents: isExpanded ? "auto" : "none",
|
||||
}}
|
||||
>
|
||||
<InfiniteMenu
|
||||
items={menuItems}
|
||||
scale={0.8}
|
||||
onClose={closeMenuIfOpen}
|
||||
onItemClick={handleCardClick}
|
||||
/>
|
||||
<Suspense fallback={null}>
|
||||
<InfiniteMenu
|
||||
items={menuItems}
|
||||
scale={0.8}
|
||||
onClose={closeMenuIfOpen}
|
||||
onItemClick={handleCardClick}
|
||||
/>
|
||||
</Suspense>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<Lanyard show={showLanyard} />
|
||||
<Suspense fallback={null}>
|
||||
<Lanyard show={showLanyard} />
|
||||
</Suspense>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -0,0 +1,97 @@
|
||||
.loading-screen {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 999999;
|
||||
background-color: #050000;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-family: "Orbitron", sans-serif;
|
||||
color: var(--clr-text);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.loading-content {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
width: 80vw;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.loader-title {
|
||||
font-size: 2rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 4px;
|
||||
margin-bottom: 24px;
|
||||
color: var(--clr-accent);
|
||||
text-shadow: 0 0 15px rgba(183, 28, 28, 0.6);
|
||||
animation: pulse-loader 1.5s infinite ease-in-out;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.progress-container {
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border-radius: 10px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.progress-bar {
|
||||
height: 100%;
|
||||
background: var(--clr-accent);
|
||||
box-shadow: 0 0 10px var(--clr-accent);
|
||||
transition: width 0.2s ease-out;
|
||||
}
|
||||
|
||||
/* Background effect */
|
||||
.space-background {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background: radial-gradient(circle at center, #1a0505 0%, #050000 100%);
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.stars-mini {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background-image:
|
||||
radial-gradient(1px 1px at 20px 30px, #eee, rgba(0, 0, 0, 0)),
|
||||
radial-gradient(1px 1px at 40px 70px, #fff, rgba(0, 0, 0, 0)),
|
||||
radial-gradient(1px 1px at 50px 160px, #ddd, rgba(0, 0, 0, 0)),
|
||||
radial-gradient(1px 1px at 80px 120px, #fff, rgba(0, 0, 0, 0)),
|
||||
radial-gradient(1px 1px at 110px 210px, #fff, rgba(0, 0, 0, 0)),
|
||||
radial-gradient(1px 1px at 150px 250px, #ddd, rgba(0, 0, 0, 0));
|
||||
background-repeat: repeat;
|
||||
background-size: 200px 250px;
|
||||
opacity: 0.3;
|
||||
animation: drift 20s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes pulse-loader {
|
||||
0%,
|
||||
100% {
|
||||
opacity: 0.5;
|
||||
transform: scale(0.98);
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes drift {
|
||||
from {
|
||||
transform: translateY(0);
|
||||
}
|
||||
to {
|
||||
transform: translateY(500px);
|
||||
}
|
||||
}
|
||||
|
||||
.loading-screen.fade-out {
|
||||
opacity: 0;
|
||||
transition: opacity 0.5s ease-out;
|
||||
pointer-events: none;
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
import React, { useEffect, useState } from "react";
|
||||
import "./LoadingScreen.css";
|
||||
|
||||
const LoadingScreen: React.FC = () => {
|
||||
const [progress, setProgress] = useState(0);
|
||||
|
||||
useEffect(() => {
|
||||
const interval = window.setInterval(() => {
|
||||
setProgress((prev) => {
|
||||
const next = prev + 25 + Math.random() * 10;
|
||||
if (next >= 100) {
|
||||
window.clearInterval(interval);
|
||||
return 100;
|
||||
}
|
||||
return next;
|
||||
});
|
||||
}, 40);
|
||||
|
||||
return () => window.clearInterval(interval);
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div className="loading-screen">
|
||||
<div className="space-background">
|
||||
<div className="stars-mini"></div>
|
||||
</div>
|
||||
<div className="loading-content">
|
||||
<div className="loader-title">Travelling to next galaxy</div>
|
||||
<div className="progress-container">
|
||||
<div className="progress-bar" style={{ width: `${progress}%` }}></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default LoadingScreen;
|
||||
@@ -61,7 +61,8 @@ const cardData: CardDataItem[] = [
|
||||
{
|
||||
title: "Затишок",
|
||||
image: "/images/Zatyshok.webp",
|
||||
description: "Moodboard developed with love !",
|
||||
description:
|
||||
"Moodboard/Planner highly customisable application developed with love !",
|
||||
label: "Desktop App",
|
||||
link: "/projects/zatyshok",
|
||||
},
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
import React, { useEffect } from "react";
|
||||
|
||||
interface SEOProps {
|
||||
title: string;
|
||||
description?: string;
|
||||
image?: string;
|
||||
url?: string;
|
||||
type?: string;
|
||||
}
|
||||
|
||||
const SEO: React.FC<SEOProps> = ({
|
||||
title,
|
||||
description,
|
||||
image = "/images/Esiah-s-Universe.webp",
|
||||
url = window.location.href,
|
||||
type = "website",
|
||||
}) => {
|
||||
useEffect(() => {
|
||||
// Mise à jour du titre
|
||||
const baseTitle = "Esiah's Universe";
|
||||
document.title = title ? `${title} | ${baseTitle}` : baseTitle;
|
||||
|
||||
const updateMeta = (name: string, content: string, isProperty = false) => {
|
||||
const selector = isProperty
|
||||
? `meta[property="${name}"]`
|
||||
: `meta[name="${name}"]`;
|
||||
let el = document.querySelector(selector);
|
||||
if (el) {
|
||||
el.setAttribute("content", content);
|
||||
}
|
||||
};
|
||||
|
||||
// Mise à jour des meta descriptions (Standard, OG, Twitter)
|
||||
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");
|
||||
canonical.setAttribute("rel", "canonical");
|
||||
document.head.appendChild(canonical);
|
||||
}
|
||||
canonical.setAttribute("href", url);
|
||||
}, [title, description, image, url, type]);
|
||||
|
||||
return null;
|
||||
};
|
||||
|
||||
export default SEO;
|
||||
@@ -68,7 +68,8 @@ const desktopAppItems = [
|
||||
img: "images/Zatyshok.webp",
|
||||
link: "/projects/zatyshok",
|
||||
title: "Затишок",
|
||||
description: "Moodboard application created for my partner !",
|
||||
description:
|
||||
"Moodboard/Planner highly customisable application with Spotify & meteo integrations !",
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
import { StrictMode } from "react";
|
||||
import { createRoot } from "react-dom/client";
|
||||
import "./index.css";
|
||||
import App from "./App.js";
|
||||
import App from "./App";
|
||||
|
||||
createRoot(document.getElementById("root")!).render(
|
||||
<StrictMode>
|
||||
|
||||
@@ -3,6 +3,7 @@ import SplashCursor from "../components/cursors/SplashCursor";
|
||||
import LogoLoop from "../components/LogoLoop";
|
||||
import FlowingMenu from "../components/FlowingMenu";
|
||||
import AnimatedContent from "../components/AnimatedContent";
|
||||
import SEO from "@/components/SEO";
|
||||
|
||||
import {
|
||||
WebService,
|
||||
@@ -79,6 +80,10 @@ const serviceItems = [
|
||||
const Cohaise = () => {
|
||||
return (
|
||||
<div className="layout-page" style={{ overflowX: "hidden" }}>
|
||||
<SEO
|
||||
title="Co Hai Se"
|
||||
description="Co Hai Se - Crafting the Web of Your Ambitions. Professional web development, mobile apps, and UI/UX design services."
|
||||
/>
|
||||
<AnimatedContent
|
||||
distance={50}
|
||||
direction="vertical"
|
||||
@@ -107,7 +112,7 @@ const Cohaise = () => {
|
||||
initialOpacity={0}
|
||||
animateOpacity
|
||||
scale={1}
|
||||
threshold={0.2}
|
||||
threshold={0.1}
|
||||
delay={0.1}
|
||||
>
|
||||
<FlowingMenu
|
||||
|
||||
@@ -2,6 +2,7 @@ import { ExternalLink } from "lucide-react";
|
||||
import CardSwap, { Card } from "../components/CardSwap";
|
||||
import "./Contact.css";
|
||||
import AnimatedContent from "@/components/AnimatedContent";
|
||||
import SEO from "@/components/SEO";
|
||||
|
||||
export default function Contact() {
|
||||
const contacts = [
|
||||
@@ -39,6 +40,10 @@ export default function Contact() {
|
||||
|
||||
return (
|
||||
<div className="layout-page">
|
||||
<SEO
|
||||
title="Contact"
|
||||
description="Looking for a creative developer? Contact me via LinkedIn, GitHub, or email."
|
||||
/>
|
||||
<AnimatedContent
|
||||
distance={50}
|
||||
direction="vertical"
|
||||
@@ -48,7 +53,7 @@ export default function Contact() {
|
||||
initialOpacity={0}
|
||||
animateOpacity
|
||||
scale={1}
|
||||
threshold={-0.1}
|
||||
threshold={-1}
|
||||
delay={0.2}
|
||||
>
|
||||
<section className="main-section">
|
||||
|
||||
+6
-1
@@ -1,9 +1,14 @@
|
||||
import MagicBento from "../components/MagicBento";
|
||||
import AnimatedContent from "../components/AnimatedContent";
|
||||
import SEO from "@/components/SEO";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<div className="layout-page">
|
||||
<SEO
|
||||
title="Home"
|
||||
description="Welcome to Esiah's Universe. Explore my projects in Game Design, Web Development, and UI/UX."
|
||||
/>
|
||||
<AnimatedContent
|
||||
distance={50}
|
||||
direction="vertical"
|
||||
@@ -33,7 +38,7 @@ export default function Home() {
|
||||
initialOpacity={0}
|
||||
animateOpacity
|
||||
scale={0.95}
|
||||
threshold={0.2}
|
||||
threshold={0}
|
||||
delay={0.3}
|
||||
>
|
||||
<section className="bento-container">
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import AnimatedContent from "../components/AnimatedContent";
|
||||
import SEO from "@/components/SEO";
|
||||
import ScrollVelocity from "../components/ScrollVelocity";
|
||||
import {
|
||||
GameDevGallery,
|
||||
@@ -35,6 +36,10 @@ const ProjectCategories = [
|
||||
export default function Projects() {
|
||||
return (
|
||||
<div className="layout-page w-full overflow-x-hidden">
|
||||
<SEO
|
||||
title="My Projects"
|
||||
description="Discover my project gallery: Unity video games, React/Angular websites, and desktop applications."
|
||||
/>
|
||||
<AnimatedContent
|
||||
distance={50}
|
||||
direction="vertical"
|
||||
@@ -44,7 +49,7 @@ export default function Projects() {
|
||||
initialOpacity={0}
|
||||
animateOpacity
|
||||
scale={1}
|
||||
threshold={-0.1}
|
||||
threshold={-1}
|
||||
delay={0.2}
|
||||
>
|
||||
<section className="main-section mb-20">
|
||||
@@ -55,7 +60,6 @@ export default function Projects() {
|
||||
|
||||
<div className="project-container flex flex-col gap-32 pb-32 w-full max-w-[100vw] overflow-x-hidden">
|
||||
{ProjectCategories.map((category, index) => (
|
||||
// 3. IMPORTANT: on empêche la div de dépasser 100% de la largeur
|
||||
<div key={index} className="w-full max-w-full overflow-hidden">
|
||||
<AnimatedContent
|
||||
distance={100}
|
||||
@@ -65,16 +69,14 @@ export default function Projects() {
|
||||
ease="power3.out"
|
||||
initialOpacity={0}
|
||||
animateOpacity
|
||||
threshold={0.2}
|
||||
threshold={0}
|
||||
delay={0}
|
||||
// 4. On s'assure que l'AnimatedContent ne crée pas de scroll
|
||||
className="w-full max-w-full overflow-hidden"
|
||||
>
|
||||
<div className="mb-8 pointer-events-none w-full">
|
||||
<ScrollVelocity
|
||||
texts={[category.text]}
|
||||
velocity={index % 2 === 0 ? 110 : -110}
|
||||
// 5. On réduit la taille du texte géant sur mobile (text-4xl au lieu de 6xl)
|
||||
className="custom-scroll-text text-4xl md:text-8xl font-bold uppercase tracking-tighter text-white/90 whitespace-nowrap"
|
||||
/>
|
||||
</div>
|
||||
@@ -87,11 +89,10 @@ export default function Projects() {
|
||||
ease="power3.out"
|
||||
initialOpacity={0}
|
||||
animateOpacity
|
||||
threshold={0.2}
|
||||
threshold={0}
|
||||
delay={0.2}
|
||||
className="w-full"
|
||||
>
|
||||
{/* 6. On met un padding raisonnable pour éviter que les cartes touchent les bords sur mobile */}
|
||||
<div className="w-full px-2 md:px-6">
|
||||
<category.Component />
|
||||
</div>
|
||||
|
||||
@@ -1,19 +1,39 @@
|
||||
import AnimatedContent from "@/components/AnimatedContent";
|
||||
import SEO from "@/components/SEO";
|
||||
|
||||
export default function EchoesOfTheLastStop() {
|
||||
return (
|
||||
<div className="layout-page">
|
||||
<section className="main-section">
|
||||
<h1 className="title">Echoes of the Last Stop</h1>
|
||||
<p className="subtitle">
|
||||
Thriller game project in collaboration with my partner
|
||||
</p>
|
||||
<a className="mt-40 flex justify-center w-[90%] md:w-2/3 mx-auto cursor-target">
|
||||
<img
|
||||
className="w-full rounded-[20px] hover:opacity-80 transition-opacity"
|
||||
src="/images/EotLS.webp"
|
||||
alt="Preview of Echoes of the Last Stop game made with Unity & Aseprite"
|
||||
/>
|
||||
</a>
|
||||
</section>
|
||||
</div>
|
||||
<AnimatedContent
|
||||
distance={50}
|
||||
direction="vertical"
|
||||
reverse={false}
|
||||
duration={2}
|
||||
ease="power3.out"
|
||||
initialOpacity={0}
|
||||
animateOpacity
|
||||
scale={1}
|
||||
threshold={-1}
|
||||
delay={0.2}
|
||||
>
|
||||
<SEO
|
||||
title="Echoes of the Last Stop"
|
||||
description="A thriller game project developed with Unity and Aseprite, featuring branching narratives."
|
||||
/>
|
||||
<div className="layout-page">
|
||||
<section className="main-section">
|
||||
<h1 className="title">Echoes of the Last Stop</h1>
|
||||
<p className="subtitle">
|
||||
Thriller game project in collaboration with my partner
|
||||
</p>
|
||||
<div className="mt-40 flex justify-center w-[90%] md:w-2/3 mx-auto">
|
||||
<img
|
||||
className="w-full rounded-[20px] hover:opacity-80 transition-opacity"
|
||||
src="/images/EotLS.webp"
|
||||
alt="Preview of Echoes of the Last Stop game made with Unity & Aseprite"
|
||||
/>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</AnimatedContent>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,24 +1,44 @@
|
||||
import AnimatedContent from "@/components/AnimatedContent";
|
||||
import SEO from "@/components/SEO";
|
||||
|
||||
export default function NeoTokyoRush() {
|
||||
return (
|
||||
<div className="layout-page">
|
||||
<section className="main-section">
|
||||
<h1 className="title">Neo Tokyo Rush</h1>
|
||||
<p className="subtitle">Cyberpunk-inspired beat 'em All game</p>
|
||||
<a className="mt-40 flex justify-center w-[90%] md:w-2/3 mx-auto cursor-target">
|
||||
<img
|
||||
className="w-full rounded-[20px] hover:opacity-80 transition-opacity"
|
||||
src="/images/NTR-Menu.webp"
|
||||
alt="Preview of Neo Tokyo Rush game made with Unity"
|
||||
/>
|
||||
</a>
|
||||
<a className="mt-40 flex justify-center w-[90%] md:w-2/3 mx-auto cursor-target">
|
||||
<img
|
||||
className="w-full rounded-[20px] hover:opacity-80 transition-opacity"
|
||||
src="/images/NTR-Lvl.webp"
|
||||
alt="Preview of Neo Tokyo Rush game made with Unity"
|
||||
/>
|
||||
</a>
|
||||
</section>
|
||||
</div>
|
||||
<AnimatedContent
|
||||
distance={50}
|
||||
direction="vertical"
|
||||
reverse={false}
|
||||
duration={2}
|
||||
ease="power3.out"
|
||||
initialOpacity={0}
|
||||
animateOpacity
|
||||
scale={1}
|
||||
threshold={-1}
|
||||
delay={0.2}
|
||||
>
|
||||
<SEO
|
||||
title="Neo Tokyo Rush"
|
||||
description="A cyberpunk beat 'em up game developed with Unity. Dive into a retro-futuristic neon aesthetic."
|
||||
/>
|
||||
<div className="layout-page">
|
||||
<section className="main-section">
|
||||
<h1 className="title">Neo Tokyo Rush</h1>
|
||||
<p className="subtitle">Cyberpunk-inspired beat 'em All game</p>
|
||||
<a className="mt-40 flex justify-center w-[90%] md:w-2/3 mx-auto cursor-target">
|
||||
<img
|
||||
className="w-full rounded-[20px] hover:opacity-80 transition-opacity"
|
||||
src="/images/NTR-Menu.webp"
|
||||
alt="Menu principal du jeu Neo Tokyo Rush, un beat 'em all cyberpunk développé avec Unity"
|
||||
/>
|
||||
</a>
|
||||
<a className="mt-40 flex justify-center w-[90%] md:w-2/3 mx-auto cursor-target">
|
||||
<img
|
||||
className="w-full rounded-[20px] hover:opacity-80 transition-opacity"
|
||||
src="/images/NTR-Lvl.webp"
|
||||
alt="Capture d'écran du gameplay de Neo Tokyo Rush montrant l'esthétique néon et les mécaniques de combat"
|
||||
/>
|
||||
</a>
|
||||
</section>
|
||||
</div>
|
||||
</AnimatedContent>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,17 +1,37 @@
|
||||
import AnimatedContent from "@/components/AnimatedContent";
|
||||
import SEO from "@/components/SEO";
|
||||
|
||||
export default function ShadowPurgeRiteOfTheDemon() {
|
||||
return (
|
||||
<div className="layout-page">
|
||||
<section className="main-section">
|
||||
<h1 className="title">Shadow Purge : Rite of the Demon</h1>
|
||||
<p className="subtitle">Hack n'slash RPG</p>
|
||||
<a className="mt-40 flex justify-center w-[90%] md:w-2/3 mx-auto cursor-target">
|
||||
<img
|
||||
className="w-full rounded-[20px] hover:opacity-80 transition-opacity"
|
||||
src="/images/SPRotD.webp"
|
||||
alt="Preview of Shadow Purge : Rite of the Demon game made with Unity & Aseprite"
|
||||
/>
|
||||
</a>
|
||||
</section>
|
||||
</div>
|
||||
<AnimatedContent
|
||||
distance={50}
|
||||
direction="vertical"
|
||||
reverse={false}
|
||||
duration={2}
|
||||
ease="power3.out"
|
||||
initialOpacity={0}
|
||||
animateOpacity
|
||||
scale={1}
|
||||
threshold={-1}
|
||||
delay={0.2}
|
||||
>
|
||||
<SEO
|
||||
title="Shadow Purge: Rite of the Demon"
|
||||
description="A hack n'slash RPG game developed with Unity and Aseprite."
|
||||
/>
|
||||
<div className="layout-page">
|
||||
<section className="main-section">
|
||||
<h1 className="title">Shadow Purge : Rite of the Demon</h1>
|
||||
<p className="subtitle">Hack n'slash RPG</p>
|
||||
<a className="mt-40 flex justify-center w-[90%] md:w-2/3 mx-auto cursor-target">
|
||||
<img
|
||||
className="w-full rounded-[20px] hover:opacity-80 transition-opacity"
|
||||
src="/images/SPRotD.webp"
|
||||
alt="Preview of Shadow Purge : Rite of the Demon game made with Unity & Aseprite"
|
||||
/>
|
||||
</a>
|
||||
</section>
|
||||
</div>
|
||||
</AnimatedContent>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,25 +1,45 @@
|
||||
import AnimatedContent from "@/components/AnimatedContent";
|
||||
import SEO from "@/components/SEO";
|
||||
|
||||
export default function WYGTIWIF() {
|
||||
return (
|
||||
<div className="layout-page">
|
||||
<section className="main-section">
|
||||
<h1 className="title">WYG TIWIF</h1>
|
||||
<p className="subtitle">
|
||||
Your social travel hub. A Full Stack (MEAN) application to build your
|
||||
travel wishlist and follow other users' journeys.
|
||||
</p>
|
||||
<a
|
||||
href="https://github.com/xEsiah/WYG-TIWIF"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="mt-40 flex justify-center w-[90%] md:w-2/3 mx-auto cursor-target"
|
||||
>
|
||||
<img
|
||||
className="w-full rounded-[20px] hover:opacity-80 transition-opacity"
|
||||
src="/images/WYG-TIWIF.webp"
|
||||
alt="Preview of WYG-TIWIF app made with Angular"
|
||||
/>
|
||||
</a>
|
||||
</section>
|
||||
</div>
|
||||
<AnimatedContent
|
||||
distance={50}
|
||||
direction="vertical"
|
||||
reverse={false}
|
||||
duration={2}
|
||||
ease="power3.out"
|
||||
initialOpacity={0}
|
||||
animateOpacity
|
||||
scale={1}
|
||||
threshold={-1}
|
||||
delay={0.2}
|
||||
>
|
||||
<SEO
|
||||
title="WYG TIWIF"
|
||||
description="A social travel hub application built with the MEAN stack to manage your travel wishlist and follow others."
|
||||
/>
|
||||
<div className="layout-page">
|
||||
<section className="main-section">
|
||||
<h1 className="title">WYG TIWIF</h1>
|
||||
<p className="subtitle">
|
||||
Your social travel hub. A Full Stack (MEAN) application to build
|
||||
your travel wishlist and follow other users' journeys.
|
||||
</p>
|
||||
<a
|
||||
href="https://github.com/xEsiah/WYG-TIWIF"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="mt-40 flex justify-center w-[90%] md:w-2/3 mx-auto cursor-target"
|
||||
>
|
||||
<img
|
||||
className="w-full rounded-[20px] hover:opacity-80 transition-opacity"
|
||||
src="/images/WYG-TIWIF.webp"
|
||||
alt="Preview of WYG-TIWIF app made with Angular"
|
||||
/>
|
||||
</a>
|
||||
</section>
|
||||
</div>
|
||||
</AnimatedContent>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,24 +1,45 @@
|
||||
import AnimatedContent from "@/components/AnimatedContent";
|
||||
import SEO from "@/components/SEO";
|
||||
|
||||
export default function Zatyshok() {
|
||||
return (
|
||||
<div className="layout-page">
|
||||
<section className="main-section">
|
||||
<h1 className="title">Затишок</h1>
|
||||
<p className="subtitle">
|
||||
Moodboard application created for my partner !
|
||||
</p>
|
||||
<a
|
||||
href="https://github.com/xEsiah/zatyshok-frontend"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="mt-40 flex justify-center w-[90%] md:w-2/3 mx-auto cursor-target"
|
||||
>
|
||||
<img
|
||||
className="w-full rounded-[20px] hover:opacity-80 transition-opacity"
|
||||
src="/images/Zatyshok.webp"
|
||||
alt="Preview of Zatyshok desktop app made with Electron"
|
||||
/>
|
||||
</a>
|
||||
</section>
|
||||
</div>
|
||||
<AnimatedContent
|
||||
distance={50}
|
||||
direction="vertical"
|
||||
reverse={false}
|
||||
duration={2}
|
||||
ease="power3.out"
|
||||
initialOpacity={0}
|
||||
animateOpacity
|
||||
scale={1}
|
||||
threshold={-1}
|
||||
delay={0.2}
|
||||
>
|
||||
<SEO
|
||||
title="Zatyshok"
|
||||
description="A desktop moodboard and planner application with Spotify and weather integrations, built with Electron."
|
||||
/>
|
||||
<div className="layout-page">
|
||||
<section className="main-section">
|
||||
<h1 className="title">Затишок</h1>
|
||||
<p className="subtitle">
|
||||
Moodboard/Planner highly customisable highly customisable
|
||||
application with Spotify & meteo integrations !
|
||||
</p>
|
||||
<a
|
||||
href="https://github.com/xEsiah/zatyshok-frontend"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="mt-40 flex justify-center w-[90%] md:w-2/3 mx-auto cursor-target"
|
||||
>
|
||||
<img
|
||||
className="w-full rounded-[20px] hover:opacity-80 transition-opacity"
|
||||
src="/images/Zatyshok.webp"
|
||||
alt="Preview of Zatyshok desktop app made with Electron"
|
||||
/>
|
||||
</a>
|
||||
</section>
|
||||
</div>
|
||||
</AnimatedContent>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user