From 14f25cfbaa44191ed11da495d4d036d045506606 Mon Sep 17 00:00:00 2001 From: Yusuke Tanaka Date: Mon, 6 May 2024 11:23:20 +0900 Subject: [PATCH] open docs in new tab --- www/components/Header.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/www/components/Header.tsx b/www/components/Header.tsx index d27b3fb60..8b48640d3 100644 --- a/www/components/Header.tsx +++ b/www/components/Header.tsx @@ -35,6 +35,7 @@ export function Header({ active }: { active: ActivePathOptions }) { class={`inline-flex gap-1 items-center hover:underline ${ active === item.href ? "font-bold" : "" }`} + target={!item.isInternal ? "_blank" : undefined} > {item.label} {!item.isInternal && }