mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 23:29:02 +02:00
fix(website): logo not working in subfolder
This commit is contained in:
parent
80009f99e8
commit
35853ff988
@ -1,6 +1,7 @@
|
|||||||
import "./Header.css";
|
import "./Header.css";
|
||||||
import { useLocation } from 'preact-iso';
|
import { useLocation } from 'preact-iso';
|
||||||
import DownloadButton from './DownloadButton';
|
import DownloadButton from './DownloadButton';
|
||||||
|
import logoPath from "../assets/icon-color.svg";
|
||||||
|
|
||||||
interface HeaderLink {
|
interface HeaderLink {
|
||||||
url: string;
|
url: string;
|
||||||
@ -20,7 +21,7 @@ export function Header() {
|
|||||||
<header>
|
<header>
|
||||||
<div class="content-wrapper">
|
<div class="content-wrapper">
|
||||||
<a class="banner" href="/">
|
<a class="banner" href="/">
|
||||||
<img src="./src/assets/icon-color.svg" width="300" height="300" /> <span>Trilium Notes</span>
|
<img src={logoPath} width="300" height="300" /> <span>Trilium Notes</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<nav>
|
<nav>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user