2024-01-02 23:19:14 +01:00
|
|
|
---
|
2024-01-09 14:30:28 +01:00
|
|
|
import { getCollection } from 'astro:content';
|
2024-01-03 00:59:59 +01:00
|
|
|
import Layout from '../../layouts/Layout.astro'
|
|
|
|
import QuestListing from '../../components/questListing.astro'
|
|
|
|
import DatabaseSection from '../../layouts/databaseSection.astro'
|
2024-01-02 23:19:14 +01:00
|
|
|
|
2024-01-03 00:59:59 +01:00
|
|
|
const description = 'FGO NA TA Database'
|
2024-01-09 14:30:28 +01:00
|
|
|
const fulldata = await getCollection('taInfoData')
|
2024-01-02 23:19:14 +01:00
|
|
|
|
2024-01-09 14:30:28 +01:00
|
|
|
fulldata.sort(
|
2024-01-24 22:22:54 +01:00
|
|
|
(a, b) => b.data.info.releaseDate.valueOf() - a.data.info.releaseDate.valueOf() || b.data.info.releaseNumber - a.data.info.releaseNumber
|
2024-01-02 23:58:10 +01:00
|
|
|
)
|
2024-01-02 23:19:14 +01:00
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<Layout
|
2024-01-05 00:43:02 +01:00
|
|
|
title="TA Database - FGO TA"
|
2024-01-02 23:19:14 +01:00
|
|
|
currentpage="database"
|
|
|
|
descriptionOverride={description}
|
|
|
|
>
|
2024-05-12 23:52:44 +02:00
|
|
|
<DatabaseSection title="NA Runs">
|
2024-04-28 14:45:59 +02:00
|
|
|
{fulldata.map((quest) => <QuestListing { ...{...quest.data.info, slug: quest.id} } baseurl="database" />)}
|
2024-01-02 23:19:14 +01:00
|
|
|
</DatabaseSection>
|
|
|
|
</Layout>
|
|
|
|
|
|
|
|
<style></style>
|