Merge pull request #129 from Lapikud/development

Updated house rules
This commit is contained in:
2026-06-25 23:48:12 +03:00
committed by GitHub
6 changed files with 3253 additions and 1517 deletions

View File

@@ -38,7 +38,9 @@
## 🧪 Scripts ## 🧪 Scripts
```bash ```bash
bun dev # Run development server bun run dev # Run development server
bun --bun run dev # Run dev without runtimes
bun run build # Build for production bun run build # Build for production
bun start # Start production server bun start # Start production server

4745
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -32,7 +32,7 @@ export default async function Page({
return ( return (
<div className="bg-[#0E0F19] min-h-screen pt-16 md:pt-20"> <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="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 */} {/* Main content */}
<div> <div>
{/* Page title */} {/* Page title */}
@@ -46,7 +46,7 @@ export default async function Page({
ruleType="kodukord" ruleType="kodukord"
/> />
<div className="rules-markdown"> <div className="rules-markdown text-justify">
<ReactMarkdown <ReactMarkdown
components={ components={
{ {
@@ -65,28 +65,28 @@ export default async function Page({
}, },
h2: (props) => ( h2: (props) => (
<h2 <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} {props.children}
</h2> </h2>
), ),
ol: (props) => ( ol: (props) => (
<ol className="text-white mb-4 leading-[19px]"> <ol className="text-white mb-6">
{props.children} {props.children}
</ol> </ol>
), ),
ul: (props) => ( ul: (props) => (
<ul className="list-disc list-inside text-white mb-4 leading-[19px]"> <ul className="list-disc list-inside text-white">
{props.children} {props.children}
</ul> </ul>
), ),
p: (props) => ( p: (props) => (
<p className="text-white mb-4 leading-[19px]"> <p className="text-white text-xl">
{props.children} {props.children}
</p> </p>
), ),
li: (props) => ( li: (props) => (
<li className="text-white mb-2 leading-[19px]"> <li className="text-white text-xl mb-3">
{props.children} {props.children}
</li> </li>
), ),

View File

@@ -16,6 +16,7 @@ Event participation house rules apply to everyone, both visitors and competitors
1. Separate tournament rules apply when participating in tournaments. 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. 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. 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. 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. 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. 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.

View File

@@ -16,6 +16,7 @@
1. Turniiridel osalemisel kehtivad lisaks eraldi turniirireeglid. 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. 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. 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. 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. 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. 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.

View File

@@ -10,6 +10,8 @@ export type RuleType = "cs2" | "lol" | "kodukord";
* @param locale - The locale to load rules for (et, en) * @param locale - The locale to load rules for (et, en)
* @returns Promise<string> The markdown content of the rules file * @returns Promise<string> The markdown content of the rules file
*/ */
// TODO review unused method
export async function loadRules( export async function loadRules(
ruleType: RuleType, ruleType: RuleType,
locale: Locale, locale: Locale,
@@ -102,6 +104,7 @@ export async function loadRulesBun(
} }
} }
// TODO review unused method
/** /**
* Gets all available rule types for a given locale * Gets all available rule types for a given locale
* @param locale - The locale to check for available rules * @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 * @param preferredLocale - The preferred locale
* @returns Locale The best available locale for the rule type * @returns Locale The best available locale for the rule type
*/ */
// TODO review unused method
export function getBestAvailableLocale( export function getBestAvailableLocale(
ruleType: RuleType, ruleType: RuleType,
preferredLocale: Locale, preferredLocale: Locale,