mirror of
https://github.com/Lapikud/tipilan.git
synced 2026-08-08 09:41:59 +00:00
@@ -32,7 +32,7 @@ export default async function Page({
|
||||
return (
|
||||
<div className="bg-[#0E0F19] min-h-screen pt-16 md:pt-20">
|
||||
<div className="max-w-480 mx-auto px-4 sm:px-6 md:px-12 lg:px-64 py-10 md:py-20">
|
||||
<div className="grid grid-cols-1 lg:grid-cols-[1fr_300px] gap-8 lg:gap-16">
|
||||
<div className="grid grid-cols-1 lg:grid-cols-[1fr_250px] lg:gap-30">
|
||||
{/* Main content */}
|
||||
<div>
|
||||
{/* Page title */}
|
||||
@@ -46,7 +46,7 @@ export default async function Page({
|
||||
ruleType="kodukord"
|
||||
/>
|
||||
|
||||
<div className="rules-markdown">
|
||||
<div className="rules-markdown text-justify">
|
||||
<ReactMarkdown
|
||||
components={
|
||||
{
|
||||
@@ -65,28 +65,28 @@ export default async function Page({
|
||||
},
|
||||
h2: (props) => (
|
||||
<h2
|
||||
className={`${vipnagorgialla.className} font-bold italic text-xl text-white uppercase mb-2 mt-6`}
|
||||
className={`${vipnagorgialla.className} font-bold italic text-white uppercase`}
|
||||
>
|
||||
{props.children}
|
||||
</h2>
|
||||
),
|
||||
ol: (props) => (
|
||||
<ol className="text-white mb-4 leading-[19px]">
|
||||
<ol className="text-white mb-6">
|
||||
{props.children}
|
||||
</ol>
|
||||
),
|
||||
ul: (props) => (
|
||||
<ul className="list-disc list-inside text-white mb-4 leading-[19px]">
|
||||
<ul className="list-disc list-inside text-white">
|
||||
{props.children}
|
||||
</ul>
|
||||
),
|
||||
p: (props) => (
|
||||
<p className="text-white mb-4 leading-[19px]">
|
||||
<p className="text-white text-xl">
|
||||
{props.children}
|
||||
</p>
|
||||
),
|
||||
li: (props) => (
|
||||
<li className="text-white mb-2 leading-[19px]">
|
||||
<li className="text-white text-xl mb-3">
|
||||
{props.children}
|
||||
</li>
|
||||
),
|
||||
|
||||
@@ -16,6 +16,7 @@ Event participation house rules apply to everyone, both visitors and competitors
|
||||
1. Separate tournament rules apply when participating in tournaments.
|
||||
4. In the case of a violation of the event rules, TipiLAN reserves the right to remove the participant from the event and, if necessary, notify law enforcement agencies of the violation.
|
||||
1. In the case of a minor participant, we will notify the parents or guardians of any violations and, if necessary, also notify law enforcement agencies.
|
||||
2. If you witness a violation of the event rules or feel unsafe at any point during the event, please contact the nearest event staff member wearing “TipiLAN Crew” clothing.
|
||||
5. Entry into the event area is only permitted with a valid pass or permission from the organizer.
|
||||
6. All participants must be at least 16 years old. The organizer reserves the right to request identification to verify age and to remove persons who do not meet the requirements from the event.
|
||||
7. By purchasing a ticket, the participant grants the organizer the right to photograph and film them and allows the use of photo, audio and video materials created during the event for the purpose of recording, reporting and marketing the event.
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
1. Turniiridel osalemisel kehtivad lisaks eraldi turniirireeglid.
|
||||
4. Kodukorra rikkumise korral jätab TipiLAN endale õiguse osaleja ürituselt eemaldada ning vajaduse korral teavitada rikkumisest korrakaitseorganeid.
|
||||
1. Alaealise osaleja puhul teavitame rikkumiste korral lapsevanemaid või eestkostjaid ning vajaduse korral ka korrakaitseorganeid.
|
||||
2. Kui märkate kodukorra rikkumist või tunnete end üritusel ebaturvaliselt, pöörduge palun lähima korraldusmeeskonna liikme poole, kes kannab „TipiLAN Crew” riietust.
|
||||
5. Ürituse alal viibimine on lubatud üksnes kehtiva pääsme või korraldaja loal.
|
||||
6. Kõik osalejad peavad olema vähemalt 16-aastased. Korraldajal on õigus vanuse kontrollimiseks küsida isikut tõendavat dokumenti ning nõuetele mittevastavad isikud ürituselt eemaldada.
|
||||
7. Pileti ostmisega annab osaleja korraldajale nõusoleku enda pildistamiseks ja filmimiseks ning lubab kasutada ürituse käigus loodud foto-, audio- ja videomaterjali ürituse jäädvustamise, kajastamise ja turundamise eesmärgil.
|
||||
|
||||
@@ -10,6 +10,8 @@ export type RuleType = "cs2" | "lol" | "kodukord";
|
||||
* @param locale - The locale to load rules for (et, en)
|
||||
* @returns Promise<string> The markdown content of the rules file
|
||||
*/
|
||||
|
||||
// TODO review unused method
|
||||
export async function loadRules(
|
||||
ruleType: RuleType,
|
||||
locale: Locale,
|
||||
@@ -102,6 +104,7 @@ export async function loadRulesBun(
|
||||
}
|
||||
}
|
||||
|
||||
// TODO review unused method
|
||||
/**
|
||||
* Gets all available rule types for a given locale
|
||||
* @param locale - The locale to check for available rules
|
||||
@@ -148,6 +151,8 @@ export function ruleExists(ruleType: RuleType, locale: Locale): boolean {
|
||||
* @param preferredLocale - The preferred locale
|
||||
* @returns Locale The best available locale for the rule type
|
||||
*/
|
||||
|
||||
// TODO review unused method
|
||||
export function getBestAvailableLocale(
|
||||
ruleType: RuleType,
|
||||
preferredLocale: Locale,
|
||||
|
||||
Reference in New Issue
Block a user