website/components/Header.tsx

42 lines
728 B
TypeScript

import { asset } from '$fresh/runtime.ts'
export function Header() {
return (
<header>
<div>
<span>
<a href='/'>
Coh<img
src={asset('/assets/bulb.svg')}
alt='a'
/>bit POC
</a>
</span>
<nav>
<li>
<a href='/machines'>Machines</a>
</li>
<li>
<a href='/projets'>Projets</a>
</li>
<li>
<a href='/blog'>Blog</a>
</li>
<li>
<details>
<summary>Fablab</summary>
<ul>
<li>Équipes</li>
<li>Redmine</li>
<li>Git</li>
<li>Matrix</li>
</ul>
</details>
</li>
</nav>
<input type='search' name='' id='' placeholder='Rechercher' />
</div>
</header>
)
}