fix: add the webmanifest (#95)

This commit is contained in:
2025-08-07 21:20:02 +00:00
committed by Gitea
2 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,7 @@
"theme_color": "#27272a",
"icons": [
{
"src": "/images/icon.png",
"src": "/assets/images/icon.png",
"sizes": "any",
"type": "image/png"
}

View File

@ -13,6 +13,7 @@ const TAILWIND_CSS: Asset = asset!("/assets/styles/tailwind_output.css");
const FONTS_CSS: Asset = asset!("/assets/styles/fonts.css");
const INPUT_NUMBER_ARROWS_CSS: Asset = asset!("/assets/styles/input_number_arrows.css");
const INPUT_RANGE_CSS: Asset = asset!("/assets/styles/input_range.css");
const MANIFEST: Asset = asset!("/assets/manifest.json");
#[component]
pub(crate) fn App() -> Element {
@ -39,6 +40,7 @@ pub(crate) fn App() -> Element {
document::Stylesheet { href: FONTS_CSS }
document::Stylesheet { href: INPUT_NUMBER_ARROWS_CSS }
document::Stylesheet { href: INPUT_RANGE_CSS }
document::Link { rel: "manifest", href: MANIFEST }
document::Script { src: "https://kit.fontawesome.com/3c1b409f8f.js" }
div {