PageSourceSearch

https://laurasboutiqueny.com/assets/Wishlist-4Ec6v67o.js

js laurasboutiqueny.com collected 2026-10-08 09:04:03 UTC 5,334 bytes, 2 lines download raw bytes

1import{g,j as e,N as c,m as a,H as o,L as s,F as d,k as x,X as h}from"./index-Ccx9zQLr.js";function j(){const{items:i,loading:r,isAuthenticated:m,removeItem:p,signOut:n}=g();return!r&&!m?e.jsxs("div",{className:"bg-midnight min-h-screen",children:[e.jsx(c,{}),e.jsxs("section",{className:"pt-32 pb-12 md:pt-40 md:pb-16 section-padding",children:[e.jsx(a.p,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.8},className:"text-xs uppercase tracking-[0.4em] text-gilded mb-6",children:"Curated For You"}),e.jsx(a.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.1},className:"font-display italic font-light text-4xl md:text-6xl lg:text-7xl text-alabaster leading-tight",children:"Your Wishlist"})]}),e.jsx("section",{className:"pb-24 md:pb-32 section-padding",children:e.jsxs("div",{className:"max-w-lg mx-auto text-center py-16",children:[e.jsx(o,{size:56,className:"text-gilded/20 mx-auto mb-8"}),e.jsx("p",{className:"font-display text-2xl md:text-3xl text-alabaster/50 mb-4",children:"Sign in to curate your personal collection"}),e.jsx("p",{className:"text-sm text-alabaster/40 leading-relaxed mb-10",children:"Save your favorite Dream Couture pieces to a private wishlist, accessible across all your devices."}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[e.jsx(s,{to:"/login",className:"ghost-btn",children:"Sign In"}),e.jsx(s,{to:"/register",className:"inline-flex items-center justify-center border border-gilded/20 text-alabaster/70 hover:text-gilded hover:border-gilded transition-colors duration-300 text-xs uppercase tracking-[0.15em] px-10 py-4",children:"Create Account"})]}),e.jsx("div",{className:"mt-12",children:e.jsx(s,{to:"/shop",className:"text-sm text-alabaster/50 hover:text-gilded transition-colors",children:"Continue Browsing →"})})]})}),e.jsx(d,{})]}):e.jsxs("div",{className:"bg-midnight min-h-screen",children:[e.jsx(c,{}),e.jsx("section",{className:"pt-32 pb-12 md:pt-40 md:pb-16 section-padding",children:e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{children:[e.jsx(a.p,{initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:.8},className:"text-xs uppercase tracking-[0.4em] text-gilded mb-6",children:"Curated For You"}),e.jsx(a.h1,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.8,delay:.1},className:"font-display italic font-light text-4xl md:text-6xl lg:text-7xl text-alabaster leading-tight",children:"Your Wishlist"})]}),e.jsxs("button",{onClick:n,className:"hidden md:inline-flex items-center gap-2 text-xs uppercase tracking-[0.2em] text-alabaster/40 hover:text-gilded transition-colors mt-4",children:[e.jsx(x,{size:14})," Sign Out"]})]})}),e.jsxs("section",{className:"pb-24 md:pb-32 section-padding",children:[r?e.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8",children:Array.from({length:4}).map((t,l)=>e.jsx("div",{className:"aspect-[3/4] bg-charcoal animate-pulse"},l))}):i.length===0?e.jsxs("div",{className:"text-center py-24",children:[e.jsx(o,{size:48,className:"text-gilded/20 mx-auto mb-6"}),e.jsx("p",{className:"font-display text-2xl text-alabaster/40 mb-8",children:"Your wishlist is waiting to be filled."}),e.jsx(s,{to:"/shop",className:"ghost-btn",children:"Explore the Collection"})]}):e.jsxs(e.Fragment,{children:[e.jsxs("p",{className:"text-sm text-alabaster/50 mb-10",children:[i.length," ",i.length===1?"piece":"pieces"]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8",children:i.map((t,l)=>e.jsxs(a.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:l%3*.1},className:"group relative",children:[e.jsxs(s,{to:`/product/${t.product_id}`,children:[e.jsx("div",{className:"relative overflow-hidden bg-charcoal aspect-[3/4] mb-4",children:t.product_image?e.jsx("img",{src:t.product_image,alt:t.product_name,loading:"lazy",className:"w-full h-full object-contain transition-transform duration-700 group-hover:scale-105"}):e.jsx("div",{className:"w-full h-full flex items-center justify-center",children:e.jsx("span",{className:"font-display text-4xl text-gilded/20",children:"DC"})})}),e.jsx("h3",{className:"font-display text-lg text-alabaster mb-1 group-hover:text-gilded transition-colors",children:t.product_name}),t.product_price&&e.jsxs("p",{className:"text-sm text-alabaster/70",children:["$",t.product_price.toLocaleString()]})]}),e.jsx("button",{onClick:()=>p(t.id),className:"absolute top-3 right-3 w-9 h-9 flex items-center justify-center bg-midnight/80 backdrop-blur-sm border border-gilded/20 text-alabaster/60 hover:text-gilded hover:border-gilded transition-colors","aria-label":"Remove from wishlist",children:e.jsx(h,{size:16})})]},t.id))})]}),i.length>0&&e.jsxs("div",{className:"mt-16 flex flex-col sm:flex-row gap-4 justify-center items-center",children:[e.jsx(s,{to:"/shop",className:"ghost-btn",children:"Continue Shopping"}),e.jsxs("button",{onClick:n,className:"md:hidden inline-flex items-center justify-center gap-2 text-xs uppercase tracking-[0.2em] text-alabaster/40 hover:text-gilded transition-colors border border-gilded/20 px-10 py-4",children:[e.jsx(x,{size:14})," Sign Out"]})]})]}),e.jsx(d,{})]})}export{j as default};
2//# sourceMappingURL=Wishlist-4Ec6v67o.js.map

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.