mirror of
https://github.com/Lapikud/tipilan.git
synced 2026-09-22 15:22:59 +00:00
18 lines
653 B
TypeScript
18 lines
653 B
TypeScript
import { getTranslations } from "next-intl/server";
|
|
import SidebarLayoutClient from "./SidebarLayoutClient";
|
|
|
|
export default async function SidebarLayoutServer() {
|
|
const navT = await getTranslations("navigation");
|
|
|
|
const navItems = [
|
|
{ href: "/" as const, label: navT("home") },
|
|
{ href: "/messiala" as const, label: navT("expo") },
|
|
{ href: "/piletid" as const, label: navT("tickets") },
|
|
{ href: "/ajakava" as const, label: navT("schedule") },
|
|
{ href: "/turniirid" as const, label: navT("tournaments") },
|
|
{ href: "/kodukord" as const, label: navT("houserules") },
|
|
];
|
|
|
|
return <SidebarLayoutClient navItems={navItems} />;
|
|
}
|