feat(prettier): add prettier formatting

This commit is contained in:
Shintaro Jokagi 2025-05-28 13:43:44 +12:00
parent 01f4dac75d
commit 7fafa6bc69
No known key found for this signature in database
GPG key ID: 0DDF8FA44C9A0DA8
85 changed files with 5670 additions and 2788 deletions

View file

@ -1,11 +1,11 @@
---
import Description from '~/components/Description.astro'
import ModsList from '~/components/ModsList'
import { CONSTANT } from '~/constants'
import Layout from '~/layouts/Layout.astro'
import { getAllMods } from '~/mods'
import { getLocale, getUI } from '~/utils/i18n'
export { getStaticPaths } from '~/utils/i18n'
import Description from "~/components/Description.astro"
import ModsList from "~/components/ModsList"
import { CONSTANT } from "~/constants"
import Layout from "~/layouts/Layout.astro"
import { getAllMods } from "~/mods"
import { getLocale, getUI } from "~/utils/i18n"
export { getStaticPaths } from "~/utils/i18n"
const locale = getLocale(Astro)
@ -27,10 +27,6 @@ const allMods = (await getAllMods()) || []
</header>
<!-- Importing ModList component -->
<ModsList
allMods={allMods}
locale={locale ?? CONSTANT.I18N.DEFAULT_LOCALE}
client:load
/>
<ModsList allMods={allMods} locale={locale ?? CONSTANT.I18N.DEFAULT_LOCALE} client:load />
</main>
</Layout>