mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
feat(website): clickable header banner
This commit is contained in:
parent
74c248bce2
commit
7990c60ce7
@ -15,6 +15,14 @@ header .content-wrapper {
|
||||
gap: 1em;
|
||||
}
|
||||
|
||||
header a.banner {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-items: center;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
header > .content-wrapper,
|
||||
section.hero-section > .content-wrapper {
|
||||
min-width: 80vw;
|
||||
|
@ -8,12 +8,11 @@ export function Header() {
|
||||
return (
|
||||
<header>
|
||||
<div class="content-wrapper">
|
||||
<img src="./src/assets/icon-color.svg" width="300" height="300" /> <span>Trilium Notes</span>
|
||||
<a class="banner" href="/">
|
||||
<img src="./src/assets/icon-color.svg" width="300" height="300" /> <span>Trilium Notes</span>
|
||||
</a>
|
||||
|
||||
<nav>
|
||||
<a href="/" class={url == '/' && 'active'}>
|
||||
Home
|
||||
</a>
|
||||
<a href="/404" class={url == '/404' && 'active'}>
|
||||
404
|
||||
</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user