Skip to content

Commit

Permalink
Show Schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
mirhamasala committed Oct 9, 2024
1 parent ffce3b3 commit 6c5437c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/app/events/[slug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { PageSection } from '@/components/PageSection'
import { StructuredDataScript } from '@/components/StructuredDataScript'
import { TagLabel } from '@/components/TagLabel'

import { Schedule } from './components/Schedule'
import { SponsorSection } from './components/SponsorSection'
import { buildCtaArray } from './utils/buildCtaArray'
import { generateStructuredData } from './utils/generateStructuredData'
Expand Down Expand Up @@ -47,6 +48,7 @@ export default function EventEntry({ params }: EventProps) {
externalLink,
lumaCalendarLink,
lumaEventsSection,
schedule,
speakers,
sponsors,
} = data
Expand All @@ -71,6 +73,12 @@ export default function EventEntry({ params }: EventProps) {
/>
</div>

{schedule && schedule.days && schedule.days.length > 0 && (
<PageSection kicker="Join Us" title={schedule.title || 'Schedule'}>
<Schedule schedule={schedule} />
</PageSection>
)}

{lumaEventsSection && (
<PageSection kicker="Explore" title={lumaEventsSection.title}>
<iframe
Expand Down

0 comments on commit 6c5437c

Please sign in to comment.