diff --git a/frontend/src/components/home/Timeline.tsx b/frontend/src/components/home/Timeline.tsx index 5785923..94dba83 100644 --- a/frontend/src/components/home/Timeline.tsx +++ b/frontend/src/components/home/Timeline.tsx @@ -9,7 +9,7 @@ const ease = [0.23, 1, 0.32, 1] as const type Milestone = TimelineItem -function Item({ item, index }: { item: Milestone; index: number }) { +function Item({ item, index, featured = false }: { item: Milestone; index: number; featured?: boolean }) { const ref = useRef(null) const active = useInView(ref, { once: true, amount: 0.6 }) const onRight = index % 2 === 0 @@ -28,7 +28,11 @@ function Item({ item, index }: { item: Milestone; index: number }) { {timeline.map((item, i) => ( - + ))}