Skip to content

Commit 7cc5246

Browse files
committed
opebn links in new tab
1 parent 0d1f656 commit 7cc5246

File tree

1 file changed

+57
-9
lines changed

1 file changed

+57
-9
lines changed

docs/src/components/Footer.astro

Lines changed: 57 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,71 @@ const year = new Date().getFullYear();
2020
<div class="pb-6">
2121
<a
2222
href="https://notiz.dev"
23-
class="text-sm leading-6 text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-gray-100"
24-
>Blog</a
25-
>
23+
target="_blank"
24+
rel="noopener noreferrer"
25+
class="flex items-center gap-1 text-sm leading-6 text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-gray-100"
26+
>Blog
27+
<svg
28+
xmlns="http://www.w3.org/2000/svg"
29+
fill="none"
30+
viewBox="0 0 24 24"
31+
stroke-width="1.5"
32+
stroke="currentColor"
33+
class="size-4"
34+
>
35+
<path
36+
stroke-linecap="round"
37+
stroke-linejoin="round"
38+
d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"
39+
></path>
40+
</svg>
41+
</a>
2642
</div>
2743
<div class="pb-6">
2844
<a
2945
href="https://portfolio.notiz.dev"
30-
class="text-sm leading-6 text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-gray-100"
31-
>Consulting</a
32-
>
46+
target="_blank"
47+
rel="noopener noreferrer"
48+
class="flex items-center gap-1 text-sm leading-6 text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-gray-100"
49+
>Consulting
50+
<svg
51+
xmlns="http://www.w3.org/2000/svg"
52+
fill="none"
53+
viewBox="0 0 24 24"
54+
stroke-width="1.5"
55+
stroke="currentColor"
56+
class="size-4"
57+
>
58+
<path
59+
stroke-linecap="round"
60+
stroke-linejoin="round"
61+
d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"
62+
></path>
63+
</svg>
64+
</a>
3365
</div>
3466
<div class="pb-6">
3567
<a
3668
href="https://github.com/sponsors/notiz-dev"
37-
class="text-sm leading-6 text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-gray-100"
38-
>Sponsor us</a
39-
>
69+
target="_blank"
70+
rel="noopener noreferrer"
71+
class="flex items-center gap-1 text-sm leading-6 text-gray-600 hover:text-gray-900 dark:text-gray-300 dark:hover:text-gray-100"
72+
>Sponsor us
73+
<svg
74+
xmlns="http://www.w3.org/2000/svg"
75+
fill="none"
76+
viewBox="0 0 24 24"
77+
stroke-width="1.5"
78+
stroke="currentColor"
79+
class="size-4"
80+
>
81+
<path
82+
stroke-linecap="round"
83+
stroke-linejoin="round"
84+
d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"
85+
></path>
86+
</svg>
87+
</a>
4088
</div>
4189
</nav>
4290
<div class="mt-10 flex justify-center space-x-10">

0 commit comments

Comments
 (0)