diff options
| author | aman333nolawz <amananudhiu@gmail.com> | 2026-07-05 21:00:27 +0530 |
|---|---|---|
| committer | aman333nolawz <amananudhiu@gmail.com> | 2026-07-05 21:00:27 +0530 |
| commit | c7cbd19fe2d6e3bb9b788ef85ff97cfb2dc56cf2 (patch) | |
| tree | bad23113788721adc085afd934bb44e199183e40 | |
| parent | cd2f1db8e00d9d7b2963c0ea3e087784d6951b34 (diff) | |
fix(build): Fix some a error and minor changes in contents
| -rw-r--r-- | src/components/EventDetails.astro | 14 | ||||
| -rw-r--r-- | src/content/events/osm-mapping/index.mdx | 2 | ||||
| -rw-r--r-- | src/content/events/pravconf-talk/index.mdx | 10 | ||||
| -rw-r--r-- | src/pages/events/[...id].astro | 4 |
4 files changed, 8 insertions, 22 deletions
diff --git a/src/components/EventDetails.astro b/src/components/EventDetails.astro index 5923247..831c26e 100644 --- a/src/components/EventDetails.astro +++ b/src/components/EventDetails.astro @@ -10,20 +10,6 @@ interface Detail { href?: string } -interface EventDetailsProps { - title?: string - date?: string - time?: string - venue?: string - requirements?: string - registration?: string - organiser?: string - website?: string - details?: Detail[] - variant?: 'default' | 'compact' - class?: string -} - const { title, date, diff --git a/src/content/events/osm-mapping/index.mdx b/src/content/events/osm-mapping/index.mdx index 71d563d..d243b62 100644 --- a/src/content/events/osm-mapping/index.mdx +++ b/src/content/events/osm-mapping/index.mdx @@ -10,7 +10,7 @@ import EventDetails from '@/components/EventDetails.astro' <EventDetails title="Details" date="July 7, 2026" - time="2:00 PM – 4:00 PM" + time="2:00 PM - 4:00 PM" venue="CS Department" requirements="Laptop (Recommended)" /> diff --git a/src/content/events/pravconf-talk/index.mdx b/src/content/events/pravconf-talk/index.mdx index 6f86cba..ceee9f6 100644 --- a/src/content/events/pravconf-talk/index.mdx +++ b/src/content/events/pravconf-talk/index.mdx @@ -10,7 +10,7 @@ import EventDetails from '@/components/EventDetails.astro' <EventDetails title="Details" date="6 July 2026" - time="9:30 AM – 11:30 AM" + time="9:30 AM - 11:30 AM" venue="CETAA Hall" website="https://prav.app/conf/2026/" details={[ @@ -30,10 +30,10 @@ Students, developers, and open source enthusiasts are welcome to participate in <div class="table-left"> | Day | Time | Event | |-----|------|-------| -| July 6 | 9:30 AM – 11:30 AM | PravConf Talk: *An Introduction to Prav and the Fediverse* | -| July 6 | 11:30 AM – 4:30 PM | PravCamp Day 1 | -| July 7 | 9:30 AM – 4:30 PM | PravCamp Day 2 | -| July 7 | 2:00 PM – 4:00 PM | OSM Mapping Session | +| July 6 | 9:30 AM - 11:30 AM | PravConf Talk: *An Introduction to Prav and the Fediverse* | +| July 6 | 11:30 AM - 4:30 PM | PravCamp Day 1 | +| July 7 | 9:30 AM - 4:30 PM | PravCamp Day 2 | +| July 7 | 2:00 PM - 4:00 PM | OSM Mapping Session | </div> ## Hosted By diff --git a/src/pages/events/[...id].astro b/src/pages/events/[...id].astro index e2e66de..7a125df 100644 --- a/src/pages/events/[...id].astro +++ b/src/pages/events/[...id].astro @@ -1,6 +1,6 @@ --- import Breadcrumbs from '@/components/Breadcrumbs.astro' -import PostHead from '@/components/PostHead.astro' +import PageHead from '@/components/PageHead.astro' import PostNavigation from '@/components/PostNavigation.astro' import TOCHeader from '@/components/TOCHeader.astro' import TOCSidebar from '@/components/TOCSidebar.astro' @@ -34,7 +34,7 @@ const tocSections = await getTOCSections(currentEventId) --- <Layout> - <PostHead slot="head" post={event} /> + <PageHead slot="head" title={event.data.title} description={event.data.description} /> { headings?.length > 0 && !(headings.length === 1 && headings[0].text === event.data.title) && ( |
