feat(header): create initial header component
This commit is contained in:
parent
f6f821d339
commit
5d9ecc4f22
|
@ -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>
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue