Calendar changes & new guest
CI/CD Deploy / test (push) Successful in 1m5s
CI/CD Deploy / build-push (push) Successful in 1m33s
CI/CD Deploy / deploy (push) Successful in 32s

This commit is contained in:
Antoni Nuñez Romeu
2026-08-28 09:56:21 +02:00
parent 1253f91599
commit a5538f0b9f
3 changed files with 44 additions and 14 deletions
+17 -10
View File
@@ -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>
);
})}