feat(website): clickable header banner

This commit is contained in:
Elian Doran
2025-09-26 23:40:05 +03:00
parent 74c248bce2
commit 7990c60ce7
2 changed files with 11 additions and 4 deletions

View File

@@ -8,12 +8,11 @@ export function Header() {
return (
<header>
<div class="content-wrapper">
<img src="./src/assets/icon-color.svg" width="300" height="300" />&nbsp;<span>Trilium Notes</span>
<a class="banner" href="/">
<img src="./src/assets/icon-color.svg" width="300" height="300" />&nbsp;<span>Trilium Notes</span>
</a>
<nav>
<a href="/" class={url == '/' && 'active'}>
Home
</a>
<a href="/404" class={url == '/404' && 'active'}>
404
</a>