16 lines
370 B
Rust
16 lines
370 B
Rust
use crate::components::Controls;
|
|
use dioxus::prelude::*;
|
|
|
|
/// The Home page component that will be rendered when the current route is `[Route::Home]`
|
|
#[component]
|
|
pub fn Home() -> Element {
|
|
#[css_module("/assets/styling/home.module.css")]
|
|
struct Styles;
|
|
|
|
rsx! {
|
|
div {
|
|
class: Styles::container,
|
|
Controls { }
|
|
}
|
|
}
|
|
}
|