Skip to content

Commit

Permalink
open docs in new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
magurotuna committed May 6, 2024
1 parent a4d2b6e commit 14f25cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions www/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 && <IconExternalLink class="w-4 h-4" />}
Expand Down

0 comments on commit 14f25cf

Please sign in to comment.