Files
Shifted/.next/server/chunks/6056.js
2026-02-10 01:14:19 +00:00

1 line
8.3 KiB
JavaScript

exports.id=6056,exports.ids=[6056],exports.modules={99369:(e,s,a)=>{Promise.resolve().then(a.bind(a,6844))},90486:(e,s,a)=>{Promise.resolve().then(a.t.bind(a,12994,23)),Promise.resolve().then(a.t.bind(a,96114,23)),Promise.resolve().then(a.t.bind(a,9727,23)),Promise.resolve().then(a.t.bind(a,79671,23)),Promise.resolve().then(a.t.bind(a,41868,23)),Promise.resolve().then(a.t.bind(a,84759,23))},86293:(e,s,a)=>{"use strict";a.d(s,{default:()=>c});var r=a(10326),o=a(90434),i=a(17577),t=a(43304),l=a(77109);let n=["/icons/merchicon1.png","/icons/merchicon2.png","/icons/merchicon3.png","/icons/merchicon4.png"];function c({forceScrolled:e=!1}){let[s,a,c,d,h,m,u,g]=t.a,[f,p]=(0,i.useState)(0),[_,x]=(0,i.useState)(e),{data:j,status:v}=(0,l.useSession)();return"authenticated"===v&&(j.user.name||j.user.email),r.jsx("header",{className:`so-header${_?" so-header--scrolled":""}`,children:(0,r.jsxs)("div",{className:"container",children:[(0,r.jsxs)("div",{className:"so-header__top",children:[(0,r.jsxs)("div",{className:"so-header__left",children:[r.jsx(o.default,{href:"/",className:"so-home","aria-label":"Home",children:r.jsx("span",{className:"so-home__icon"})}),r.jsx(o.default,{href:"/merch",className:"so-merch","aria-label":"Merch",children:n.map((e,s)=>r.jsx("img",{src:e,className:"so-merch__icon"+(s===f?" so-merch__icon--active":""),alt:""},e))})]}),r.jsx(o.default,{href:"/",className:"so-header__logo-wrap",children:r.jsx("img",{src:"/icons/logo.png",className:"so-header__logo",alt:"Shifted Offroad"})}),(0,r.jsxs)("div",{className:"so-header__right",children:[r.jsx(o.default,{href:"/rewards",className:"so-rewards",children:r.jsx("span",{className:"so-rewards__icon"})}),r.jsx(o.default,{href:"/cart",className:"so-cart",children:r.jsx("span",{className:"so-cart__icon"})})]})]}),(0,r.jsxs)("div",{className:"so-header__categories",children:[r.jsx("nav",{className:"so-header__nav so-header__nav--left",children:[s,h,a,g].map(e=>r.jsx(o.default,{href:`/category/${(0,t.F)(e)}`,className:"so-navitem",children:e},e))}),r.jsx("nav",{className:"so-header__nav so-header__nav--right",children:[c,m,d,u].map(e=>r.jsx(o.default,{href:`/category/${(0,t.F)(e)}`,className:"so-navitem",children:e},e))})]})]})})}},90725:(e,s,a)=>{"use strict";a.d(s,{Z:()=>t});var r=a(10326),o=a(90434),i=a(43304);function t(){return(0,r.jsxs)("footer",{className:"footer",children:[(0,r.jsxs)("div",{className:"container footer__inner",children:[(0,r.jsxs)("div",{className:"footer__brand",children:[r.jsx("img",{src:"/icons/logo.png",alt:"Shifted Offroad",style:{height:54,width:"auto",display:"block",marginBottom:10},decoding:"async",loading:"lazy"}),r.jsx("div",{style:{opacity:.9,fontSize:13,lineHeight:1.65},children:"Shifted Offroad (Kelowna, BC) is an offroad parts and accessories company built around real fitment, honest advice, and clean installs. We focus on parts that work as advertised, pair well with common builds, and hold up to the conditions that actually get trucks and SUVs used the way they should be."}),r.jsx("div",{style:{opacity:.9,fontSize:13,lineHeight:1.65,marginTop:10},children:"Our catalog blends trail-ready essentials with smart upgrades that improve capability without compromising daily drivability. Whether you are dialing in stance, lighting, recovery, or cargo utility, we help you choose components that fit your vehicle and your goals."}),r.jsx("div",{style:{opacity:.9,fontSize:13,lineHeight:1.65,marginTop:10},children:"We are easy to reach, fast to respond, and focused on getting it right the first time. The goal is a simple, confident purchase and a setup you are proud to run."})]}),(0,r.jsxs)("div",{className:"footer__col footer__col--categories",children:[r.jsx("h4",{children:"Categories"}),i.a.map(e=>r.jsx(o.default,{href:`/category/${(0,i.F)(e)}`,children:e},e))]}),(0,r.jsxs)("div",{className:"footer__col footer__col--support",children:[r.jsx("h4",{children:"Support"}),r.jsx(o.default,{href:"/contact",children:"Contact"}),r.jsx(o.default,{href:"/legal/faq",children:"FAQ"}),r.jsx(o.default,{href:"/legal/warranty",children:"Warranty"})]}),(0,r.jsxs)("div",{className:"footer__col footer__col--legal",children:[r.jsx("h4",{children:"Legal"}),r.jsx(o.default,{href:"/legal/privacy-policy",children:"Privacy Policy"}),r.jsx(o.default,{href:"/legal/terms-of-service",children:"Terms of Service"}),r.jsx(o.default,{href:"/legal/refund-policy",children:"Refund Policy"}),r.jsx(o.default,{href:"/legal/cookies",children:"Cookies"})]})]}),r.jsx("div",{className:"footer__payments",children:(0,r.jsxs)("div",{className:"container footer__payments-inner",children:[r.jsx("div",{children:"Secure checkout powered by trusted processors."}),(0,r.jsxs)("div",{className:"footer__payment-logos",children:[r.jsx("img",{src:"/assets/payments/visa.svg",alt:"Visa",loading:"lazy",decoding:"async"}),r.jsx("img",{src:"/assets/payments/visa-alt.svg",alt:"Visa",loading:"lazy",decoding:"async"}),r.jsx("img",{src:"/assets/payments/stripe.svg",alt:"Stripe",loading:"lazy",decoding:"async"}),r.jsx("img",{src:"/assets/payments/paypal.svg",alt:"PayPal",loading:"lazy",decoding:"async"})]})]})})]})}},19640:(e,s,a)=>{"use strict";a.d(s,{default:()=>n});var r=a(10326),o=a(90434),i=a(17577),t=a(43304),l=a(77109);function n({forceScrolled:e=!1}){let[s,a]=(0,i.useState)(e),[n,c]=(0,i.useState)(!1),[d,h]=(0,i.useState)(null);(0,l.useSession)();let m={Interior:"/categories/cat-interior.png",Tools:"/categories/cat-tools.png",Exterior:"/categories/cat-exterior.png",Drivetrain:"/categories/cat-drivetrain.png",Lighting:"/categories/cat-lighting.png",Suspension:"/categories/cat-suspension.png",Audio:"/categories/cat-audio.png",Performance:"/categories/cat-performance.png"},u=e=>{h(e.touches[0]?.clientY??null)},g=e=>{if(null===d)return;let a=(e.changedTouches[0]?.clientY??d)-d;s&&!n&&a<-40?c(!0):n&&a>40&&c(!1),h(null)};return(0,r.jsxs)(r.Fragment,{children:[r.jsx("header",{className:`so-header so-header--mobile${s?" so-header--shrunk":""}${n?" so-header--hidden":""}`,onTouchStart:u,onTouchEnd:g,children:(0,r.jsxs)("div",{className:"container so-header__mobile",children:[r.jsx("div",{className:"so-header__top",children:r.jsx(o.default,{href:"/",className:"so-header__logo-wrap",children:r.jsx("img",{src:"/icons/logo.png",className:"so-header__logo",alt:"Shifted Offroad"})})}),(0,r.jsxs)("div",{className:"so-header__categories",children:[r.jsx("nav",{className:"so-header__nav so-header__nav--mobile",children:t.a.map(e=>r.jsx(o.default,{href:`/category/${(0,t.F)(e)}`,className:"so-navitem",style:{backgroundImage:`url(${m[e]||""})`},children:r.jsx("span",{className:"so-navitem__label",children:e})},e))}),r.jsx(o.default,{href:"/cart",className:"so-mobile-corner so-mobile-corner--home","aria-label":"Cart",children:r.jsx("span",{className:"so-mobile-corner__icon so-mobile-corner__icon--cart","aria-hidden":"true"})}),r.jsx(o.default,{href:"/",className:"so-mobile-corner so-mobile-corner--cart","aria-label":"Home",children:r.jsx("span",{className:"so-mobile-corner__icon so-mobile-corner__icon--home","aria-hidden":"true"})}),(0,r.jsxs)("div",{className:"so-header__mobile-tools",children:[r.jsx("input",{className:"so-header__search",type:"search",placeholder:"Search","aria-label":"Search"}),r.jsx(o.default,{href:"/login",className:"so-auth-icon","aria-label":"Sign in",children:r.jsx("span",{className:"so-auth-icon__glyph","aria-hidden":"true"})})]})]})]})}),r.jsx("button",{type:"button",className:`so-header__pulltab so-header__pulltab--visible${n?" so-header__pulltab--hidden":""}${s?" so-header__pulltab--shrunk":""}`,onClick:()=>c(!1),onTouchStart:u,onTouchEnd:g,"aria-label":n?"Show header":"Hide header",children:r.jsx("span",{className:"so-header__pulltab-grip"})})]})}},6844:(e,s,a)=>{"use strict";a.d(s,{default:()=>i});var r=a(10326),o=a(77109);function i({children:e}){return r.jsx(o.SessionProvider,{children:e})}},43304:(e,s,a)=>{"use strict";a.d(s,{F:()=>o,a:()=>r});let r=["Interior","Exterior","Lighting","Audio","Tools","Suspension","Performance","Drivetrain"];function o(e){return e.toLowerCase()}},90434:(e,s,a)=>{"use strict";a.d(s,{default:()=>o.a});var r=a(79404),o=a.n(r)},88242:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>t,metadata:()=>i});var r=a(19510);a(7633);let o=(0,a(68570).createProxy)(String.raw`/root/ShiftedOffRoad/components/Providers.tsx#default`),i={title:"ShiftedFDev",description:"Next.js app"};function t({children:e}){return r.jsx("html",{lang:"en",children:r.jsx("body",{children:r.jsx(o,{children:e})})})}},7633:()=>{}};