diff --git a/src/components/ScheduleItem.tsx b/src/components/ScheduleItem.tsx index 03424d4..6a704f1 100644 --- a/src/components/ScheduleItem.tsx +++ b/src/components/ScheduleItem.tsx @@ -4,13 +4,13 @@ import { getLocalTime } from '../utils/getLocalTime' interface Props { item: typeItem } -export default function ScheduleItem ({ +export default function ScheduleItem({ item: { date, name, speaker, type }, }: Props) { const { time } = useMemo(() => getLocalTime(date), [date]) return ( -
-

+
+

- + {time}hs

{type === 'presentation' && ( -

{speaker}

+

{speaker}

)}
) diff --git a/src/pages/index.astro b/src/pages/index.astro index 901163c..5eb95aa 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -47,7 +47,7 @@ const ogTitle =