Compare commits

...

2 Commits

1 changed files with 17 additions and 0 deletions

17
src/components/Headers.rs Normal file
View File

@ -0,0 +1,17 @@
use yew::prelude::*;
#[function_component(Header)]
fn header() -> Html {
html! {
<header>
<nav>
<ul>
<li><a href="#">{ "Home" }</a></li>
<li><a href="#">{ "Items" }</a></li>
<li><a href="#">{ "Reviews" }</a></li>
<li><a href="#">{ "Profile" }</a></li>
</ul>
</nav>
</header>
}
}