diff --git a/public/images/landing/league_tournament.jpg b/public/images/landing/league_ticket.jpg similarity index 100% rename from public/images/landing/league_tournament.jpg rename to public/images/landing/league_ticket.jpg diff --git a/src/app/[locale]/piletid/page.tsx b/src/app/[locale]/piletid/page.tsx index b499c3c..2c3c596 100644 --- a/src/app/[locale]/piletid/page.tsx +++ b/src/app/[locale]/piletid/page.tsx @@ -117,7 +117,7 @@ export default async function Tickets({ features={t.raw("tickets.lol.features")} buttonText={t("tickets.buyButton")} buttonHref="https://fienta.com/et/tipilan" - backgroundImage="/images/landing/league_tournament.jpg" + backgroundImage="/images/landing/league_ticket.jpg" /> {/* CS2 TURNIIRI PILET */} diff --git a/src/app/[locale]/turniirid/page.tsx b/src/app/[locale]/turniirid/page.tsx index 0a34600..8501b34 100644 --- a/src/app/[locale]/turniirid/page.tsx +++ b/src/app/[locale]/turniirid/page.tsx @@ -3,6 +3,44 @@ import Link from "next/link"; import Image from "next/image"; import { getTranslations, setRequestLocale } from "next-intl/server"; +interface TournamentCardProps { + title: string; + buttonText: string; + buttonHref: string; + backgroundImage: string; +} + +function TournamentCard({ + title, + buttonText, + buttonHref, + backgroundImage, +}: TournamentCardProps) { + return ( +
- {t("tournaments.mini.timing")} -
-- {t("tournaments.mini.description1")} -
-- {t("tournaments.mini.description2")} -
-{tournament.name} - {tournament.prize}
-- {t("tournaments.cs2.timing")} -
-- {t("tournaments.cs2.description1")} -
-- {t("tournaments.cs2.description2")} -
-- {t("tournaments.cs2.description3")} -
-- {t("tournaments.lol.timing")} -
-- {t("tournaments.lol.description1")} -
-- {t("tournaments.lol.description2")} -
-