use crate::components::BackgroundProps; use crate::components::Background; use crate::routes::whymdc::*; use crate::routes::home::*; use crate::routes::blog::*; use leptos::*; use leptos_meta::*; use leptos_router::*; #[component] pub fn App(cx: Scope) -> impl IntoView { // Provides context that manages stylesheets, titles, meta tags, etc. provide_meta_context(cx); view! { cx, // injects a stylesheet into the document
// id=leptos means cargo-leptos will hot-reload this stylesheet