From de2d2a0b4dcd5f7f376c862ea1585b9440d12ddf Mon Sep 17 00:00:00 2001 From: SwagMuffin88 Date: Tue, 19 Aug 2025 11:06:23 +0300 Subject: [PATCH] add section border where missing --- src/app/messiala/page.tsx | 231 +++++++++++++++++++------------------ src/app/turniirid/page.tsx | 16 +-- 2 files changed, 123 insertions(+), 124 deletions(-) diff --git a/src/app/messiala/page.tsx b/src/app/messiala/page.tsx index 383344f..4cad119 100644 --- a/src/app/messiala/page.tsx +++ b/src/app/messiala/page.tsx @@ -4,6 +4,7 @@ import { vipnagorgialla } from "@/components/Vipnagorgialla"; import * as THREE from "three"; import { useEffect, useRef, useState } from "react"; import { EyeClosed, Eye } from "lucide-react"; +import SectionDivider from "@/components/SectionDivider"; // Define interface for the ref with toggle function interface MountRefCurrent extends HTMLDivElement { @@ -379,121 +380,125 @@ export default function Expo() { }, [showDividers]); return ( -
-

- Messiala -

-
-

- Tudengimaja -

-
-
-
- - Baariala - -
-
-
- - EVAL - -
-
-
- - Lauamängude ala - -
-
-
- - LVLup! - -
-
-
- - Red Bull - -
-
-
- - Red Bull Sim Racing - -
-
-
- - Sony - -
-
-
- - Võitlusmängu ala - -
-
-
-
-
- -
-
- - {/* Tooltip */} - {hoveredRoom && ( -
+
+

- {hoveredRoom} + Messiala +

+
+

+ Tudengimaja +

+
+
+
+ + Baariala + +
+
+
+ + EVAL + +
+
+
+ + Lauamängude ala + +
+
+
+ + LVLup! + +
+
+
+ + Red Bull + +
+
+
+ + Red Bull Sim Racing + +
+
+
+ + Sony + +
+
+
+ + Võitlusmängu ala + +
+
+
+
+
+ +
+
+ + {/* Tooltip */} + {hoveredRoom && ( +
+ {hoveredRoom} +
+ )}
- )} -
+
+ +
); } diff --git a/src/app/turniirid/page.tsx b/src/app/turniirid/page.tsx index 75efbdf..605ba0c 100644 --- a/src/app/turniirid/page.tsx +++ b/src/app/turniirid/page.tsx @@ -4,22 +4,16 @@ import Image from "next/image"; 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 = () =>
; - + return (

Turniirid

- - {/*

*/} - {/* Kui tahate oma oskusi proovile panna, siis vaadake siia tagasi! Rohkem*/} - {/* infot lähiajal.*/} - {/*

*/} - +
{/* CS2 turniir */}
@@ -133,7 +127,7 @@ export default function Tourney() {
{/* Mini-turniirid */} -
+

Mini­turniirid