diff --git a/crates/www/src/app.rs b/crates/www/src/app.rs index b4f6bce..8de9b72 100644 --- a/crates/www/src/app.rs +++ b/crates/www/src/app.rs @@ -16,7 +16,7 @@ pub fn shell(options: LeptosOptions) -> impl IntoView { panic!("Must set CDN_PATH env var") }; view! { - + @@ -55,6 +55,5 @@ pub fn App() -> impl IntoView { - } } diff --git a/crates/www/src/components/sidebar.rs b/crates/www/src/components/sidebar.rs index 050232a..5cfde55 100644 --- a/crates/www/src/components/sidebar.rs +++ b/crates/www/src/components/sidebar.rs @@ -35,193 +35,261 @@ pub fn Sidebar( children: Children, ) -> impl IntoView { view! { -
- {/* Off-canvas menu for mobile, show/hide based on off-canvas menu state. */} - } } diff --git a/crates/www/src/routes/garden.rs b/crates/www/src/routes/garden.rs index 179f518..785a26b 100644 --- a/crates/www/src/routes/garden.rs +++ b/crates/www/src/routes/garden.rs @@ -7,14 +7,12 @@ use leptos::prelude::*; #[component] pub fn GardenPage() -> impl IntoView { view! { - -
- -
-
- posts -
-
+ +
+ +
+
posts
+
} } @@ -35,9 +33,7 @@ pub fn Hero() -> impl IntoView { alt="party corgi rainbow animated" /> -

- This is all of my posts -

+

This is all of my posts

} diff --git a/crates/www/src/routes/index.rs b/crates/www/src/routes/index.rs index b370e2a..790f627 100644 --- a/crates/www/src/routes/index.rs +++ b/crates/www/src/routes/index.rs @@ -147,149 +147,149 @@ pub fn IndexPage() -> impl IntoView { ); view! { -
- -
-
- +
+ +
+
+ - -

{content.title}

+ +

{content.title}

- {if content.content == "svg-art" { - view! { wgpu and wgsl } - .into_any() - } else if content.content == "svg-hex" { - view! { - - - - - - - - - - - - - - - - - - - - - - - } - .into_any() - } else if content.content == "svg-bevy" { - view! { game development }.into_any() - } else if content.content == "wasm" { - view! { -
-

- - - Wasm - -

- - Webassembly, Leptos, Rust, and more... + {if content.content == "svg-art" { + view! { wgpu and wgsl } + .into_any() + } else if content.content == "svg-hex" { + view! { + + + + + + + + + + + + + + + + + + + + + -
- } - .into_any() - } else { - view! { - - //

{content.content}

- -
- } - .into_any() - }} + } + .into_any() + } else if content.content == "svg-bevy" { + view! { game development }.into_any() + } else if content.content == "wasm" { + view! { +
+

+ + + Wasm + +

+ + Webassembly, Leptos, Rust, and more... + +
+ } + .into_any() + } else { + view! { + + //

{content.content}

+ +
+ } + .into_any() + }} -
-
+ +
+ } } - } - /> + /> - +
} } @@ -326,8 +326,8 @@ pub fn Hero() -> impl IntoView { // color=ButtonColor::TWITTER // icon="twitter"> // Twitter -