Add themes, update layout, fix pages
Some checks failed
Build Crate / build (push) Failing after 1m53s
Some checks failed
Build Crate / build (push) Failing after 1m53s
This commit is contained in:
20
src/components/static_components/menu_button.rs
Normal file
20
src/components/static_components/menu_button.rs
Normal file
@@ -0,0 +1,20 @@
|
||||
use perseus::prelude::*;
|
||||
use sycamore::prelude::*;
|
||||
|
||||
#[component]
|
||||
pub fn MenuButtonSvg<G: Html>(cx: Scope) -> View<G> {
|
||||
view! { cx,
|
||||
svg (
|
||||
xmlns="http://www.w3.org/2000/svg",
|
||||
class="h-5 w-5",
|
||||
fill="none",
|
||||
viewBox="0 0 24 24",
|
||||
stroke="currentColor"){
|
||||
path (
|
||||
stroke-linecap="round",
|
||||
stroke-linejoin="round",
|
||||
stroke-width="2",
|
||||
d="M4 6h16M4 12h8m-8 6h16") {}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user