2026-03-03 17:46:51 +01:00
|
|
|
use crate::components::{Controls, MouseArea};
|
2026-02-28 22:24:42 +01:00
|
|
|
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,
|
2026-03-03 17:46:51 +01:00
|
|
|
Controls { }
|
2026-02-28 22:24:42 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|