parent
0afe61add2
commit
2af757d5bd
12 changed files with 83 additions and 9 deletions
src/pages/teslafest
26
src/pages/teslafest/index.astro
Normal file
26
src/pages/teslafest/index.astro
Normal file
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
import { getCollection } from 'astro:content';
|
||||
import Layout from '../../layouts/Layout.astro'
|
||||
import QuestListing from '../../components/questListing.astro'
|
||||
import DatabaseSection from '../../layouts/databaseSection.astro'
|
||||
|
||||
const description = 'NA Teslafest'
|
||||
const fulldata = await getCollection('teslafest')
|
||||
|
||||
fulldata.sort(
|
||||
(a, b) => b.data.info.releaseDate.valueOf() - a.data.info.releaseDate.valueOf() || b.data.info.releaseNumber - a.data.info.releaseNumber
|
||||
)
|
||||
|
||||
---
|
||||
|
||||
<Layout
|
||||
title="Teslafest - FGO TA"
|
||||
currentpage="teslafest"
|
||||
descriptionOverride={description}
|
||||
>
|
||||
<DatabaseSection title="Teslafest - All Quests">
|
||||
{fulldata.map((quest) => <QuestListing { ...{...quest.data.info, slug: quest.id} } baseurl="teslafest" />)}
|
||||
</DatabaseSection>
|
||||
</Layout>
|
||||
|
||||
<style></style>
|
Loading…
Add table
Add a link
Reference in a new issue