Spaces:
Running
Running
File size: 7,945 Bytes
3da72fb |
1 |
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{285:(e,t,r)=>{"use strict";r.d(t,{$:()=>d});var s=r(5155);r(2115);var a=r(9708),i=r(2085),n=r(9434);let o=(0,i.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function d(e){let{className:t,variant:r,size:i,asChild:d=!1,...c}=e,l=d?a.DX:"button";return(0,s.jsx)(l,{"data-slot":"button",className:(0,n.cn)(o({variant:r,size:i,className:t})),...c})}},347:()=>{},6191:(e,t,r)=>{"use strict";r.d(t,{Navigation:()=>f});var s=r(5155),a=r(2115),i=r(6874),n=r.n(i),o=r(6474),d=r(4416),c=r(4783),l=r(285),h=r(1305),x=r(9434);function u(e){let{...t}=e;return(0,s.jsx)(h.bL,{"data-slot":"dropdown-menu",...t})}function m(e){let{...t}=e;return(0,s.jsx)(h.l9,{"data-slot":"dropdown-menu-trigger",...t})}function v(e){let{className:t,sideOffset:r=4,...a}=e;return(0,s.jsx)(h.ZL,{children:(0,s.jsx)(h.UC,{"data-slot":"dropdown-menu-content",sideOffset:r,className:(0,x.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",t),...a})})}function p(e){let{className:t,inset:r,variant:a="default",...i}=e;return(0,s.jsx)(h.q7,{"data-slot":"dropdown-menu-item","data-inset":r,"data-variant":a,className:(0,x.cn)("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...i})}let f=()=>{let[e,t]=(0,a.useState)(!1),r=[{name:"All Products",href:"/products"},{name:"Ceramic Series",href:"/products/ceramic"},{name:"Carbon Series",href:"/products/carbon"},{name:"Premium Series",href:"/products/premium"},{name:"Professional Series",href:"/products/professional"}];return(0,s.jsx)("nav",{className:"bg-black border-b border-gray-800 sticky top-0 z-50 backdrop-blur-md",children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between h-16",children:[(0,s.jsx)("div",{className:"flex-shrink-0",children:(0,s.jsx)(n(),{href:"/",className:"flex items-center space-x-2",children:(0,s.jsx)("span",{style:{width:"160px",height:"48px",display:"inline-block"},children:(0,s.jsx)("img",{src:"/logo.svg",alt:"Ceramic Shield Logo",style:{width:"160px",height:"48px",objectFit:"contain",display:"block"}})})})}),(0,s.jsx)("div",{className:"hidden md:block",children:(0,s.jsxs)("div",{className:"ml-10 flex items-baseline space-x-8",children:[(0,s.jsx)(n(),{href:"/",className:"text-white hover:text-red-600 px-3 py-2 text-sm font-medium transition-colors duration-200",children:"Home"}),(0,s.jsxs)(u,{children:[(0,s.jsxs)(m,{className:"text-white hover:text-red-600 px-3 py-2 text-sm font-medium transition-colors duration-200 flex items-center space-x-1",children:[(0,s.jsx)("span",{children:"Products"}),(0,s.jsx)(o.A,{className:"w-4 h-4"})]}),(0,s.jsx)(v,{className:"bg-gray-900 border-gray-700 mt-2 min-w-[200px]",children:r.map(e=>(0,s.jsx)(p,{className:"focus:bg-gray-800",children:(0,s.jsx)(n(),{href:e.href,className:"w-full text-white hover:text-red-600 transition-colors duration-200",children:e.name})},e.href))})]}),(0,s.jsx)(n(),{href:"/about",className:"text-white hover:text-red-600 px-3 py-2 text-sm font-medium transition-colors duration-200",children:"About"}),(0,s.jsx)(n(),{href:"/contact",className:"text-white hover:text-red-600 px-3 py-2 text-sm font-medium transition-colors duration-200",children:"Contact"})]})}),(0,s.jsx)("div",{className:"hidden md:block",children:(0,s.jsx)(l.$,{variant:"default",className:"bg-red-600 hover:bg-red-700 text-white px-6 py-2 transition-colors duration-200",asChild:!0,children:(0,s.jsx)(n(),{href:"/contact",children:"Get Quote"})})}),(0,s.jsx)("div",{className:"md:hidden",children:(0,s.jsx)(l.$,{variant:"ghost",size:"icon",onClick:()=>{t(!e)},className:"text-white hover:text-red-600 hover:bg-gray-800",children:e?(0,s.jsx)(d.A,{className:"h-6 w-6"}):(0,s.jsx)(c.A,{className:"h-6 w-6"})})})]}),e&&(0,s.jsx)("div",{className:"md:hidden border-t border-gray-800",children:(0,s.jsxs)("div",{className:"px-2 pt-2 pb-3 space-y-1 sm:px-3",children:[(0,s.jsx)(n(),{href:"/",className:"text-white hover:text-red-600 hover:bg-gray-800 block px-3 py-2 text-base font-medium transition-colors duration-200",onClick:()=>t(!1),children:"Home"}),(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)("div",{className:"text-white px-3 py-2 text-base font-medium border-b border-gray-700",children:"Products"}),r.map(e=>(0,s.jsx)(n(),{href:e.href,className:"text-gray-300 hover:text-red-600 hover:bg-gray-800 block px-6 py-2 text-sm font-medium transition-colors duration-200",onClick:()=>t(!1),children:e.name},e.href))]}),(0,s.jsx)(n(),{href:"/about",className:"text-white hover:text-red-600 hover:bg-gray-800 block px-3 py-2 text-base font-medium transition-colors duration-200",onClick:()=>t(!1),children:"About"}),(0,s.jsx)(n(),{href:"/contact",className:"text-white hover:text-red-600 hover:bg-gray-800 block px-3 py-2 text-base font-medium transition-colors duration-200",onClick:()=>t(!1),children:"Contact"}),(0,s.jsx)("div",{className:"pt-4 pb-2",children:(0,s.jsx)(l.$,{variant:"default",className:"bg-red-600 hover:bg-red-700 text-white w-full transition-colors duration-200",asChild:!0,children:(0,s.jsx)(n(),{href:"/contact",onClick:()=>t(!1),children:"Get Quote"})})})]})})]})})}},9076:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,6198,23)),Promise.resolve().then(r.t.bind(r,8489,23)),Promise.resolve().then(r.t.bind(r,347,23)),Promise.resolve().then(r.bind(r,6191))},9434:(e,t,r)=>{"use strict";r.d(t,{cn:()=>i});var s=r(2596),a=r(9688);function i(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,a.QP)((0,s.$)(t))}}},e=>{var t=t=>e(e.s=t);e.O(0,[802,690,848,874,671,217,441,684,358],()=>t(9076)),_N_E=e.O()}]); |