- );
+ );
}
diff --git a/src/app/piletid/page.tsx b/src/app/piletid/page.tsx
index 4707f69..63da5c6 100644
--- a/src/app/piletid/page.tsx
+++ b/src/app/piletid/page.tsx
@@ -1,96 +1,105 @@
-import { vipnagorgialla } from "@/components/Vipnagorgialla";
+import {vipnagorgialla} from "@/components/Vipnagorgialla";
import Link from "next/link";
+import SectionDivider from "@/components/SectionDivider";
export default function Tickets() {
- return (
-
-
- PILETID JA REGISTREERIMINE
-
-
-
-
- 8€
-
-
- Arvutiga osaleja
-
-
- -
- Isiklik laud, voolu- ja internetiühendus
-
- - Ligipääs demoalale
- - Turniiride pealt vaatamine
- - Võimalus osaleda miniturniiridel
-
-
-
-
-
-
-
- 12-15€
-
-
- Võistleja
-
-
- - Võimalus osaleda CS2 või LoL turniiril
- -
- Isiklik laud, voolu- ja internetiühendus
-
- - Ligipääs demoalale
- - Turniiride pealt vaatamine
- - Võimalus osaleda miniturniiridel
-
-
-
-
-
+ return (
+
+
+
+ PILETID JA REGISTREERIMINE
+
+
+
+
+ 8€
+
+
+ Arvutiga osaleja
+
+
+ -
+ Isiklik laud, voolu- ja internetiühendus
+
+ - Ligipääs demoalale
+ - Turniiride pealt vaatamine
+ - Võimalus osaleda miniturniiridel
+
+
+
+
+
+
+
+ 12-15€
+
+
+ Võistleja
+
+
+ - Võimalus osaleda CS2 või LoL turniiril
+ -
+ Isiklik laud, voolu- ja internetiühendus
+
+ - Ligipääs demoalale
+ - Turniiride pealt vaatamine
+ - Võimalus osaleda miniturniiridel
+
+
+
+
+
-
-
- 6€
-
-
- Külastaja
-
-
- - Ligipääs demoalale
- - Turniiride pealt vaatamine
- - Võimalus osaleda miniturniiridel
-
-
-
-
+
+
+ 6€
+
+
+ Külastaja
+
+
+ - Ligipääs demoalale
+ - Turniiride pealt vaatamine
+ - Võimalus osaleda miniturniiridel
+
+
+
+
+
+
+
+
+
-
-
- );
+ );
}
diff --git a/src/app/reeglid/[slug]/page.tsx b/src/app/reeglid/[slug]/page.tsx
index 843905f..5e4f735 100644
--- a/src/app/reeglid/[slug]/page.tsx
+++ b/src/app/reeglid/[slug]/page.tsx
@@ -1,44 +1,49 @@
-import { vipnagorgialla } from "@/components/Vipnagorgialla";
+import {vipnagorgialla} from "@/components/Vipnagorgialla";
import path from "node:path";
import fs from "node:fs/promises";
import ReactMarkdown from "react-markdown";
+import SectionDivider from "@/components/SectionDivider";
type Props = {
- params: Promise<{ slug: string }>;
+ params: Promise<{ slug: string }>;
};
-export default async function RulePage({ params }: Props) {
- const { slug } = await params;
-
- const filePath = path.join(process.cwd(), "src/data/rules", `${slug}.md`);
- let file: string;
-
- try {
- file = await fs.readFile(filePath, "utf8");
- } catch {
- file = `# ${slug.toUpperCase()} REEGLID\n\nSisu hetkel puudub.`;
- }
-
- const data = { title: undefined as string | undefined };
-
- return (
- <>
-
- {data.title || `${slug.toUpperCase()} REEGLID`}
-
-
-
- {file}
-
- >
- );
+export default async function RulePage({params}: Props) {
+ const {slug} = await params;
+
+ const filePath = path.join(process.cwd(), "src/data/rules", `${slug}.md`);
+ let file: string;
+
+ try {
+ file = await fs.readFile(filePath, "utf8");
+ } catch {
+ file = `# ${slug.toUpperCase()} REEGLID\n\nSisu hetkel puudub.`;
+ }
+
+ const data = {title: undefined as string | undefined};
+
+ return (
+ <>
+
+
+ {data.title || `${slug.toUpperCase()} REEGLID`}
+
+
+
+ {file}
+
+
+
+
+ >
+ );
}
diff --git a/src/app/reeglid/page.tsx b/src/app/reeglid/page.tsx
index 9339faf..4afaf1e 100644
--- a/src/app/reeglid/page.tsx
+++ b/src/app/reeglid/page.tsx
@@ -1,5 +1,6 @@
import {vipnagorgialla} from "@/components/Vipnagorgialla";
import Link from "next/link";
+import SectionDivider from "@/components/SectionDivider";
export default function RulesMenu() {
const headingStyle = `text-5xl sm:text-6xl ${vipnagorgialla.className} font-bold italic text-[#2A2C3F] dark:text-[#EEE5E5]`;
@@ -8,7 +9,7 @@ export default function RulesMenu() {
const boxTextStyle = `text-3xl ${vipnagorgialla.className} font-bold uppercase text-[#EEE5E5] pb-2`;
- const SectionDivider = () =>
;
+ // const SectionDivider = () =>
;
return (
diff --git a/src/app/turniirid/page.tsx b/src/app/turniirid/page.tsx
index a254a60..dfaa889 100644
--- a/src/app/turniirid/page.tsx
+++ b/src/app/turniirid/page.tsx
@@ -1,11 +1,12 @@
import { vipnagorgialla } from "@/components/Vipnagorgialla";
import Link from "next/link";
import Image from "next/image";
+import SectionDivider from "@/components/SectionDivider";
export default function Tourney() {
const headingStyle = `text-3xl md:text-5xl lg:text-5xl ${vipnagorgialla.className} font-bold uppercase text-[#2A2C3F] dark:text-[#EEE5E5] -skew-x-2 md:-skew-x-5`;
- const SectionDivider = () =>
;
+ // const SectionDivider = () =>
;
return (
@@ -74,8 +75,7 @@ export default function Tourney() {
-
-
+
{/* LoL turniir */}
diff --git a/src/components/SectionDivider.tsx b/src/components/SectionDivider.tsx
new file mode 100644
index 0000000..dc88b17
--- /dev/null
+++ b/src/components/SectionDivider.tsx
@@ -0,0 +1,7 @@
+import React from 'react';
+
+export default function SectionDivider() {
+ return (
+
+ );
+};