From 9be9f8271b408676060197db3190730552cbedb1 Mon Sep 17 00:00:00 2001 From: Matheo Guilbert Date: Wed, 15 Apr 2026 15:27:09 +0200 Subject: [PATCH] timeline section --- app/[locale]/page.tsx | 2 + components/sections/TimelineSection.tsx | 61 +++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 components/sections/TimelineSection.tsx diff --git a/app/[locale]/page.tsx b/app/[locale]/page.tsx index 0c8168f..ed08fd8 100644 --- a/app/[locale]/page.tsx +++ b/app/[locale]/page.tsx @@ -1,6 +1,7 @@ import HeroSection from "@/components/sections/HeroSection"; import WorksSection from "@/components/sections/WorksSection"; import FeatureSection from "@/components/sections/FeatureSection"; +import TimelineSection from "@/components/sections/TimelineSection"; export default function Home() { return ( @@ -8,6 +9,7 @@ export default function Home() { + ); } \ No newline at end of file diff --git a/components/sections/TimelineSection.tsx b/components/sections/TimelineSection.tsx new file mode 100644 index 0000000..dedcc3d --- /dev/null +++ b/components/sections/TimelineSection.tsx @@ -0,0 +1,61 @@ +export default function TimelineSection() { + const steps = [ + { + title: "Les Débuts", + text: "J'ai commencé par le web en 2019 suite à un stage, je n'ai plus jamais arrêté. Aujourd'hui je veux en faire mon métier", + position: "top" as const, + left: "16%", + }, + { + title: "L'Évolution", + text: "Après un bac STI2D avec mention Très bien j'ai entamé un BUT Informatique Parcours Développement IA", + position: "bottom" as const, + left: "50%", + }, + { + title: "Aujourd'hui", + text: "Je suis entrepreneur, co-fondateur d'une startup et développeur freelance, je vis de ma passion", + position: "top" as const, + left: "84%", + }, + ]; + + const lineTop = "58%"; + const progressWidth = "95%"; + + return ( +
+
+

A propos de moi

+ +
+ {/* Base line */} +
+ + {/* Brown progress */} +
+ + {steps.map((step, index) => ( +
+ {/* Point */} +
+
+
+ + {/* Content */} +
+

{step.title}

+ +

{step.text}

+
+
+ ))} +
+
+
+ ); +} \ No newline at end of file