diff --git a/components/sections/TimelineSection.tsx b/components/sections/TimelineSection.tsx index 2f2d8a1..998d5a1 100644 --- a/components/sections/TimelineSection.tsx +++ b/components/sections/TimelineSection.tsx @@ -24,36 +24,75 @@ export default function TimelineSection() { const progressWidth = "95%"; return ( -
-
-

A propos de moi

+
+
+

+ A propos de moi +

-
- {/* Base line */} -
+
+ {/* Mobile layout */} +
+ {steps.map((step, index) => ( +
+

+ {step.title} +

+

+ {step.text} +

+
+ ))} +
- {/* Brown progress */} -
- - {steps.map((step, index) => ( + {/* Desktop timeline */} +
+ {/* Base line */}
- {/* Point */} -
-
-
+ className="absolute left-0 right-0 h-1.5 rounded-full bg-[#d9dde2]" + style={{ top: lineTop }} + /> - {/* Content */} -
-

{step.title}

+ {/* Brown progress */} +
-

{step.text}

+ {steps.map((step, index) => ( +
+ {/* Point */} +
+
+
+ + {/* Card */} +
+

+ {step.title} +

+ +

+ {step.text} +

+
-
- ))} + ))} +