Skip to content

Commit

Permalink
Add talk pages
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewiggins committed Dec 29, 2024
1 parent 68df423 commit 215df9f
Show file tree
Hide file tree
Showing 24 changed files with 255 additions and 377 deletions.
38 changes: 0 additions & 38 deletions app/api/$$.mjs

This file was deleted.

21 changes: 0 additions & 21 deletions app/api/events.mjs

This file was deleted.

26 changes: 0 additions & 26 deletions app/api/events/$id.mjs

This file was deleted.

20 changes: 0 additions & 20 deletions app/api/index.mjs

This file was deleted.

8 changes: 0 additions & 8 deletions app/api/organizers.mjs

This file was deleted.

8 changes: 0 additions & 8 deletions app/api/speakers.mjs

This file was deleted.

9 changes: 0 additions & 9 deletions app/api/speakers/$id.mjs

This file was deleted.

13 changes: 0 additions & 13 deletions app/api/sponsors.mjs

This file was deleted.

28 changes: 0 additions & 28 deletions app/api/talks.mjs

This file was deleted.

28 changes: 0 additions & 28 deletions app/api/talks/$id.mjs

This file was deleted.

45 changes: 0 additions & 45 deletions app/elements/person-detail.mjs

This file was deleted.

14 changes: 0 additions & 14 deletions app/elements/view-speaker.mjs

This file was deleted.

21 changes: 0 additions & 21 deletions app/pages/speakers.mjs

This file was deleted.

9 changes: 0 additions & 9 deletions app/pages/speakers/$id.mjs

This file was deleted.

30 changes: 0 additions & 30 deletions app/pages/talks.mjs

This file was deleted.

50 changes: 0 additions & 50 deletions app/pages/talks/$id.mjs

This file was deleted.

4 changes: 2 additions & 2 deletions src/components/Event.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
import { marked } from 'marked'
import { toHTML } from '@/utils/markdown'
import Sponsor from '@/components/Sponsor.astro'
import TalkCard from '@/components/TalkCard.astro'
import { inflateEvent, type SJSEvent } from '@/utils/data'
Expand All @@ -9,7 +9,7 @@ const event = inflateEvent(baseEvent)
---

<h3>{event.title}</h3>
{event.description && <p>{marked(event.description)}</p>}
{event.description && <p set:html={toHTML(event.description)} />}
{event.sponsors.length > 0 && <h4>Thanks to our Sponsors ❤️</h4>}
{event.sponsors.map(sponsor => <Sponsor sponsor={sponsor} />)}
<div class="cta">
Expand Down
Loading

0 comments on commit 215df9f

Please sign in to comment.