add aspnet server

This commit is contained in:
2026-01-14 20:20:15 -05:00
parent 2d2f4c8b89
commit 8fa5612403
40 changed files with 605 additions and 7 deletions

23
client/src/app.rs Normal file
View File

@@ -0,0 +1,23 @@
use dioxus::prelude::*;
use crate::route::Route;
const FAVICON: Asset = asset!("/assets/favicon.ico");
const MAIN_CSS: Asset = asset!("/assets/styling/main.scss");
#[component]
pub fn App() -> Element {
rsx! {
document::Link { rel: "icon", href: FAVICON }
document::Link { rel: "stylesheet", href: MAIN_CSS }
document::Link { rel: "preconnect", href: "https://fonts.googleapis.com" }
document::Link { rel: "preconnect", href: "https://fonts.gstatic.com" }
document::Link {
rel: "stylesheet",
href: "https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap",
}
Router::<Route> {}
}
}