website/components/Header.tsx

59 lines
1.1 KiB
TypeScript
Raw Normal View History

import { asset } from '$fresh/runtime.ts'
2024-02-13 14:01:37 +01:00
import ThemePicker from '../islands/ThemePicker.tsx'
2024-02-06 13:30:47 +01:00
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>
2024-02-08 13:16:37 +01:00
<li>
<a href='/membres'>Membres</a>
</li>
<li>
<a href='https://projets.cohabit.fr' target='_blank'>
Redmine
</a>
</li>
<li>
<a href='https://git.cohabit.fr' target='_blank'>Git</a>
</li>
<li>
<a
href='https://matrix.to/#/!thtlRrlXFrbifqMNCG:matrix.org?via=matrix.org'
target='_blank'
>
Matrix
</a>
</li>
</ul>
</details>
</li>
</nav>
<input type='search' name='' id='' placeholder='Rechercher' />
2024-02-13 14:01:37 +01:00
<ThemePicker />
</div>
2024-02-06 13:30:47 +01:00
</header>
)
}