diff --git a/src/app/-/desktop-page.tsx b/src/app/-/desktop-page.tsx index 932d75b..c76b945 100644 --- a/src/app/-/desktop-page.tsx +++ b/src/app/-/desktop-page.tsx @@ -79,25 +79,40 @@ const data: Item[] = [ ]; export default function DesktopPage() { + const openInNewTab = (url) => { + const newWindow = window.open(url, "_blank", "noopener,noreferrer"); + if (newWindow) newWindow.opener = null; + }; + return (
-
- - Latté - - - DevOps & Automation - +
+
+ + Latté + + + DevOps & Automation + +
+ Menu openInNewTab("https://github.com/Latte-Corporation")} + className="hover:cursor-pointer" + />
@@ -111,7 +126,7 @@ export default function DesktopPage() { animation="fadeIn" by="line" as="p" - className="text-secondary mb-6" + className="text-secondary" > {`We are 2 DevOps Engineer`} diff --git a/src/app/-/mobile-page.tsx b/src/app/-/mobile-page.tsx index 410b058..4640c7c 100644 --- a/src/app/-/mobile-page.tsx +++ b/src/app/-/mobile-page.tsx @@ -18,6 +18,11 @@ export default function MobilePage() { }, }); + const openInNewTab = (url) => { + const newWindow = window.open(url, "_blank", "noopener,noreferrer"); + if (newWindow) newWindow.opener = null; + }; + return (
@@ -27,7 +32,13 @@ export default function MobilePage() { width={40} height={40} /> - Menu + Menu openInNewTab("https://github.com/Latte-Corporation")} + />
- +