mirror of
https://github.com/zen-browser/www.git
synced 2025-07-07 17:05:32 +02:00
feat(prettier): add prettier formatting
This commit is contained in:
parent
01f4dac75d
commit
7fafa6bc69
85 changed files with 5670 additions and 2788 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue