1 line
23 KiB
JavaScript
1 line
23 KiB
JavaScript
(()=>{var e={};e.id=2033,e.ids=[2033],e.modules={72934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},54580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},45869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},55315:e=>{"use strict";e.exports=require("path")},17360:e=>{"use strict";e.exports=require("url")},99705:(e,t,s)=>{"use strict";s.r(t),s.d(t,{GlobalError:()=>l.a,__next_app__:()=>h,originalPathname:()=>x,pages:()=>d,routeModule:()=>m,tree:()=>o}),s(71978),s(34159),s(73781),s(45857),s(26751),s(40656),s(40509),s(70546);var a=s(30170),i=s(45002),r=s(83876),l=s.n(r),n=s(66299),c={};for(let e in n)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(c[e]=()=>n[e]);s.d(t,c);let o=["",{children:["artists",{children:["[id]",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(s.bind(s,71978)),"/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/artists/[id]/page.tsx"]}]},{error:[()=>Promise.resolve().then(s.bind(s,34159)),"/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/artists/[id]/error.tsx"],loading:[()=>Promise.resolve().then(s.bind(s,73781)),"/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/artists/[id]/loading.tsx"]}]},{error:[()=>Promise.resolve().then(s.bind(s,45857)),"/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/artists/error.tsx"],loading:[()=>Promise.resolve().then(s.bind(s,26751)),"/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/artists/loading.tsx"],metadata:{icon:[async e=>(await Promise.resolve().then(s.bind(s,57481))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(s.bind(s,40656)),"/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/layout.tsx"],error:[()=>Promise.resolve().then(s.bind(s,40509)),"/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/error.tsx"],"not-found":[()=>Promise.resolve().then(s.bind(s,70546)),"/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/not-found.tsx"],metadata:{icon:[async e=>(await Promise.resolve().then(s.bind(s,57481))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}],d=["/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/artists/[id]/page.tsx"],x="/artists/[id]/page",h={require:s,loadChunk:()=>Promise.resolve()},m=new a.AppPageRouteModule({definition:{kind:i.x.APP_PAGE,page:"/artists/[id]/page",pathname:"/artists/[id]",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:o}})},60450:(e,t,s)=>{Promise.resolve().then(s.bind(s,50331))},58204:(e,t,s)=>{Promise.resolve().then(s.bind(s,24411))},9891:(e,t,s)=>{Promise.resolve().then(s.bind(s,65515)),Promise.resolve().then(s.bind(s,66696)),Promise.resolve().then(s.bind(s,72852))},35303:()=>{},50331:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>n});var a=s(97247),i=s(2502),r=s(58053),l=s(35921);function n({reset:e}){return a.jsx("div",{className:"container mx-auto px-4 py-8",children:(0,a.jsxs)(i.bZ,{variant:"destructive",className:"max-w-2xl mx-auto",children:[a.jsx(l.Z,{className:"h-4 w-4"}),a.jsx(i.Cd,{children:"Something went wrong!"}),(0,a.jsxs)(i.X,{className:"space-y-4",children:[a.jsx("p",{children:"We encountered an error while loading the artist profile. Please try again or contact support if the problem persists."}),a.jsx(r.z,{onClick:e,variant:"outline",size:"sm",children:"Try again"})]})]})})}},24411:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>n});var a=s(97247),i=s(2502),r=s(58053),l=s(35921);function n({reset:e}){return a.jsx("div",{className:"container mx-auto px-4 py-8",children:(0,a.jsxs)(i.bZ,{variant:"destructive",className:"max-w-2xl mx-auto",children:[a.jsx(l.Z,{className:"h-4 w-4"}),a.jsx(i.Cd,{children:"Something went wrong!"}),(0,a.jsxs)(i.X,{className:"space-y-4",children:[a.jsx("p",{children:"We encountered an error while loading the artists page. Please try again or contact support if the problem persists."}),a.jsx(r.z,{onClick:e,variant:"outline",size:"sm",children:"Try again"})]})]})})}},65515:(e,t,s)=>{"use strict";s.d(t,{ArtistPortfolio:()=>p});var a=s(97247),i=s(28964),r=s(44597),l=s(58053),n=s(88964),c=s(79906),o=s(8749),d=s(77940),x=s(66498),h=s(93587);let m=(0,s(26323).Z)("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);var u=s(48407);function p({artistId:e}){let[t,s]=(0,i.useState)("All"),[p,v]=(0,i.useState)(null),[g,f]=(0,i.useState)(0),{data:b,isLoading:j,error:N}=(0,u.xE)(e),w=(0,i.useRef)(null),y=(0,i.useRef)(null),k=b?.portfolioImages||[],P=["All",...Array.from(new Set(k.flatMap(e=>e.tags)))],_="All"===t?k:k.filter(e=>e.tags.includes(t)),z=(0,i.useCallback)(e=>{let t=_[e];t&&v(t.id)},[_]),A=(e,t)=>{t&&(w.current=t),v(e)},C=()=>{v(null),setTimeout(()=>w.current?.focus(),0)},D=p?_.findIndex(e=>e.id===p):-1,q=p?_.find(e=>e.id===p):null;if(j)return a.jsx("div",{className:"min-h-screen bg-black text-white flex items-center justify-center",children:a.jsx(o.Z,{className:"w-12 h-12 animate-spin text-primary"})});if(N)return a.jsx("div",{className:"min-h-screen bg-black text-white flex items-center justify-center",children:(0,a.jsxs)("div",{className:"text-center",children:[a.jsx("h1",{className:"text-2xl font-bold mb-4",children:"Failed to load artist"}),a.jsx("p",{className:"text-gray-400 mb-6",children:"Please try again later"}),a.jsx(l.z,{asChild:!0,children:a.jsx(c.default,{href:"/artists",children:"Back to Artists"})})]})});if(!b)return a.jsx("div",{className:"min-h-screen bg-black text-white flex items-center justify-center",children:(0,a.jsxs)("div",{className:"text-center",children:[a.jsx("h1",{className:"text-2xl font-bold mb-4",children:"Artist not found"}),a.jsx(l.z,{asChild:!0,children:a.jsx(c.default,{href:"/artists",children:"Back to Artists"})})]})});let S=k.find(e=>e.tags.includes("profile"))?.url||k[0]?.url||"/placeholder.svg";return(0,a.jsxs)("div",{className:"min-h-screen bg-black text-white",children:[a.jsx("div",{className:"fixed top-6 right-8 z-40",children:a.jsx(l.z,{asChild:!0,variant:"ghost",className:"text-white hover:bg-white/20 border border-white/30 backdrop-blur-sm bg-black/40 hover:text-white",children:(0,a.jsxs)(c.default,{href:"/artists",children:[a.jsx(d.Z,{className:"w-4 h-4 mr-2"}),"Back to Artists"]})})}),(0,a.jsxs)("section",{className:"relative h-screen overflow-hidden -mt-20",children:[a.jsx("div",{className:"absolute left-0 top-0 w-1/2 h-full",style:{transform:`translateY(${.3*g}px)`},children:(0,a.jsxs)("div",{className:"relative w-full h-full",children:[a.jsx(r.default,{src:S,alt:b.name,fill:!0,sizes:"(max-width: 640px) 50vw, (max-width: 1024px) 33vw, 25vw",className:"object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent to-black/50"}),a.jsx("div",{className:"absolute top-28 left-8",children:a.jsx(n.C,{variant:b.isActive?"default":"secondary",className:"bg-white/20 backdrop-blur-sm text-white border-white/30",children:b.isActive?"Available":"Unavailable"})})]})}),a.jsx("div",{className:"absolute right-0 top-0 w-1/2 h-full flex items-center",style:{transform:`translateY(${-.2*g}px)`},children:(0,a.jsxs)("div",{className:"px-16 py-20",children:[(0,a.jsxs)("div",{className:"mb-8",children:[a.jsx("h1",{className:"font-playfair text-6xl font-bold mb-4 text-balance leading-tight",children:b.name}),a.jsx("p",{className:"text-2xl text-gray-300 mb-6",children:b.specialties.join(", ")})]}),a.jsx("p",{className:"text-gray-300 mb-8 leading-relaxed text-lg max-w-lg",children:b.bio}),(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-4 mb-8",children:[b.instagramHandle&&(0,a.jsxs)("div",{className:"flex items-center space-x-3",children:[a.jsx(x.Z,{className:"w-5 h-5 text-gray-400"}),a.jsx("a",{href:`https://instagram.com/${b.instagramHandle.replace("@","")}`,target:"_blank",rel:"noopener noreferrer",className:"text-gray-300 hover:text-white transition-colors",children:b.instagramHandle})]}),b.hourlyRate&&(0,a.jsxs)("div",{className:"flex items-center space-x-3",children:[a.jsx(h.Z,{className:"w-5 h-5 text-gray-400"}),(0,a.jsxs)("span",{className:"text-gray-300",children:["Starting at $",b.hourlyRate,"/hr"]})]})]}),(0,a.jsxs)("div",{className:"mb-8",children:[a.jsx("h3",{className:"font-semibold mb-4 text-lg",children:"Specializes in:"}),a.jsx("div",{className:"flex flex-wrap gap-2",children:b.specialties.map(e=>a.jsx(n.C,{variant:"outline",className:"border-white/30 text-white",children:e},e))})]}),(0,a.jsxs)("div",{className:"flex space-x-4",children:[a.jsx(l.z,{asChild:!0,size:"lg",className:"bg-white text-black hover:bg-gray-100 !text-black hover:!text-black",children:a.jsx(c.default,{href:`/book?artist=${b.slug}`,children:"Book Appointment"})}),a.jsx(l.z,{variant:"outline",size:"lg",className:"border-white/30 text-white hover:bg-white hover:text-black bg-transparent",children:"Get Consultation"})]})]})}),a.jsx("div",{className:"absolute bottom-0 left-0 right-0 h-32 bg-black",children:a.jsx("svg",{className:"absolute top-0 left-0 w-full h-32",viewBox:"0 0 1200 120",preserveAspectRatio:"none",children:a.jsx("path",{d:"M0,0 C300,120 900,120 1200,0 L1200,120 L0,120 Z",fill:"black"})})})]}),a.jsx("section",{className:"relative bg-black",children:(0,a.jsxs)("div",{className:"flex min-h-screen",children:[a.jsx("div",{className:"w-2/3 p-8 overflow-y-auto",children:0===_.length?a.jsx("div",{className:"flex items-center justify-center h-96",children:a.jsx("p",{className:"text-gray-400 text-xl",children:"No portfolio images available"})}):a.jsx("div",{className:"grid grid-cols-2 gap-6",children:_.map(e=>a.jsx("div",{className:"group cursor-pointer",role:"button",tabIndex:0,"aria-label":`Open ${e.caption||"portfolio image"}`,onClick:t=>{A(e.id,t.currentTarget||null)},onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&(t.preventDefault(),A(e.id,t.currentTarget))},children:(0,a.jsxs)("div",{className:"relative overflow-hidden bg-gray-900 aspect-[4/5] hover:scale-[1.02] transition-all duration-500",children:[a.jsx(r.default,{src:e.url||"/placeholder.svg",alt:e.caption||`${b.name} portfolio image`,width:800,height:1e3,sizes:"(max-width: 640px) 50vw, (max-width: 1024px) 33vw, 25vw",className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-700","aria-hidden":!0,priority:!1}),a.jsx("div",{className:"absolute inset-0 bg-black/60 opacity-0 group-hover:opacity-100 transition-all duration-500 flex items-center justify-center",children:(0,a.jsxs)("div",{className:"text-center",children:[a.jsx(m,{className:"w-8 h-8 text-white mb-2 mx-auto"}),e.caption&&a.jsx("p",{className:"text-white font-medium",children:e.caption})]})})]})},e.id))})}),a.jsx("div",{className:"w-1/3 sticky top-0 h-screen flex flex-col justify-center p-12 bg-black border-l border-white/10",children:(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-baseline justify-between mb-8",children:[a.jsx("h2",{className:"font-playfair text-5xl font-bold text-balance",children:"Featured Work"}),a.jsx("span",{className:"text-6xl font-light text-gray-500",children:_.length})]}),a.jsx("div",{className:"mb-12",children:(0,a.jsxs)("p",{className:"text-gray-300 leading-relaxed text-lg mb-8",children:["Explore the portfolio of ",b.name," showcasing their expertise in"," ",b.specialties.join(", "),". Each piece represents a unique collaboration between artist and client."]})}),P.length>1&&(0,a.jsxs)("div",{className:"mb-8",children:[a.jsx("h3",{className:"font-semibold mb-4 text-lg",children:"Filter by Style"}),a.jsx("div",{className:"flex flex-col gap-2",role:"list",children:P.map(e=>{let i="All"===e?k.length:k.filter(t=>t.tags.includes(e)).length;return(0,a.jsxs)(l.z,{variant:"ghost",onClick:()=>s(e),className:`justify-start text-left hover:bg-white/10 ${t===e?"text-white bg-white/10":"text-gray-400 hover:text-white"}`,"aria-pressed":t===e,role:"listitem",children:[e,a.jsx("span",{className:"ml-auto text-sm",children:i})]},e)})})]}),a.jsx("div",{className:"border-t border-white/10 pt-8",children:(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-4 text-center",children:[(0,a.jsxs)("div",{children:[a.jsx("div",{className:"text-2xl font-bold",children:k.length}),a.jsx("div",{className:"text-sm text-gray-400",children:"Pieces"})]}),(0,a.jsxs)("div",{children:[a.jsx("div",{className:"text-2xl font-bold",children:b.isActive?"Active":"Inactive"}),a.jsx("div",{className:"text-sm text-gray-400",children:"Status"})]})]})})]})})]})}),a.jsx("section",{className:"relative py-32 bg-black border-t border-white/10",children:a.jsx("div",{className:"container mx-auto px-8 text-center",children:(0,a.jsxs)("div",{className:"max-w-3xl mx-auto",children:[a.jsx("h2",{className:"font-playfair text-5xl font-bold mb-6 text-balance",children:"Ready to Get Started?"}),(0,a.jsxs)("p",{className:"text-gray-300 text-xl leading-relaxed mb-12",children:["Book a consultation with ",b.name," to discuss your next tattoo. We can help plan the design and schedule the session."]}),(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row gap-6 justify-center items-center",children:[a.jsx(l.z,{asChild:!0,size:"lg",className:"bg-white text-black hover:bg-gray-100 !text-black hover:!text-black px-12 py-4 text-lg",children:a.jsx(c.default,{href:`/book?artist=${b.slug}`,children:"Book Now"})}),a.jsx(l.z,{variant:"outline",size:"lg",className:"border-white/30 text-white hover:bg-white hover:text-black bg-transparent px-12 py-4 text-lg",children:"Get Consultation"})]}),a.jsx("div",{className:"mt-16 pt-16 border-t border-white/10",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 text-center",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"text-3xl font-bold mb-2",children:[b.specialties.length,"+"]}),a.jsx("div",{className:"text-gray-400",children:"Specialties"})]}),(0,a.jsxs)("div",{children:[a.jsx("div",{className:"text-3xl font-bold mb-2",children:k.length}),a.jsx("div",{className:"text-gray-400",children:"Portfolio Pieces"})]}),(0,a.jsxs)("div",{children:[a.jsx("div",{className:"text-3xl font-bold mb-2",children:b.hourlyRate?`$${b.hourlyRate}`:"Contact"}),a.jsx("div",{className:"text-gray-400",children:"Starting Rate"})]})]})})]})})}),p&&q&&a.jsx("div",{className:"fixed inset-0 bg-black/95 z-50 flex items-center justify-center p-4",role:"dialog","aria-modal":"true","aria-label":q.caption||"Portfolio image",onClick:()=>C(),children:(0,a.jsxs)("div",{className:"relative max-w-6xl max-h-[90vh] w-full flex items-center justify-center",onClick:e=>e.stopPropagation(),children:[a.jsx("button",{"aria-label":"Previous image",onClick:()=>{z((D-1+_.length)%_.length)},className:"absolute left-2 top-1/2 -translate-y-1/2 text-white p-2 bg-black/30 rounded hover:bg-black/50",children:"‹"}),a.jsx("div",{className:"flex-1 flex items-center justify-center p-4",children:a.jsx(r.default,{src:q.url||"/placeholder.svg",alt:q.caption||"Portfolio image",width:1200,height:900,sizes:"(max-width: 640px) 90vw, (max-width: 1024px) 80vw, 60vw",className:"max-w-full max-h-[80vh] object-contain"})}),a.jsx("button",{"aria-label":"Next image",onClick:()=>{z((D+1)%_.length)},className:"absolute right-2 top-1/2 -translate-y-1/2 text-white p-2 bg-black/30 rounded hover:bg-black/50",children:"›"}),a.jsx(l.z,{variant:"ghost",size:"sm",ref:y,className:"absolute top-4 right-4 text-white hover:bg-white/20 text-2xl",onClick:C,"aria-label":"Close image",children:"✕"})]})})]})}},2502:(e,t,s)=>{"use strict";s.d(t,{Cd:()=>c,X:()=>o,bZ:()=>n});var a=s(97247);s(28964);var i=s(87972),r=s(25008);let l=(0,i.j)("relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",{variants:{variant:{default:"bg-card text-card-foreground",destructive:"text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"}},defaultVariants:{variant:"default"}});function n({className:e,variant:t,...s}){return a.jsx("div",{"data-slot":"alert",role:"alert",className:(0,r.cn)(l({variant:t}),e),...s})}function c({className:e,...t}){return a.jsx("div",{"data-slot":"alert-title",className:(0,r.cn)("col-start-2 line-clamp-1 min-h-4 font-medium tracking-tight",e),...t})}function o({className:e,...t}){return a.jsx("div",{"data-slot":"alert-description",className:(0,r.cn)("text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",e),...t})}},88964:(e,t,s)=>{"use strict";s.d(t,{C:()=>c});var a=s(97247);s(28964);var i=s(69008),r=s(87972),l=s(25008);let n=(0,r.j)("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-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 transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function c({className:e,variant:t,asChild:s=!1,...r}){let c=s?i.g7:"span";return a.jsx(c,{"data-slot":"badge",className:(0,l.cn)(n({variant:t}),e),...r})}},48407:(e,t,s)=>{"use strict";s.d(t,{qI:()=>r,xE:()=>l});var a=s(30490);let i={all:["artists"],lists:()=>[...i.all,"list"],list:e=>[...i.lists(),e],details:()=>[...i.all,"detail"],detail:e=>[...i.details(),e],me:()=>[...i.all,"me"]};function r(e){return(0,a.a)({queryKey:i.list(e),queryFn:async()=>{let t=new URLSearchParams;e?.specialty&&t.append("specialty",e.specialty),e?.search&&t.append("search",e.search),e?.limit&&t.append("limit",e.limit.toString()),e?.page&&t.append("page",e.page.toString());let s=await fetch(`/api/artists?${t.toString()}`);if(!s.ok)throw Error("Failed to fetch artists");return(await s.json()).artists},staleTime:3e5})}function l(e){return(0,a.a)({queryKey:i.detail(e||""),queryFn:async()=>{if(!e)return null;let t=await fetch(`/api/artists/${e}`);if(!t.ok){if(404===t.status)return null;throw Error("Failed to fetch artist")}return t.json()},enabled:!!e,staleTime:3e5})}},77940:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});let a=(0,s(26323).Z)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},93587:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});let a=(0,s(26323).Z)("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]])},66498:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});let a=(0,s(26323).Z)("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]])},35921:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});let a=(0,s(26323).Z)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},34159:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>a});let a=(0,s(45347).createProxy)(String.raw`/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/artists/[id]/error.tsx#default`)},73781:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>r});var a=s(72051),i=s(58030);function r(){return(0,a.jsxs)("div",{className:"container mx-auto px-4 py-8 space-y-8",children:[(0,a.jsxs)("div",{className:"flex flex-col md:flex-row gap-8",children:[a.jsx(i.O,{className:"w-64 h-64 rounded-lg mx-auto md:mx-0"}),(0,a.jsxs)("div",{className:"flex-1 space-y-4",children:[a.jsx(i.O,{className:"h-10 w-48"}),a.jsx(i.O,{className:"h-6 w-32"}),(0,a.jsxs)("div",{className:"space-y-2",children:[a.jsx(i.O,{className:"h-4 w-full"}),a.jsx(i.O,{className:"h-4 w-3/4"}),a.jsx(i.O,{className:"h-4 w-5/6"})]}),(0,a.jsxs)("div",{className:"flex gap-4",children:[a.jsx(i.O,{className:"h-10 w-32"}),a.jsx(i.O,{className:"h-10 w-24"})]})]})]}),(0,a.jsxs)("div",{className:"space-y-6",children:[a.jsx(i.O,{className:"h-8 w-32"}),a.jsx("div",{className:"grid gap-4 md:grid-cols-2 lg:grid-cols-3",children:Array.from({length:9}).map((e,t)=>a.jsx(i.O,{className:"aspect-square w-full rounded-lg"},t))})]})]})}},71978:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>n});var a=s(72051),i=s(94604);let r=(0,s(45347).createProxy)(String.raw`/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/components/artist-portfolio.tsx#ArtistPortfolio`);var l=s(86006);function n({params:e}){return(0,a.jsxs)("main",{className:"min-h-screen",children:[a.jsx(i.W,{}),a.jsx("div",{className:"pt-16",children:a.jsx(r,{artistId:e.id})}),a.jsx(l.$,{})]})}},45857:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>a});let a=(0,s(45347).createProxy)(String.raw`/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/artists/error.tsx#default`)},26751:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>r});var a=s(72051),i=s(58030);function r(){return(0,a.jsxs)("div",{className:"container mx-auto px-4 py-8 space-y-8",children:[(0,a.jsxs)("div",{className:"text-center space-y-4",children:[a.jsx(i.O,{className:"h-12 w-48 mx-auto"}),a.jsx(i.O,{className:"h-6 w-80 mx-auto"})]}),a.jsx("div",{className:"grid gap-6 md:grid-cols-2 lg:grid-cols-3",children:Array.from({length:6}).map((e,t)=>(0,a.jsxs)("div",{className:"space-y-4",children:[a.jsx(i.O,{className:"aspect-square w-full rounded-lg"}),(0,a.jsxs)("div",{className:"space-y-2",children:[a.jsx(i.O,{className:"h-6 w-32"}),a.jsx(i.O,{className:"h-4 w-24"}),(0,a.jsxs)("div",{className:"space-y-1",children:[a.jsx(i.O,{className:"h-3 w-full"}),a.jsx(i.O,{className:"h-3 w-3/4"})]})]})]},t))})]})}},58030:(e,t,s)=>{"use strict";s.d(t,{O:()=>r});var a=s(72051),i=s(37170);function r({className:e,...t}){return a.jsx("div",{"data-slot":"skeleton",className:(0,i.cn)("bg-accent animate-pulse rounded-md",e),...t})}},37170:(e,t,s)=>{"use strict";s.d(t,{cn:()=>r});var a=s(36272),i=s(51472);function r(...e){return(0,i.m6)((0,a.W)(e))}}};var t=require("../../../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),a=t.X(0,[9379,1488,1511,4080,6082,6758,1181,6626,6887,490,4106,4298],()=>s(99705));module.exports=a})(); |