updated timetable with new information

pull/47/head
Kerdo Käärma 4 months ago
parent bd12650662
commit aed4bf74c0
  1. 16
      src/app/ajakava/page.tsx
  2. 48
      src/data/timetable.ts

@ -42,26 +42,30 @@ export default function Timetable() {
{schedule.map((item, idx) => ( {schedule.map((item, idx) => (
<div <div
key={idx} key={idx}
className="border-l-3 border-[#007CAB] pl-4 flex flex-row gap-12" className="border-l-3 border-[#007CAB] pl-4 flex flex-row flex-wrap gap-5 items-stretch"
> >
<div <div
className={` ${vipnagorgialla.className} text-[#00A3E0] text-5xl font-bold italic`} className={`${vipnagorgialla.className} text-[#00A3E0] text-4xl font-bold italic flex-shrink-0 flex items-center justify-center`}
style={{ width: "180px", minWidth: "180px" }}
> >
{item.time} {item.time}
</div> </div>
<div> <div
className="flex-1 flex flex-col justify-center min-h-[120px]"
style={{ minWidth: "0" }}
>
<div <div
className={`${vipnagorgialla.className} text-4xl italic font-bold text-[#2A2C3F] dark:text-[#EEE5E5]`} className={`${vipnagorgialla.className} text-3xl italic font-bold text-[#2A2C3F] dark:text-[#EEE5E5] text-balance`}
> >
{item.title} {item.title}
</div> </div>
{item.description && ( {item.description && (
<div className="text-2xl text-[#938BA1] dark:text-[#938BA1]"> <div className="text-2xl text-[#938BA1] dark:text-[#938BA1] text-balance">
{item.description} {item.description}
</div> </div>
)} )}
{item.location && ( {item.location && (
<div className="text-2xl text-[#938BA1] dark:text-[#938BA1]"> <div className="text-2xl text-[#938BA1] dark:text-[#938BA1] text-balance">
{item.location} {item.location}
</div> </div>
)} )}

@ -10,30 +10,60 @@ export const scheduleData: Record<string, ScheduleItem[]> = {
{ {
title: "Uksed avatakse", title: "Uksed avatakse",
location: "Registreerimine ja setup aulas", location: "Registreerimine ja setup aulas",
time: "17.00", time: "17:00",
}, },
{ {
title: "League of Legends põhiturniir", title: "Põhiturniirid algavad",
location: "Aula", location: "Aula",
time: "-", time: "20:00",
}, },
{ {
title: "Miniturniirid", title: "Miniturniiride kick-off",
location: "Tudengimaja", location: "Tudengimaja",
time: "-", time: "18:00",
},
{
title: "Fighting games turniiride algus",
location: "Tudengimaja",
time: "18:30",
},
{
title: "Uksed suletakse",
location: "Aula ja Tudengimaja",
time: "*01:00",
}, },
], ],
"25. oktoober": [ "25. oktoober": [
{ {
title: "Counter-Strike 2 põhiturniir", title: "Uksed avatakse",
location: "Aula ja Tudengimaja",
time: "10:00",
},
{
title: "Miniturniirid algavad",
location: "Tudengimaja",
time: "11:00",
},
{
title: "Granblue turniir",
location: "Tudengimaja",
time: "11:30",
},
{
title: "Põhiturniirid algavad",
location: "Aula", location: "Aula",
time: "-", time: "12:00",
}, },
{ {
title: "Miniturniirid", title: " Gran Turismo turniir",
location: "Tudengimaja", location: "Tudengimaja",
time: "-", time: "20:00",
},
{
title: "Uksed suletakse",
location: "Aula ja Tudengimaja",
time: "*01:00",
}, },
], ],
}; };

Loading…
Cancel
Save