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-09 17:01:31 +01:00
|
|
|
(a, b) => b.data.info.questReleaseDate.valueOf() - a.data.info.questReleaseDate.valueOf() || b.data.info.fightNumber - a.data.info.fightNumber
|
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}
|
|
|
|
>
|
|
|
|
<DatabaseSection title="FGO NA TA Database">
|
2024-01-09 17:01:31 +01:00
|
|
|
{fulldata.map((quest) => <QuestListing { ...{...quest.data.info, slug: quest.id} } />)}
|
2024-01-02 23:19:14 +01:00
|
|
|
</DatabaseSection>
|
|
|
|
</Layout>
|
|
|
|
|
|
|
|
<style></style>
|