Merge branch 'master' of github.com:DioxusLabs/dioxus into router-2

This commit is contained in:
Adrian Wannenmacher committed 2022-12-17 19:02:26 +01:00
commit 13239d0e4b
12 files changed
+272 -295

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ fn App(cx: Scope) -> Element {
}}
" }
h1 {"Dioxus CRM Example"}
h1 { "Dioxus CRM Example" }
Outlet { }
}
+12 -11
View File
@@ -9,7 +9,6 @@ fn main() {
let cfg = Config::new().with_window(
WindowBuilder::new()
.with_title("Spinsense Client")
.with_inner_size(LogicalSize::new(600, 1000))
.with_resizable(false),
);
@@ -26,18 +25,20 @@ fn app(cx: Scope) -> Element {
});
render! {
Outlet { }
div {
Outlet { }
p {
"----"
}
p {
"----"
}
nav {
ul {
li { Link { target: "/", "Home" } }
li { Link { target: "/games", "Games" } }
li { Link { target: "/play", "Play" } }
li { Link { target: "/settings", "Settings" } }
nav {
ul {
li { Link { target: "/", "Home" } }
li { Link { target: "/games", "Games" } }
li { Link { target: "/play", "Play" } }
li { Link { target: "/settings", "Settings" } }
}
}
}
}