small changes to schedule

This commit is contained in:
Kerdo Käärma
2025-08-19 15:29:24 +03:00
parent de2d2a0b4d
commit bd12650662
2 changed files with 7 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ export default function Timetable() {
<button <button
key={tab} key={tab}
onClick={() => setActiveTab(tab)} onClick={() => setActiveTab(tab)}
className={`${vipnagorgialla.className} uppercase italic px-4 py-2 text-lg font-semibold ${ className={`${vipnagorgialla.className} cursor-pointer uppercase italic px-4 py-2 text-lg font-semibold ${
activeTab === tab activeTab === tab
? "bg-[#00A3E0] text-white" ? "bg-[#00A3E0] text-white"
: "bg-[#007CAB] dark:bg-[#007CAB] text-[#EEE5E5] hover:bg-[#00A3E0] dark:hover:bg-[#007CAB]" : "bg-[#007CAB] dark:bg-[#007CAB] text-[#EEE5E5] hover:bg-[#00A3E0] dark:hover:bg-[#007CAB]"

View File

@@ -7,6 +7,11 @@ export type ScheduleItem = {
export const scheduleData: Record<string, ScheduleItem[]> = { export const scheduleData: Record<string, ScheduleItem[]> = {
"24. oktoober": [ "24. oktoober": [
{
title: "Uksed avatakse",
location: "Registreerimine ja setup aulas",
time: "17.00",
},
{ {
title: "League of Legends põhiturniir", title: "League of Legends põhiturniir",
location: "Aula", location: "Aula",
@@ -17,6 +22,7 @@ export const scheduleData: Record<string, ScheduleItem[]> = {
location: "Tudengimaja", location: "Tudengimaja",
time: "-", time: "-",
}, },
], ],
"25. oktoober": [ "25. oktoober": [
{ {