refactor: use the dedicated stylesheet component instead of a link (#88)

This commit is contained in:
Matouš Volf 2025-01-04 10:16:58 +00:00 committed by Gitea
commit 4271ec7c21
Signed by: Gitea
GPG Key ID: 5CE0FF381D397F63

View File

@ -35,10 +35,10 @@ pub(crate) fn App() -> Element {
rsx! { rsx! {
document::Link { rel: "icon", href: FAVICON } document::Link { rel: "icon", href: FAVICON }
document::Link { rel: "stylesheet", href: TAILWIND_CSS } document::Stylesheet { href: TAILWIND_CSS }
document::Link { rel: "stylesheet", href: FONTS_CSS } document::Stylesheet { href: FONTS_CSS }
document::Link { rel: "stylesheet", href: INPUT_NUMBER_ARROWS_CSS } document::Stylesheet { href: INPUT_NUMBER_ARROWS_CSS }
document::Link { rel: "stylesheet", href: INPUT_RANGE_CSS } document::Stylesheet { href: INPUT_RANGE_CSS }
document::Script { src: "https://kit.fontawesome.com/3c1b409f8f.js" } document::Script { src: "https://kit.fontawesome.com/3c1b409f8f.js" }
div { div {