mirror of
https://github.com/Lapikud/tipilan.git
synced 2026-08-08 17:49:13 +00:00
Updated kodukord and lol rules in est
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// app/kodukord/page.tsx (App Router)
|
||||
import ReactMarkdown, { Components } from "react-markdown";
|
||||
import { vipnagorgialla } from "@/components/Vipnagorgialla";
|
||||
import RulesLastChanged from "@/components/RulesLastChanged";
|
||||
import RuleNav from "@/components/RuleNav";
|
||||
import { getTranslations, setRequestLocale } from "next-intl/server";
|
||||
import { loadRulesBun } from "@/lib/loadRules";
|
||||
@@ -40,6 +41,10 @@ export default async function Page({
|
||||
>
|
||||
{t("rules.houseRules")}
|
||||
</h1>
|
||||
<RulesLastChanged
|
||||
locale={locale as "et" | "en"}
|
||||
ruleType="kodukord"
|
||||
/>
|
||||
|
||||
<div className="rules-markdown">
|
||||
<ReactMarkdown
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { vipnagorgialla } from "@/components/Vipnagorgialla";
|
||||
import RuleNav from "@/components/RuleNav";
|
||||
import RulesContent from "@/components/RulesContent";
|
||||
import RulesLastChanged from "@/components/RulesLastChanged";
|
||||
import Link from "next/link";
|
||||
import { getTranslations, setRequestLocale } from "next-intl/server";
|
||||
|
||||
@@ -40,6 +41,7 @@ export default async function CS2Tournament({
|
||||
>
|
||||
{t("cs2page.title")}
|
||||
</h1>
|
||||
<RulesLastChanged locale={locale as "et" | "en"} ruleType="cs2" />
|
||||
|
||||
{/* Buttons */}
|
||||
<div className="flex flex-wrap gap-4 mb-12">
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { vipnagorgialla } from "@/components/Vipnagorgialla";
|
||||
import RuleNav from "@/components/RuleNav";
|
||||
import RulesContent from "@/components/RulesContent";
|
||||
import RulesLastChanged from "@/components/RulesLastChanged";
|
||||
import Link from "next/link";
|
||||
import { getTranslations, setRequestLocale } from "next-intl/server";
|
||||
|
||||
@@ -39,6 +40,7 @@ export default async function LoLTournament({
|
||||
>
|
||||
{t("lolpage.title")}
|
||||
</h1>
|
||||
<RulesLastChanged locale={locale as "et" | "en"} ruleType="lol" />
|
||||
|
||||
{/* Buttons */}
|
||||
<div className="flex flex-wrap gap-4 mb-12">
|
||||
|
||||
Reference in New Issue
Block a user