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. browser.
</p> </p>
<div className="relative"> <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> <Button className="mt-8">GitHub</Button>
</a> </a>
</div> </div>
@@ -491,14 +495,14 @@ export default function Features() {
<span className="mx-4 text-4xl">+</span>{" "} <span className="mx-4 text-4xl">+</span>{" "}
<EyeClosedIcon className="h-10 w-10" /> <EyeClosedIcon className="h-10 w-10" />
</div> </div>
<a <Link
href="/privacy-policy" href="/privacy-policy"
target="_blank" 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]" 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{" "} Learn about Zen's privacy policy{" "}
<ExternalLinkIcon className="ml-4 h-4 w-4 opacity-50" /> <ExternalLinkIcon className="ml-4 h-4 w-4 opacity-50" />
</a> </Link>
</div> </div>
)} )}
@@ -548,12 +552,20 @@ export default function Features() {
cause. cause.
</p> </p>
<div className="relative mt-8 flex"> <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"> <Button data-umami-event="patreon-feature" variant="ghost">
Patreon <ExternalLinkIcon className="ml-4 h-4 w-4 opacity-50" /> Patreon <ExternalLinkIcon className="ml-4 h-4 w-4 opacity-50" />
</Button> </Button>
</a> </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 <Button
data-umami-event="ko-fi-feature" data-umami-event="ko-fi-feature"
className="ml-8" className="ml-8"

View File

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