Added target blank to /privacy-policy links

This commit is contained in:
Zhenya Goroh
2024-10-08 21:49:53 +03:00
parent c87f42ee43
commit 03345bfba2
2 changed files with 21 additions and 8 deletions

View File

@@ -140,7 +140,11 @@ export default function Features() {
browser.
</p>
<div className="relative">
<a href="https://github.com/zen-browser" rel="noopener noreferrer" target="_blank">
<a
href="https://github.com/zen-browser"
rel="noopener noreferrer"
target="_blank"
>
<Button className="mt-8">GitHub</Button>
</a>
</div>
@@ -491,14 +495,14 @@ export default function Features() {
<span className="mx-4 text-4xl">+</span>{" "}
<EyeClosedIcon className="h-10 w-10" />
</div>
<a
<Link
href="/privacy-policy"
target="_blank"
className="tems-center m-auto flex h-fit w-fit animate-fade-in items-center rounded-full border-2 border-white bg-surface p-4 opacity-0 shadow [--animation-delay:300ms]"
>
Learn about Zen's privacy policy{" "}
<ExternalLinkIcon className="ml-4 h-4 w-4 opacity-50" />
</a>
</Link>
</div>
)}
@@ -548,12 +552,20 @@ export default function Features() {
cause.
</p>
<div className="relative mt-8 flex">
<a href="https://patreon.com/zen_browser" rel="noopener noreferrer" target="_blank">
<a
href="https://patreon.com/zen_browser"
rel="noopener noreferrer"
target="_blank"
>
<Button data-umami-event="patreon-feature" variant="ghost">
Patreon <ExternalLinkIcon className="ml-4 h-4 w-4 opacity-50" />
</Button>
</a>
<a href="https://ko-fi.com/zen_browser" rel="noopener noreferrer" target="_blank">
<a
href="https://ko-fi.com/zen_browser"
rel="noopener noreferrer"
target="_blank"
>
<Button
data-umami-event="ko-fi-feature"
className="ml-8"

View File

@@ -22,13 +22,14 @@ export const components: {
href: string;
description: string;
isTargetBlank?: boolean;
rel?: "noopener noreferrer"
rel?: "noopener noreferrer";
}[] = [
{
title: "Privacy Policy",
href: "/privacy-policy",
description:
"Read our privacy policy to learn more about how we handle your data.",
isTargetBlank: true,
},
{
title: "Discord",
@@ -36,7 +37,7 @@ export const components: {
description:
"Join our Discord server to chat with the community and get support.",
isTargetBlank: true,
rel: "noopener noreferrer"
rel: "noopener noreferrer",
},
{
title: "Source Code",
@@ -44,7 +45,7 @@ export const components: {
description:
"View the source code on GitHub and contribute to the project.",
isTargetBlank: true,
rel: "noopener noreferrer"
rel: "noopener noreferrer",
},
{
title: "Branding Assets",