mirror of
https://github.com/zadam/trilium.git
synced 2025-10-21 15:49:00 +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;
|
gap: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
header a.banner {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-items: center;
|
||||||
|
text-decoration: none;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
header > .content-wrapper,
|
header > .content-wrapper,
|
||||||
section.hero-section > .content-wrapper {
|
section.hero-section > .content-wrapper {
|
||||||
min-width: 80vw;
|
min-width: 80vw;
|
||||||
|
@ -8,12 +8,11 @@ export function Header() {
|
|||||||
return (
|
return (
|
||||||
<header>
|
<header>
|
||||||
<div class="content-wrapper">
|
<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>
|
<nav>
|
||||||
<a href="/" class={url == '/' && 'active'}>
|
|
||||||
Home
|
|
||||||
</a>
|
|
||||||
<a href="/404" class={url == '/404' && 'active'}>
|
<a href="/404" class={url == '/404' && 'active'}>
|
||||||
404
|
404
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user