diff --git a/src/components/TeaserCarousel.tsx b/src/components/TeaserCarousel.tsx index 0fd59c6..b1fb46b 100644 --- a/src/components/TeaserCarousel.tsx +++ b/src/components/TeaserCarousel.tsx @@ -10,13 +10,14 @@ type Slide = { key: "compete" | "play" | "explore"; image: string; imageAlt: string; + hero: string; href: "/turniirid" | "/piletid" | "/messiala"; }; const slides: Slide[] = [ - { key: "compete", image: "/images/landing/compete_teaser.jpg", imageAlt: "Võistle", href: "/turniirid" }, - { key: "play", image: "/images/landing/play_teaser.png", imageAlt: "Mängi", href: "/piletid" }, - { key: "explore", image: "/images/landing/explore_teaser.png", imageAlt: "Avasta", href: "/messiala" }, + { key: "compete", image: "/images/landing/compete_teaser.jpg", imageAlt: "Võistle", hero: "/images/landing/compete_hero.png", href: "/turniirid" }, + { key: "play", image: "/images/landing/play_teaser.png", imageAlt: "Mängi", hero: "/images/landing/play_hero.png", href: "/piletid" }, + { key: "explore", image: "/images/landing/explore_teaser.png", imageAlt: "Avasta", hero: "/images/landing/explore_hero.png", href: "/messiala" }, ]; export default function TeaserCarousel() { @@ -73,8 +74,15 @@ export default function TeaserCarousel() {
)} - {/* Right side: image shows through */} - + {/* Right side: hero image */} +