PageSourceSearch

https://bpwdirect.com/assets/c._slug-BAincA8W.js

js bpwdirect.com collected 2026-10-09 23:03:46 UTC 2,949 bytes, 1 lines download raw bytes

1import{a3 as d,j as e,L as a,k as n}from"./main-D4XVkRLd.js";import{S as c,g as i,A as x,a as m}from"./SiteFooter-D8xGH5zs.js";import"./netsuite-account.functions-C4Jg4JUd.js";function f(){const{taxonomy:s,cat:r}=d.useLoaderData();return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(c,{}),e.jsx("div",{className:"border-b border-border bg-secondary/40",children:e.jsxs("div",{className:"mx-auto max-w-[1400px] px-4 py-3 text-xs text-muted-foreground",children:[e.jsx(a,{to:"/",className:"hover:text-safety-red",children:"Home"}),e.jsx(i,{className:"inline h-3 w-3 mx-1"}),e.jsx(a,{to:"/shop",className:"hover:text-safety-red",children:"Shop"}),e.jsx(i,{className:"inline h-3 w-3 mx-1"}),e.jsx("span",{className:"text-foreground font-semibold",children:s.title})]})}),e.jsx("section",{className:"border-b border-border bg-gradient-to-br from-primary to-primary/90 text-primary-foreground",children:e.jsxs("div",{className:"mx-auto max-w-[1400px] px-4 py-12 grid md:grid-cols-[1fr_auto] gap-8 items-center",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-[11px] font-bold uppercase tracking-[0.22em] text-bus-yellow",children:"Shop by category"}),e.jsx("h1",{className:"mt-3 font-display text-4xl md:text-5xl font-black tracking-tight",children:s.title}),e.jsx("p",{className:"mt-4 max-w-2xl opacity-85 leading-relaxed",children:s.description}),r&&e.jsxs(a,{to:"/shop",search:{q:"",deals:!1,cat:s.slug},className:"mt-6 inline-flex items-center gap-2 rounded-sm bg-safety-red px-5 py-2.5 text-xs font-bold uppercase tracking-wider text-safety-red-foreground hover:brightness-110 transition",children:["See all ",s.title," parts ",e.jsx(x,{className:"h-4 w-4"})]})]}),r?.image&&e.jsx("div",{className:"hidden md:block h-40 w-40 rounded-lg overflow-hidden ring-2 ring-white/20",children:e.jsx("img",{referrerPolicy:"no-referrer",src:n(r.image),alt:r.name,className:"h-full w-full object-cover"})})]})}),e.jsx("section",{className:"mx-auto max-w-[1400px] px-4 py-12 space-y-12",children:s.groups.map((t,l)=>e.jsxs("div",{children:[t.label&&e.jsxs("div",{className:"mb-5 flex items-center gap-3",children:[e.jsx("h2",{className:"font-display text-2xl font-black tracking-tight",children:t.label}),e.jsx("div",{className:"h-px flex-1 bg-border"})]}),e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-3",children:t.items.map(o=>e.jsxs(a,{to:"/shop",search:{q:o.query,deals:!1,cat:s.slug},className:"group flex items-center justify-between gap-2 rounded-md border border-border bg-card px-4 py-4 transition hover:border-safety-red/50 hover:shadow-sm hover:-translate-y-0.5",children:[e.jsx("span",{className:"text-sm font-semibold text-foreground group-hover:text-safety-red transition leading-tight",children:o.name}),e.jsx(i,{className:"h-4 w-4 text-muted-foreground group-hover:text-safety-red transition shrink-0"})]},o.slug))})]},l))}),e.jsx(m,{})]})}export{f as component};

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.