diff --git a/client/src/components/auth.rs b/client/src/components/auth.rs index a9dcaf3..4f62615 100644 --- a/client/src/components/auth.rs +++ b/client/src/components/auth.rs @@ -55,7 +55,7 @@ pub fn Auth() -> impl IntoView { node_ref=username_input_ref disabled=move || !connected() /> -
+
impl IntoView { -
+
@@ -115,11 +115,11 @@ pub fn Browser() -> impl IntoView {

Packs

} } diff --git a/client/src/components/debug.rs b/client/src/components/debug.rs index a157e73..568fd36 100644 --- a/client/src/components/debug.rs +++ b/client/src/components/debug.rs @@ -37,7 +37,7 @@ pub fn Debug() -> impl IntoView { view! {
-
+

Debug:

"Connection Status: " {status}

"Users Online: " {online_users}

diff --git a/client/src/lib.rs b/client/src/lib.rs index 46cf6b4..9537e57 100644 --- a/client/src/lib.rs +++ b/client/src/lib.rs @@ -17,19 +17,19 @@ pub fn App() -> impl IntoView { provide_meta_context(); view! { - + // sets the document title - + <Title text="Cards for Humanity" /> // injects metadata in the <head> of the page - <Meta charset="UTF-8"/> - <Meta name="viewport" content="width=device-width, initial-scale=1.0"/> + <Meta charset="UTF-8" /> + <Meta name="viewport" content="width=device-width, initial-scale=1.0" /> <Router> <Routes> - <Route path="/" view=Home/> - <Route path="/*" view=NotFound/> + <Route path="/" view=Home /> + <Route path="/*" view=NotFound /> </Routes> </Router> } diff --git a/client/src/main.rs b/client/src/main.rs index 5edf2a2..ab646af 100644 --- a/client/src/main.rs +++ b/client/src/main.rs @@ -7,6 +7,6 @@ fn main() { console_error_panic_hook::set_once(); mount_to_body(|| { - view! { <App/> } + view! { <App /> } }) } diff --git a/client/src/pages/home.rs b/client/src/pages/home.rs index 1db5b97..807948a 100644 --- a/client/src/pages/home.rs +++ b/client/src/pages/home.rs @@ -32,18 +32,18 @@ pub fn Home() -> impl IntoView { <div class="container m-auto"> <h1 class="text-6xl inter-med text-neutral-200">"Cards For Humanity"</h1> <div class="bg-neutral-950"> - <Websocket/> - <hr/> - <Auth/> - <hr/> - <Browser/> - <hr/> - <Game/> - <hr/> - <Chat/> - <hr/> - <Debug/> - <hr/> + <Websocket /> + <hr /> + <Auth /> + <hr /> + <Browser /> + <hr /> + <Game /> + <hr /> + <Chat /> + <hr /> + <Debug /> + <hr /> <a href="https://git.doordesk.net/adam/cards/">git</a> </div> </div> diff --git a/client/src/pages/not_found.rs b/client/src/pages/not_found.rs index 85774bb..2f4e121 100644 --- a/client/src/pages/not_found.rs +++ b/client/src/pages/not_found.rs @@ -3,5 +3,5 @@ use leptos::*; /// 404 Not Found Page #[component] pub fn NotFound() -> impl IntoView { - view! { <h1>"Uh oh!" <br/> "We couldn't find that page!"</h1> } + view! { <h1>"Uh oh!" <br /> "We couldn't find that page!"</h1> } }