diff --git a/src/app/ajakava/page.tsx b/src/app/ajakava/page.tsx
index cef81aa..5dead9b 100644
--- a/src/app/ajakava/page.tsx
+++ b/src/app/ajakava/page.tsx
@@ -1,10 +1,61 @@
+"use client";
+
+import { useState } from "react";
import { vipnagorgialla } from "@/components/Vipnagorgialla";
+import { scheduleData } from "@/data/timetable";
+
+const tabs = Object.keys(scheduleData);
export default function Timetable() {
- return (
-
-
Ajakava
-
Lisame ajakava lähiajal.
-
- );
+ const [activeTab, setActiveTab] = useState(tabs[0]);
+ const schedule = scheduleData[activeTab];
+
+ return (
+
+
+ Ajakava
+
+
+ {/* Tab menu */}
+
+ {tabs.map((tab) => (
+
+ ))}
+
+
+ {/* Schedule entries */}
+
+ {schedule.map((item, idx) => (
+
+
{item.time}
+
+ {item.title}
+
+ {item.description && (
+
+ {item.description}
+
+ )}
+ {item.location && (
+
+ {item.location}
+
+ )}
+
+ ))}
+
+
+ );
}
diff --git a/src/data/timetable.ts b/src/data/timetable.ts
new file mode 100644
index 0000000..9a05a0a
--- /dev/null
+++ b/src/data/timetable.ts
@@ -0,0 +1,29 @@
+export const scheduleData: Record = {
+ "24. oktoober": [
+ {
+ title: "League of Legends põhiturniir",
+ location: "Aula",
+ },
+ {
+ title: "Miniturniirid",
+ location: "Tudengimaja",
+ },
+ ],
+ "25. oktoober": [
+ {
+ title: "Counter-Strike 2 põhiturniir",
+ location: "Aula",
+ },
+ {
+ title: "Miniturniirid",
+ location: "Tudengimaja",
+ },
+ ],
+ "26. oktoober": [
+ {
+ time: "00:00",
+ title: "Ajakava lisatakse peagi",
+ location: "",
+ },
+ ],
+};