Started work on Teslafest Section

This commit is contained in:
Firq 2024-04-28 14:45:59 +02:00
parent 0afe61add2
commit 2af757d5bd
Signed by: Firq
GPG key ID: 4DE1059A4666E89F
12 changed files with 83 additions and 9 deletions
src/pages/teslafest

View 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>