From 4954fa89b59d2e2c8cb134b76d7b30b7fda99242 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 27 Sep 2025 01:16:33 +0300 Subject: [PATCH] feat(website): add link to documentation --- apps/website2/src/components/Header.tsx | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/apps/website2/src/components/Header.tsx b/apps/website2/src/components/Header.tsx index 1a29d5318..8793f0eed 100644 --- a/apps/website2/src/components/Header.tsx +++ b/apps/website2/src/components/Header.tsx @@ -2,6 +2,16 @@ import "./Header.css"; import { useLocation } from 'preact-iso'; import DownloadButton from './DownloadButton'; +interface HeaderLink { + url: string; + text: string; + external?: boolean; +} + +const HEADER_LINKS: HeaderLink[] = [ + { url: "https://docs.triliumnotes.org/", text: "Documentation", external: true } +] + export function Header() { const { url } = useLocation(); @@ -13,9 +23,13 @@ export function Header() {