diff --git a/src/components/TeaserCarousel.tsx b/src/components/TeaserCarousel.tsx index b1fb46b..a42a601 100644 --- a/src/components/TeaserCarousel.tsx +++ b/src/components/TeaserCarousel.tsx @@ -12,12 +12,14 @@ type Slide = { imageAlt: string; hero: string; href: "/turniirid" | "/piletid" | "/messiala"; + flip?: boolean; + fullBrightness?: boolean; }; const slides: Slide[] = [ { 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" }, + { key: "play", image: "/images/landing/play_teaser.png", imageAlt: "Mängi", hero: "/images/landing/play_hero.png", href: "/piletid", flip: true, fullBrightness: true }, + { key: "explore", image: "/images/landing/explore_teaser.png", imageAlt: "Avasta", hero: "/images/landing/explore_hero.png", href: "/messiala", fullBrightness: true }, ]; export default function TeaserCarousel() { @@ -49,12 +51,12 @@ export default function TeaserCarousel() { fill className="object-cover object-center" /> - {/* Gradient: dark on left, fades out on right */} -
+ {/* Overlay */} +
{/* Content */} -
-
+
+

{t("heading")} @@ -74,8 +76,8 @@ export default function TeaserCarousel() {

)}

- {/* Right side: hero image */} -
+ {/* Hero image */} +