PageSourceSearch

https://gdl-legal-pros.lovable.app/assets/NotFound-C6FpENSj.js

js gdl-legal-pros.lovable.app collected 2026-10-03 03:27:29 UTC 4,640 bytes, 1 lines download raw bytes

1import{j as e}from"./ui-components-uYnQApli.js";import{u as n,d as m,r as i,L as r}from"./react-vendor-CfN3HuBH.js";import{S as d}from"./SEOHead-e907rWm_.js";import{B as o}from"./button-FtxS4GpK.js";import{H as x}from"./house-CBlLgf95.js";import{A as u}from"./arrow-left-FwsAePTq.js";import{M as h}from"./map-pin-BLS25a2K.js";import{S as f,U as p}from"./users-Cw5Va4Xw.js";import"./index-D1eQUCeb.js";import"./query-DLKmM8pU.js";const g=()=>{const{pathname:l}=n(),t=l.match(/^\/practice\/([^/]+)\/?$/)?.[1],s=m();return i.useEffect(()=>{const a={immigration:"immigration-law",employment:"employment-labor-law",corporate:"corporate-law","real-estate":"real-estate-law",tax:"tax-law",probate:"probate-law",criminal:"criminal-law",condominium:"condominium-law","anti-money-laundering":"anti-money-laundering",aml:"anti-money-laundering"};if(t){const c=a[t.toLowerCase()]||t;s(`/practice-areas/${c}`,{replace:!0})}},[t,s]),null},k=()=>{const l=n();i.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",l.pathname)},[l.pathname]);const t=[{id:"guadalajara",name:"Guadalajara"},{id:"puerto-vallarta",name:"Puerto Vallarta"},{id:"cancun",name:"Cancún"},{id:"leon",name:"León, Guanajuato"}],s=[{slug:"real-estate-law",label:"Real Estate Law"},{slug:"corporate-law",label:"Corporate Law"},{slug:"immigration-law",label:"Immigration Law"},{slug:"litigation",label:"Litigation"},{slug:"tax-practice",label:"Tax Practice"},{slug:"employment-labor-law",label:"Employment Law"},{slug:"probate-law",label:"Probate Law"}];return/^\/practice\/[^/]+\/?$/.test(l.pathname)?e.jsx(g,{}):e.jsxs(e.Fragment,{children:[e.jsx(d,{title:"Page Not Found — 404 | Mata Law",description:"The page you're looking for could not be found. Explore Mata Law's English-speaking attorneys, offices, and practice areas across Mexico.",canonical:`https://matalaw.com${l.pathname}`,noindex:!0}),e.jsx("main",{className:"flex min-h-screen flex-col items-center justify-center bg-background px-6 py-16",children:e.jsxs("article",{className:"text-center max-w-3xl w-full",children:[e.jsx("h1",{className:"mb-6 text-6xl md:text-8xl font-bold text-law-navy",children:"404"}),e.jsx("h2",{className:"mb-4 text-2xl md:text-3xl font-serif font-semibold text-law-navy",children:"Page Not Found"}),e.jsx("p",{className:"mb-8 text-lg text-muted-foreground",children:"We couldn't find the page you're looking for. It may have been moved or deleted, or the URL might be incorrect. Try one of the popular destinations below."}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center mb-12",children:[e.jsx(o,{asChild:!0,size:"lg",className:"bg-law-gold hover:bg-law-gold/90 text-law-navy",children:e.jsxs(r,{to:"/",children:[e.jsx(x,{className:"w-4 h-4 mr-2"}),"Return to Home"]})}),e.jsxs(o,{variant:"outline",size:"lg",onClick:()=>window.history.back(),children:[e.jsx(u,{className:"w-4 h-4 mr-2"}),"Go Back"]})]}),e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 text-left",children:[e.jsxs("section",{children:[e.jsxs("h3",{className:"flex items-center gap-2 text-lg font-serif font-bold text-law-navy mb-3",children:[e.jsx(h,{className:"w-5 h-5 text-law-gold"}),"Our Offices"]}),e.jsx("ul",{className:"space-y-2",children:t.map(a=>e.jsx("li",{children:e.jsx(r,{to:`/offices/${a.id}`,className:"text-muted-foreground hover:text-law-navy hover:underline transition-colors",children:a.name})},a.id))})]}),e.jsxs("section",{children:[e.jsxs("h3",{className:"flex items-center gap-2 text-lg font-serif font-bold text-law-navy mb-3",children:[e.jsx(f,{className:"w-5 h-5 text-law-gold"}),"Practice Areas"]}),e.jsx("ul",{className:"space-y-2",children:s.map(a=>e.jsx("li",{children:e.jsx(r,{to:`/practice-areas/${a.slug}`,className:"text-muted-foreground hover:text-law-navy hover:underline transition-colors",children:a.label})},a.slug))})]}),e.jsxs("section",{children:[e.jsxs("h3",{className:"flex items-center gap-2 text-lg font-serif font-bold text-law-navy mb-3",children:[e.jsx(p,{className:"w-5 h-5 text-law-gold"}),"About Us"]}),e.jsxs("ul",{className:"space-y-2",children:[e.jsx("li",{children:e.jsx(r,{to:"/attorneys",className:"text-muted-foreground hover:text-law-navy hover:underline transition-colors",children:"Meet Our Attorneys"})}),e.jsx("li",{children:e.jsx(r,{to:"/offices",className:"text-muted-foreground hover:text-law-navy hover:underline transition-colors",children:"All Office Locations"})}),e.jsx("li",{children:e.jsx(r,{to:"/privacy-notice",className:"text-muted-foreground hover:text-law-navy hover:underline transition-colors",children:"Privacy Notice"})})]})]})]})]})})]})};export{k as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.