Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 6706966

Browse files
committed
feat: add rel noopener noreferrer to links
1 parent 299ea64 commit 6706966

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

website/src/components/Navbar.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
variant-color="gray"
3131
aria-label="View the documentation"
3232
target="_blank"
33+
rel="noopener noreferrer"
3334
href="https://github.com/chakra-ui/chakra-ui-vue"
3435
icon="book"
3536
/>
@@ -40,6 +41,7 @@
4041
variant="ghost"
4142
variant-color="gray"
4243
aria-label="Join Discord channel"
44+
rel="noopener noreferrer"
4345
target="_blank"
4446
href="https://discord.gg/sq2Kp6x"
4547
icon="message-circle"
@@ -52,6 +54,7 @@
5254
variant-color="gray"
5355
aria-label="Open menu"
5456
target="_blank"
57+
rel="noopener noreferrer"
5558
href="https://discord.gg/sq2Kp6x"
5659
icon="menu"
5760
/>

website/src/components/home/Hero.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
href="https://github.com/chakra-ui/chakra-ui-vue-next"
3636
size="lg"
3737
target="_blank"
38+
rel="noopener noreferrer"
3839
color-scheme="green"
3940
>
4041
Get started
@@ -43,6 +44,7 @@
4344
as="a"
4445
text-decoration="none"
4546
target="_blank"
47+
rel="noopener noreferrer"
4648
href="https://github.com/chakra-ui/chakra-ui-vue-next"
4749
left-icon="github"
4850
ml="4"

0 commit comments

Comments
 (0)