---
import Layout from '../layouts/Layout.astro'
import BaseSection from '../layouts/baseSection.astro'
import TACard from '../components/taCard.astro'
import { plsLoadTAEntry } from '../utils/tools'
export interface Props {
datafile: string
}
const { datafile } = Astro.props
const taEntry = await plsLoadTAEntry(datafile)
const pagetitle = `${taEntry.info.title} - FGO TA`
taEntry.data.sort((a, b) => Date.parse(b.date) - Date.parse(a.date))
---
<< Back to database
{taEntry.data.map((item) => )}