mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +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 { useLocation } from 'preact-iso';
|
||||
import DownloadButton from './DownloadButton';
|
||||
import logoPath from "../assets/icon-color.svg";
|
||||
|
||||
interface HeaderLink {
|
||||
url: string;
|
||||
@ -20,7 +21,7 @@ export function Header() {
|
||||
<header>
|
||||
<div class="content-wrapper">
|
||||
<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>
|
||||
|
||||
<nav>
|
||||
|
Loading…
x
Reference in New Issue
Block a user