feat: add links to nav dropdown

This commit is contained in:
Julien Oculi 2024-02-08 13:16:37 +01:00
parent c225e43ec7
commit 1621b6ee91
2 changed files with 24 additions and 5 deletions

View file

@ -92,12 +92,16 @@ header details {
& li { & li {
list-style: none; list-style: none;
border: none; border: none;
padding: var(--_gap) calc(var(--_gap) + 0.4rem); padding: var(--_gap) calc(var(--_gap) + 0.29rem);
} }
& li:hover { & li:hover {
background-color: var(--_translucent); background-color: var(--_translucent);
} }
& a {
text-decoration: none;
}
} }
header input { header input {

View file

@ -26,10 +26,25 @@ export function Header() {
<details> <details>
<summary>Fablab</summary> <summary>Fablab</summary>
<ul> <ul>
<li>Membres</li> <li>
<li>Redmine</li> <a href='/membres'>Membres</a>
<li>Git</li> </li>
<li>Matrix</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> </ul>
</details> </details>
</li> </li>