mirror of
https://github.com/Ichitux/lambada-fiesta-live.git
synced 2026-09-28 02:22:22 +00:00
Calendar changes & new guest
This commit is contained in:
@@ -21,6 +21,7 @@ type ScheduleEvent = {
|
||||
time: string;
|
||||
title: string;
|
||||
type: string;
|
||||
details?: string[];
|
||||
parallel?: ScheduleEvent[];
|
||||
};
|
||||
|
||||
@@ -29,10 +30,6 @@ const ScheduleSection = () => {
|
||||
|
||||
const dayKeys = ["friday", "saturday", "sunday"] as const;
|
||||
|
||||
const formatEventTitle = (event: { type: string; title: string }, dayIndex: number) => {
|
||||
return event.title;
|
||||
};
|
||||
|
||||
return (
|
||||
<section
|
||||
id="schedule"
|
||||
@@ -83,9 +80,14 @@ const ScheduleSection = () => {
|
||||
}`}
|
||||
>
|
||||
<PIcon className="w-4 h-4 shrink-0" />
|
||||
<p className="text-sm font-semibold">
|
||||
{pEvent.title}
|
||||
</p>
|
||||
<div className="min-w-0">
|
||||
<p className="text-sm font-semibold">{pEvent.title}</p>
|
||||
{pEvent.details?.map((detail) => (
|
||||
<p key={detail} className="text-xs opacity-75">
|
||||
{detail}
|
||||
</p>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
@@ -103,9 +105,14 @@ const ScheduleSection = () => {
|
||||
>
|
||||
<Icon className="w-4 h-4 shrink-0" />
|
||||
<p className="text-xs font-medium opacity-70 whitespace-nowrap">{event.time}</p>
|
||||
<p className="text-sm font-semibold">
|
||||
{formatEventTitle(event as { type: string; title: string }, di)}
|
||||
</p>
|
||||
<div className="min-w-0">
|
||||
<p className="text-sm font-semibold">{event.title}</p>
|
||||
{event.details?.map((detail) => (
|
||||
<p key={detail} className="text-xs opacity-75">
|
||||
{detail}
|
||||
</p>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user