From f9efe663897c434921c2db315f5d9ca3ca1e108e Mon Sep 17 00:00:00 2001 From: Mohit Date: Wed, 24 Jul 2024 10:41:37 +0530 Subject: [PATCH 1/2] User routed to different tab for external links --- src/components/Navbar.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx index 44a35c90..2d67e254 100644 --- a/src/components/Navbar.jsx +++ b/src/components/Navbar.jsx @@ -44,6 +44,7 @@ export default function Navbar() { title="Jump to Github" className="px-3 py-2 bg-zinc-100 hover:opacity-60 transition-all duration-300 rounded-full text-2xl" href="https://github.com/drawdb-io/drawdb" + target="_blank" > @@ -51,6 +52,7 @@ export default function Navbar() { title="Follow us on X" className="px-3 py-2 bg-zinc-100 hover:opacity-60 transition-all duration-300 rounded-full text-2xl" href="https://x.com/drawDB_" + target="_blank" > @@ -58,6 +60,7 @@ export default function Navbar() { title="Join the community on Discord" className="px-3 py-2 bg-zinc-100 hover:opacity-60 transition-all duration-300 rounded-full text-2xl" href="https://discord.gg/BrjZgNrmR6" + target="_blank" > From 04c38b299297aa0d311cdcbf8bb1531cea5e95eb Mon Sep 17 00:00:00 2001 From: Mohit Date: Wed, 24 Jul 2024 13:15:45 +0530 Subject: [PATCH 2/2] rel attribute added to anchor tags --- src/components/Navbar.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx index 2d67e254..b84b8ecb 100644 --- a/src/components/Navbar.jsx +++ b/src/components/Navbar.jsx @@ -45,6 +45,7 @@ export default function Navbar() { className="px-3 py-2 bg-zinc-100 hover:opacity-60 transition-all duration-300 rounded-full text-2xl" href="https://github.com/drawdb-io/drawdb" target="_blank" + rel="noreferrer" > @@ -53,6 +54,7 @@ export default function Navbar() { className="px-3 py-2 bg-zinc-100 hover:opacity-60 transition-all duration-300 rounded-full text-2xl" href="https://x.com/drawDB_" target="_blank" + rel="noreferrer" > @@ -61,6 +63,7 @@ export default function Navbar() { className="px-3 py-2 bg-zinc-100 hover:opacity-60 transition-all duration-300 rounded-full text-2xl" href="https://discord.gg/BrjZgNrmR6" target="_blank" + rel="noreferrer" >