diff --git a/gh-pages/src/app.rs b/gh-pages/src/app.rs index bc07606..dd905ad 100644 --- a/gh-pages/src/app.rs +++ b/gh-pages/src/app.rs @@ -21,6 +21,7 @@ pub fn App() -> impl IntoView { + diff --git a/gh-pages/src/pages/checkbox/mod.rs b/gh-pages/src/pages/checkbox/mod.rs index 782d839..a0f8765 100644 --- a/gh-pages/src/pages/checkbox/mod.rs +++ b/gh-pages/src/pages/checkbox/mod.rs @@ -28,7 +28,7 @@ pub fn CheckboxPage() -> impl IntoView { } - +

"group"

diff --git a/gh-pages/src/pages/components.rs b/gh-pages/src/pages/components.rs index 8bc681a..a9c317b 100644 --- a/gh-pages/src/pages/components.rs +++ b/gh-pages/src/pages/components.rs @@ -48,6 +48,7 @@ pub fn ComponentsPage() -> impl IntoView { + diff --git a/gh-pages/src/pages/mod.rs b/gh-pages/src/pages/mod.rs index 07c63e8..704fa28 100644 --- a/gh-pages/src/pages/mod.rs +++ b/gh-pages/src/pages/mod.rs @@ -10,6 +10,7 @@ mod modal; mod nav_bar; mod select; mod slider; +mod space; mod tabbar; mod tabs; mod toast; @@ -26,6 +27,7 @@ pub use modal::*; pub use nav_bar::*; pub use select::*; pub use slider::*; +pub use space::*; pub use tabbar::*; pub use tabs::*; pub use toast::*; diff --git a/gh-pages/src/pages/space/mod.rs b/gh-pages/src/pages/space/mod.rs new file mode 100644 index 0000000..969fe82 --- /dev/null +++ b/gh-pages/src/pages/space/mod.rs @@ -0,0 +1,60 @@ +use crate::components::{Demo, DemoCode}; +use indoc::indoc; +use leptos::*; +use melt_ui::*; + +#[component] +pub fn SpacePage() -> impl IntoView { + view! { +
+

"Space"

+ + + + + + + + { + indoc!(r#" + + + + + + "#) + } + + +

"gap"

+ + + + + + + + + + + + + { + indoc!(r#" + + + + + + + + + + + "#) + } + + +
+ } +}