import { vipnagorgialla } from "@/components/Vipnagorgialla"; import CS2Sidebar from "@/components/CS2Sidebar"; import CS2Rules from "@/components/CS2Rules"; import Link from "next/link"; import { getTranslations, setRequestLocale } from "next-intl/server"; const sectionKeys = [ { id: "intro", labelKey: "lolpage.nav.intro" }, { id: "info", labelKey: "lolpage.nav.info" }, { id: "prizes", labelKey: "lolpage.nav.prizes" }, { id: "format", labelKey: "lolpage.nav.format" }, // { id: "faq", labelKey: "lolpage.nav.faq" }, { id: "rules", labelKey: "lolpage.nav.rules" }, ]; export default async function LoLTournament({ params, }: { params: Promise<{ locale: string }>; }) { const { locale } = await params; setRequestLocale(locale); const t = await getTranslations({ locale }); const sections = sectionKeys.map((section) => ({ id: section.id, label: t(section.labelKey), })); return (
{t("lolpage.intro.description")}
2025
{t("lolpage.info.description")}
{t("lolpage.prizes.note")}
{t("lolpage.format.description")}
{t("lolpage.format.day1")}
{t("lolpage.format.day2")}
{t("lolpage.faq.a1")}
{t("lolpage.rules.description")}
{t("lolpage.rules.contact")}
{t("lolpage.rules.contactName")}
{t("lolpage.rules.contactRole")}
Discord:{" "} Kukkel