diff --git a/astro.config.mjs b/astro.config.mjs index 352c92b..2c1c7b6 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -6,11 +6,15 @@ export default defineConfig({ site: "https://aluu.xyz", integrations: [ sitemap({ + priority: 0.5, lastmod: new Date(), i18n: { locales: { en: "en-US", jp: "ja-JP", + fr: "fr-FR", + ru: "ru-RU", + zh: "zh-CN", }, defaultLocale: "en", }, diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 03a1829..aab6b4a 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -40,6 +40,7 @@ const { title, optionalPreloads } = Astro.props; + { optionalPreloads?.map((item) => { return ; diff --git a/src/types.d.ts b/src/types.d.ts index bacab17..9b47278 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -13,15 +13,6 @@ interface Window { wispData: WispData[]; } -declare global { - interface Global { - AluStore: AluStore; - } - - // Add the property to globalThis - let AluStore: AluStore; -} - type ExtType = "serviceWorker" | "theme" | "page"; type Extension = {