// Footer.jsx — site footer (offensive-only) with path-aware links const Footer = ({ onNav }) => { const _p = location.pathname; const inSub = /\/(services|blog|legal)\//.test(_p); const root = (p) => p; // links are already root-relative const home = (h) => `/#${h.replace(/^#/, '')}`; const cols = [ { title: 'Services', links: [ { l: 'Penetration Testing', h: root('/services/vapt/') }, { l: 'Web Application Pentesting', h: root('/services/web/') }, { l: 'Mobile Application Pentesting', h: root('/services/mobile/') }, { l: 'Cloud Pentesting', h: root('/services/cloud/') }, { l: 'Continuous Pentesting', h: root('/services/ptaas/') }, { l: 'Red Teaming', h: root('/services/red-team/') }, { l: 'IT Support', h: root('/it-support/') }, // TEMPORARY offering — remove with /it-support/ ]}, { title: 'Company', links: [ { l: 'About', h: root('/about/') }, { l: 'Philosophy', h: root('/philosophy/') }, { l: 'Careers', h: root('/careers/') }, { l: 'Customers', h: root('/customers/') }, { l: 'Contact', h: root('/contact/') }, ]}, { title: 'Resources', links: [ { l: 'Blog', h: root('/blog/') }, { l: 'Pricing', h: root('/pricing/') }, { l: 'Partners', h: root('/partners/') }, { l: 'Sample report', h: root('/resources/#sample') }, { l: 'Trust center', h: root('/about/#compliance') }, ]}, { title: 'Legal', links: [ { l: 'Privacy policy', h: root('/legal/privacy-policy/') }, { l: 'Terms of service', h: root('/legal/terms-of-service/') }, { l: 'Responsible disclosure', h: root('/contact/#disclose') }, { l: 'MSA / NDA', h: root('/contact/') }, ]}, ]; return ( ); }; Object.assign(window, { Footer });