From cd56369f5ce22310cc2c556b287ac8439249665c Mon Sep 17 00:00:00 2001 From: Mohammad Rehaan Date: Fri, 31 Oct 2025 06:28:24 +0530 Subject: [PATCH 1/2] feat(footer): Add LinkedIn social link and ensure external links open in new tab --- components/Footer.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/components/Footer.tsx b/components/Footer.tsx index 046cb33..091e2b1 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -28,6 +28,11 @@ const Footer: React.FC = () => { href: 'https://github.com/OpsiMate/OpsiMate', // From documentation icon: Github }, + { + name: 'LinkedIn', + href: 'https://www.linkedin.com/company/opsimate/', // Official LinkedIn URL + icon: Linkedin + }, { name: 'Slack Community', href: 'https://join.slack.com/t/opsimate/shared_invite/zt-39bq3x6et-NrVCZzH7xuBGIXmOjJM7gA', // From documentation @@ -60,6 +65,8 @@ const Footer: React.FC = () => { href={social.href} className="text-gray-400 hover:text-white transition-colors duration-200" aria-label={social.name} + target="_blank" + rel="noopener noreferrer" > From 2052e2593e3c4fcfb64acfadfbc5233576f4e1a5 Mon Sep 17 00:00:00 2001 From: Mohammad Rehaan Date: Fri, 31 Oct 2025 06:58:16 +0530 Subject: [PATCH 2/2] fix(footer): Resolve security and duplication issues; add LinkedIn link --- components/Footer.tsx | 36 ++++++++++++------------------------ 1 file changed, 12 insertions(+), 24 deletions(-) diff --git a/components/Footer.tsx b/components/Footer.tsx index 091e2b1..872974f 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -29,9 +29,9 @@ const Footer: React.FC = () => { icon: Github }, { - name: 'LinkedIn', - href: 'https://www.linkedin.com/company/opsimate/', // Official LinkedIn URL - icon: Linkedin + name: 'LinkedIn', + href: 'https://www.linkedin.com/company/opsimate/', // Official LinkedIn URL + icon: Linkedin }, { name: 'Slack Community', @@ -65,8 +65,8 @@ const Footer: React.FC = () => { href={social.href} className="text-gray-400 hover:text-white transition-colors duration-200" aria-label={social.name} - target="_blank" - rel="noopener noreferrer" + target="_blank" // 🌟 FIX: Added target="_blank" + rel="noopener noreferrer" // 🌟 FIX: Added rel="noopener noreferrer" > @@ -101,6 +101,8 @@ const Footer: React.FC = () => { {link.name} @@ -118,6 +120,8 @@ const Footer: React.FC = () => { {link.name} @@ -125,25 +129,9 @@ const Footer: React.FC = () => { ))} + + {/* 🗑️ FIX: The duplicate "Open Source" section that was previously here has been removed. */} - {/* Open Source Links */} -
-

Open Source

-
    - {footerLinks.opensource.map((link) => ( -
  • - - {link.name} - -
  • - ))} -
-
{/* Bottom Section */} @@ -165,4 +153,4 @@ const Footer: React.FC = () => { ); }; -export default Footer; +export default Footer; \ No newline at end of file