From e9a276c11d93c34999b06f95aecae762c5fa7192 Mon Sep 17 00:00:00 2001 From: becarta Date: Fri, 14 Mar 2025 23:16:13 +0100 Subject: [PATCH] updated timeline vertical line color and background years --- src/components/ui/ModernTimeline.astro | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/ui/ModernTimeline.astro b/src/components/ui/ModernTimeline.astro index 5d7ac0c..67fcdba 100644 --- a/src/components/ui/ModernTimeline.astro +++ b/src/components/ui/ModernTimeline.astro @@ -28,7 +28,7 @@ const { items && items.length && (
{/* Main timeline line */} -
+
{items.map((item, index) => { @@ -52,7 +52,10 @@ const { {/* Year marker (if available) */} {year && (
- {year} + + + {year} +
)} @@ -97,9 +100,9 @@ const {
{/* Connector line to timeline (visible only on desktop) */}