refactor: use the dedicated stylesheet component instead of a link

This commit is contained in:
Matouš Volf 2025-01-04 10:44:05 +01:00
parent bcac82b860
commit 1deffe8ee4
Signed by: matous-volf
GPG Key ID: A23C7E16096933BE

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