Fix the router and stub out a number of crates to get compiling

This commit is contained in:
Jonathan Kelley committed 2024-01-13 20:51:37 -08:00
1 parent 4c6e515da4
commit fae0b08e61
226 files changed
+1057 -1482

No files matched your search

+6 -6
View File
@@ -15,7 +15,7 @@ fn main() {
}
#[component]
fn App(cx: Scope) -> Element {
fn App() -> Element {
render! {
Router::<Route> {}
}
@@ -36,7 +36,7 @@ enum Route {
}
#[component]
fn Footer(cx: Scope) -> Element {
fn Footer() -> Element {
render! {
div {
Outlet::<Route> { }
@@ -58,21 +58,21 @@ fn Footer(cx: Scope) -> Element {
}
#[component]
fn Home(cx: Scope) -> Element {
fn Home() -> Element {
render!("Home")
}
#[component]
fn Games(cx: Scope) -> Element {
fn Games() -> Element {
render!("Games")
}
#[component]
fn Play(cx: Scope) -> Element {
fn Play() -> Element {
render!("Play")
}
#[component]
fn Settings(cx: Scope) -> Element {
fn Settings() -> Element {
render!("Settings")
}