diff options
author | Ashelyn Rose <git@ashen.earth> | 2025-03-22 16:24:41 -0600 |
---|---|---|
committer | Ashelyn Rose <git@ashen.earth> | 2025-03-22 16:24:41 -0600 |
commit | 2bf70606fc62c989973f84f2961df2d42d7f9c04 (patch) | |
tree | 8758d4ec6b9688b1fb150a05b95ff7f3932d3c53 /src/components/layout/mod.rs | |
parent | 63e2395caf4ae93ebde96d97e12fc946af1e9ac9 (diff) |
Better layout styling
Diffstat (limited to 'src/components/layout/mod.rs')
-rw-r--r-- | src/components/layout/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/layout/mod.rs b/src/components/layout/mod.rs index 6ec37da..4b8061e 100644 --- a/src/components/layout/mod.rs +++ b/src/components/layout/mod.rs @@ -7,20 +7,20 @@ stylance::import_crate_style!(styles, "src/components/layout/layout.module.css") #[component] pub fn Layout() -> impl IntoView { view! { - <main class=styles::layout> + <div class=styles::layout> <header> <h1>Site Title</h1> </header> <nav> <p>Nav</p> </nav> - <article> + <main> <p>Article</p> <Outlet/> - </article> + </main> <footer> <p>Footer</p> </footer> - </main> + </div> } } |