From ecac65bf9c15f0165114edcdec714a85aa7f67b4 Mon Sep 17 00:00:00 2001 From: priyanshuvish Date: Fri, 19 Sep 2025 20:14:31 +0530 Subject: [PATCH] fix navigation link open in new tab header and footer --- components/Footer.tsx | 19 ++++++++----------- components/Navigation.tsx | 20 ++++++++++---------- pages/RanOutOfProject.tsx | 2 +- 3 files changed, 19 insertions(+), 22 deletions(-) diff --git a/components/Footer.tsx b/components/Footer.tsx index ca13c19..56a0db8 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -15,6 +15,7 @@ import BlackLogo14 from "../assets/BlackLogo14"; import { navigateTo } from "../App"; import { useState } from "react"; import GlobalOffices from "./GlobalOffices"; +import { Link } from "react-router-dom"; const footerNavigation = { Explore: [ @@ -205,16 +206,12 @@ const FooterSection = ({ @@ -392,7 +389,7 @@ export const Footer = () => { links={footerNavigation.Explore} delay={0.1} /> - + {/* Combined Services & Company */}
{ delay={0.3} />
- + {/* Combined AI & ML with Resources */}
{ delay={0.5} />
- + - + (
  • { e.preventDefault(); @@ -694,7 +694,7 @@ const MegaMenu = ({ {category.sub_services.map((service) => (
  • { e.preventDefault(); @@ -724,7 +724,7 @@ const MegaMenu = ({ return ( { e.preventDefault(); @@ -764,7 +764,7 @@ const MegaMenu = ({ {industry.items.map((item) => (
  • { e.preventDefault(); @@ -794,7 +794,7 @@ const MegaMenu = ({ return ( { e.preventDefault(); @@ -1010,6 +1010,7 @@ export const Navigation = () => {
    + {navigationData.main_navigation.map((item) => (
    { onMouseLeave={handleNavItemMouseLeave} > { e.preventDefault(); @@ -1031,9 +1032,8 @@ export const Navigation = () => { {item} {hasDropdown(item) && ( )} @@ -1091,7 +1091,7 @@ export const Navigation = () => { {navigationData.main_navigation.map((item) => ( { e.preventDefault(); diff --git a/pages/RanOutOfProject.tsx b/pages/RanOutOfProject.tsx index fba8ee5..75d4972 100644 --- a/pages/RanOutOfProject.tsx +++ b/pages/RanOutOfProject.tsx @@ -61,7 +61,7 @@ const getTechIcon = (tech: string) => { }; const projectDetails = { - title: "RanOutOf – Smart Grocery List & Inventory Management App", + title: "RanOutOf – Simplify Grocery Planning with AI-Powered Lists", subtitle: "A voice-enabled, reminder-rich, and collaborative grocery management app designed to simplify household planning and eliminate stockouts", technologies: ["React Native", "Laravel", "Node.js", "MySQL", "Firebase"], industries: ["Consumer Tech", "Retail Technology", "Productivity"],