Compare commits
2 Commits
36340505c0
...
7b4ab9246d
Author | SHA1 | Date |
---|---|---|
Ryan Mwangi | 7b4ab9246d | |
Ryan Mwangi | 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