Added more TAs to Beast4L, fixed unlighthouse issue, optimized dev experience by throwing actual useful errors
This commit is contained in:
parent
278c39cb3b
commit
34784a3bf1
21 changed files with 112 additions and 33 deletions
src/pages
|
@ -8,11 +8,11 @@ const description = "Error. This shouldn't happen :/"
|
|||
---
|
||||
|
||||
<Layout
|
||||
title="404 - Firq FGO Site"
|
||||
title="404 - FGO TA"
|
||||
currentpage="404"
|
||||
descriptionOverride={description}
|
||||
>
|
||||
<BaseSection title="FirqhundredandFirq - Not Found" description="">
|
||||
<BaseSection title="Firqhundred­andFirq - Not Found" description="">
|
||||
<div>
|
||||
<Image src={sadshishou} alt="Sad Shishou" />
|
||||
<h2>Well ... you were not supposed to end up here.</h2>
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
---
|
||||
import TaShowcaseLayout from '../../layouts/taShowcaseLayout.astro'
|
||||
import { findSlug } from '../../utils/slugTools'
|
||||
import type { GlobAny } from '../../types/generic'
|
||||
import { findSlug } from '../../utils/tools'
|
||||
|
||||
export function getStaticPaths() {
|
||||
const fulldata = import.meta.glob<{ default: any }>(
|
||||
const fulldata = import.meta.glob<GlobAny>(
|
||||
`../../content/data/*.json`
|
||||
)
|
||||
const keylist = Object.keys(fulldata).map((item) => findSlug(item)!)
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
import Layout from '../../layouts/Layout.astro'
|
||||
import QuestListing from '../../components/questListing.astro'
|
||||
import DatabaseSection from '../../layouts/databaseSection.astro'
|
||||
import { findSlug } from '../../utils/slugTools'
|
||||
import type { filedata } from '../../types/ta'
|
||||
import { findSlug } from '../../utils/tools'
|
||||
import type { GlobFiledata } from '../../types/generic'
|
||||
|
||||
const description = 'FGO NA TA Database'
|
||||
|
||||
const questInfo = []
|
||||
const fulldata = import.meta.glob<{ default: filedata }>(
|
||||
const fulldata = import.meta.glob<GlobFiledata>(
|
||||
`../../content/data/*.json`
|
||||
)
|
||||
|
||||
|
@ -26,7 +26,7 @@ questInfo.sort(
|
|||
---
|
||||
|
||||
<Layout
|
||||
title="FGO NA TA Database"
|
||||
title="TA Database - FGO TA"
|
||||
currentpage="database"
|
||||
descriptionOverride={description}
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue