This commit implements the core admin dashboard functionality including NextAuth authentication, Cloudflare D1 database integration with complete schema, and Cloudflare R2 file upload system for portfolio images. Features include artist management, appointment scheduling, and data migration capabilities.
1 line
921 B
JavaScript
1 line
921 B
JavaScript
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7601],{11603:function(e,n,t){Promise.resolve().then(t.bind(t,13490))},13490:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return c}});var r=t(57437),s=t(2265);function c(e){let{error:n,reset:t}=e;return(0,s.useEffect)(()=>{console.error(n)},[n]),(0,r.jsx)("div",{className:"min-h-[50vh] flex items-center justify-center p-8",children:(0,r.jsxs)("div",{className:"text-center space-y-3",children:[(0,r.jsx)("h2",{className:"text-xl font-semibold",children:"Something went wrong"}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:(null==n?void 0:n.message)||"An unexpected error occurred."}),(0,r.jsx)("button",{onClick:()=>t(),className:"inline-flex items-center rounded-md border px-3 py-1.5 text-sm hover:bg-accent",children:"Try again"})]})})}}},function(e){e.O(0,[2971,2117,1744],function(){return e(e.s=11603)}),_N_E=e.O()}]); |