diff --git a/bun.lockb b/bun.lockb index d3190315d..466a6e303 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/packages/website/astro.config.mjs b/packages/website/astro.config.mjs index 666c3c70d..1cc967379 100644 --- a/packages/website/astro.config.mjs +++ b/packages/website/astro.config.mjs @@ -1,8 +1,30 @@ // @ts-check +import strings from "@blitzkit/i18n/strings/en.json"; +import favicons from "astro-favicons"; import { defineConfig } from "astro/config"; import react from "@astrojs/react"; export default defineConfig({ - integrations: [react()], + devToolbar: { enabled: false }, + + integrations: [ + favicons({ + name: strings.common.name, + short_name: strings.common.name, + + manifest: { start_url: "/", display_override: ["minimal-ui"] }, + + icons: { + windows: true, + android: true, + appleIcon: true, + appleStartup: true, + favicons: true, + yandex: true, + }, + }), + + react(), + ], }); diff --git a/packages/website/package.json b/packages/website/package.json index 36df5563c..3312821c6 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -12,6 +12,7 @@ "@types/react": "^19.1.14", "@types/react-dom": "^19.1.9", "astro": "^5.14.1", + "astro-favicons": "^3.1.5", "react": "^19.1.1", "react-dom": "^19.1.1" } diff --git a/packages/website/src/components/Favicons.astro b/packages/website/src/components/Favicons.astro index 924db4687..b2d7b176b 100644 --- a/packages/website/src/components/Favicons.astro +++ b/packages/website/src/components/Favicons.astro @@ -1,5 +1,7 @@ --- import { localizedHTML as favicons } from "astro-favicons/middleware"; + +const { locale } = Astro.params; --- - +