Skip to content

Commit 5be6f07

Browse files
committed
Ensure links have target blank
1 parent a41192c commit 5be6f07

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

www/components/Footer.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,12 @@ export default function Footer(props: JSX.HTMLAttributes<HTMLElement>) {
3131
<a
3232
href={link.href}
3333
class="text-foreground-secondary hover:underline"
34+
target="_blank"
3435
>
3536
{link.title}
3637
</a>
3738
))}
38-
<a href="https://fresh.deno.dev">
39+
<a href="https://fresh.deno.dev" target="_blank">
3940
<img
4041
width="197"
4142
height="37"

www/components/NavigationBar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export default function NavigationBar(
3333
href="https://github.com/bisterix-studio/parley"
3434
class="hover:text-green-600 inline-block transition"
3535
aria-label="GitHub"
36+
target="_blank"
3637
>
3738
<Icons.GitHub />
3839
</a>

0 commit comments

Comments
 (0)