diff --git a/src/components/sections/hero.tsx b/src/components/sections/hero.tsx index 1bdac26..940c9d7 100644 --- a/src/components/sections/hero.tsx +++ b/src/components/sections/hero.tsx @@ -2,7 +2,6 @@ import React, { useEffect, useState } from 'react'; -import { AnimatePresence, motion } from 'motion/react'; import { ArrowRight } from 'lucide-react'; import { Button } from '@/components/ui/button'; @@ -39,6 +38,15 @@ const slides: HeroSlide[] = [ }, ]; +const SlideSummary = ({ slide }: { slide: HeroSlide }) => ( + <> +
{slide.title}
+ {slide.description && ( +{slide.description}
+ )} + > +); + interface SvgPath { path: string; height: number; @@ -114,9 +122,7 @@ const MaskedDiv: React.FC- {slides[currentIndex].title} -
- {slides[currentIndex].description && ( -- {slides[currentIndex].description} -
- )} -- {slides[currentIndex].title} -
- {slides[currentIndex].description && ( -- {slides[currentIndex].description} -
- )} -