mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
feat: more pwa entries
This commit is contained in:
1 parent
75d7b4554b
commit
4ff9a2ec7f
1 file changed
+20
-5
@@ -1,12 +1,12 @@
|
|||||||
// @ts-check
|
import react from "@astrojs/react";
|
||||||
|
import { wrapper } from "@blitzkit/i18n";
|
||||||
|
import locales from "@blitzkit/i18n/locales.json";
|
||||||
import strings from "@blitzkit/i18n/strings/en.json";
|
import strings from "@blitzkit/i18n/strings/en.json";
|
||||||
|
import { mauve, mauveDark } from "@radix-ui/colors";
|
||||||
import AstroPWA from "@vite-pwa/astro";
|
import AstroPWA from "@vite-pwa/astro";
|
||||||
import favicons from "astro-favicons";
|
import favicons from "astro-favicons";
|
||||||
import { defineConfig } from "astro/config";
|
import { defineConfig } from "astro/config";
|
||||||
|
import packageJSON from "../../package.json";
|
||||||
import react from "@astrojs/react";
|
|
||||||
import { wrapper } from "@blitzkit/i18n";
|
|
||||||
import { mauve, mauveDark } from "@radix-ui/colors";
|
|
||||||
import { tools } from "./src/constants/tools";
|
import { tools } from "./src/constants/tools";
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
@@ -21,6 +21,8 @@ export default defineConfig({
|
|||||||
themes: [mauve.mauve1, mauveDark.mauve1],
|
themes: [mauve.mauve1, mauveDark.mauve1],
|
||||||
appleStatusBarStyle: "black-translucent",
|
appleStatusBarStyle: "black-translucent",
|
||||||
|
|
||||||
|
version: packageJSON.version,
|
||||||
|
|
||||||
shortcuts: Object.values(tools)
|
shortcuts: Object.values(tools)
|
||||||
.filter((tool) => !tool.disabled && !tool.href)
|
.filter((tool) => !tool.disabled && !tool.href)
|
||||||
.map((tool) => {
|
.map((tool) => {
|
||||||
@@ -45,9 +47,22 @@ export default defineConfig({
|
|||||||
}),
|
}),
|
||||||
|
|
||||||
manifest: {
|
manifest: {
|
||||||
|
description: strings.website.home.seo_description,
|
||||||
|
description_localized: wrapper(
|
||||||
|
(strings) => strings.website.home.seo_description
|
||||||
|
),
|
||||||
|
|
||||||
|
dir: "ltr",
|
||||||
|
categories: ["utilities", "games", "developer", "developer tools"],
|
||||||
|
|
||||||
|
id: "com.tresabhi.blitzkit",
|
||||||
start_url: "/",
|
start_url: "/",
|
||||||
|
launch_handler: { client_mode: "navigate-new" },
|
||||||
display: "fullscreen",
|
display: "fullscreen",
|
||||||
display_override: ["fullscreen", "standalone", "minimal-ui"],
|
display_override: ["fullscreen", "standalone", "minimal-ui"],
|
||||||
|
|
||||||
|
lang: locales.default,
|
||||||
|
orientation: "any",
|
||||||
},
|
},
|
||||||
|
|
||||||
icons: {
|
icons: {
|
||||||
|
|||||||
Reference in new issue
Block a user