PageSourceSearch

https://www.smartmobilepos.com/assets/NotFound-CD43zcMx.js

js smartmobilepos.com collected 2026-09-26 08:02:52 UTC 4,428 bytes, 1 lines download raw bytes

1import{n as h,o as u,r as n,j as e,A as l,b as i}from"./index-DTFnYlkI.js";import{S as p,H as g,d as f,F as b,e as j,P as N,C as v}from"./Footer-B3l4XxL6.js";import{I as w,B as y}from"./input-B9Hlze4m.js";import{S}from"./scan-line-Dzl5_KtR.js";import{H as k}from"./headphones-D6Iokff7.js";const I=()=>{const a=h(),c=u(),[o,d]=n.useState("");n.useEffect(()=>{console.warn("Not found:",a.pathname)},[a.pathname]);const s=/\.html(?:$|\?)/i.test(a.pathname)||/^\/(customer|checkout|catalog|sales|account)(?:\/|$)/i.test(a.pathname),m=[{icon:j,label:"Mobile POS solutions",href:"/products"},{icon:S,label:"Barcode scanners & RFID",href:"/products"},{icon:N,label:"Mobile printers",href:"/products"},{icon:v,label:"Chip & PIN devices",href:"/products"},{icon:k,label:"Speak to our team",href:"/contact"}],x=t=>{t.preventDefault();const r=o.trim();r&&c(`/search?q=${encodeURIComponent(r)}`)};return e.jsxs("div",{className:"min-h-screen flex flex-col",children:[e.jsx(p,{title:s?"Page Has Moved — Smart Mobile POS":"Page Not Found — Smart Mobile POS",description:s?"This page has moved during our migration to the new Smart Mobile POS site. Find what you need below.":"The page you're looking for doesn't exist.",robots:"noindex,follow"}),e.jsx(g,{}),e.jsx("main",{className:"flex-1",children:e.jsx("section",{className:"container py-16 md:py-24",children:e.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[s?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"inline-block text-xs font-bold tracking-[0.25em] uppercase text-primary mb-3",children:"We've migrated"}),e.jsx("h1",{className:"text-3xl md:text-5xl font-bold tracking-tight text-foreground leading-[1.1] mb-4",children:"This page has moved."}),e.jsxs("p",{className:"text-lg text-muted-foreground leading-relaxed mb-2 max-w-2xl mx-auto",children:["We've rebuilt ",e.jsx("strong",{className:"text-foreground",children:"smartmobilepos.com"})," — the page you followed from our old store doesn't have a direct match on the new site."]}),e.jsx("p",{className:"text-base text-muted-foreground mb-8",children:"Search for what you need below, or jump to the right area of the catalogue."})]}):e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"text-sm font-bold tracking-[0.2em] uppercase text-primary mb-3",children:"404"}),e.jsx("h1",{className:"text-3xl md:text-5xl font-bold tracking-tight text-foreground leading-[1.1] mb-4",children:"Page not found"}),e.jsxs("p",{className:"text-lg text-muted-foreground leading-relaxed mb-8",children:["We couldn't find"," ",e.jsx("code",{className:"px-2 py-1 rounded bg-muted text-foreground text-base font-mono",children:a.pathname}),". Try a search, or head back to one of the main areas below."]})]}),e.jsxs("form",{onSubmit:x,className:"flex flex-col sm:flex-row gap-3 max-w-xl mx-auto mb-10",children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(f,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground"}),e.jsx(w,{type:"search",placeholder:"Search the catalogue — e.g. barcode scanner, RFID reader, iPad sled",value:o,onChange:t=>d(t.target.value),className:"pl-10 h-12","aria-label":"Search Smart Mobile POS"})]}),e.jsxs(y,{type:"submit",size:"lg",className:"shrink-0",children:["Search",e.jsx(l,{className:"ml-2 h-4 w-4"})]})]}),e.jsxs("div",{className:"text-left max-w-xl mx-auto",children:[e.jsx("p",{className:"text-xs font-bold tracking-[0.18em] uppercase text-muted-foreground mb-3",children:"Popular destinations"}),e.jsx("ul",{className:"grid grid-cols-1 sm:grid-cols-2 gap-2",children:m.map(t=>e.jsx("li",{children:e.jsxs(i,{to:t.href,className:"flex items-center gap-3 rounded-xl border bg-card hover:border-primary/50 hover:-translate-y-0.5 transition-all duration-200 p-3",children:[e.jsx("div",{className:"h-9 w-9 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:e.jsx(t.icon,{className:"h-4 w-4 text-primary"})}),e.jsx("span",{className:"text-sm font-medium text-foreground",children:t.label}),e.jsx(l,{className:"h-4 w-4 text-muted-foreground ml-auto"})]})},t.label))})]}),e.jsxs("div",{className:"mt-10 text-sm text-muted-foreground",children:["Looking for an old smartmobilepos.com product page or order?"," ",e.jsx(i,{to:"/contact",className:"text-primary hover:underline font-medium",children:"Get in touch with our team"})," ","and we'll find the equivalent for you."]})]})})}),e.jsx(b,{})]})};export{I 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.