27 lines
792 B
Text
27 lines
792 B
Text
|
---
|
||
|
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>
|