1 line
26 KiB
JavaScript
1 line
26 KiB
JavaScript
exports.id=335,exports.ids=[335],exports.modules={1297:(a,b,c)=>{"use strict";c.d(b,{$n:()=>g,z9:()=>h});var d=c(60687),e=c(85814),f=c.n(e);function g({variant:a="primary",size:b="md",isLoading:c=!1,children:e,className:f="",disabled:g,...h}){return(0,d.jsx)("button",{className:`${{primary:"btn-primary",secondary:"btn-secondary",ghost:"btn-ghost",danger:"btn bg-red-500 hover:bg-red-600 text-white"}[a]} ${{sm:"px-2 py-1 text-xs",md:"px-3 py-1.5 text-sm",lg:"px-4 py-2 text-base"}[b]} ${f} ${c?"opacity-75 cursor-wait":""}`,disabled:g||c,...h,children:c?(0,d.jsxs)("span",{className:"flex items-center gap-1",children:[(0,d.jsx)("span",{className:"spinner w-3 h-3"}),"Loading..."]}):e})}function h({variant:a="primary",size:b="md",children:c,className:e="",href:g="#",...h}){return(0,d.jsx)(f(),{href:g,className:`${{primary:"btn-primary",secondary:"btn-secondary",ghost:"btn-ghost"}[a]} ${{sm:"px-2 py-1 text-xs",md:"px-3 py-1.5 text-sm",lg:"px-4 py-2 text-base"}[b]} ${e}`,...h,children:c})}c(43210)},12401:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>e});var d=c(31658);let e=async a=>[{type:"image/svg+xml",sizes:"any",url:(0,d.fillMetadataSegment)(".",await a.params,"icon.svg")+"?042324936fe4a851"}]},13622:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(61369).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/Nicholai/Nextcloud/Dev/BiohazardVFX_Website/biohazard-vfx/src/components/Providers.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/Nicholai/Nextcloud/Dev/BiohazardVFX_Website/biohazard-vfx/src/components/Providers.tsx","default")},23543:(a,b,c)=>{"use strict";c.d(b,{mc:()=>g,wn:()=>f,xA:()=>h,zY:()=>e});var d=c(60687);function e({title:a,subtitle:b,actions:c}){return(0,d.jsx)("div",{className:"mb-6",children:(0,d.jsxs)("div",{className:"flex items-start justify-between",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h1",{className:"text-3xl font-display tracking-tight text-white mb-2",children:a}),b&&(0,d.jsx)("p",{className:"text-text-muted text-base max-w-3xl",children:b})]}),c&&(0,d.jsx)("div",{className:"flex items-center gap-2",children:c})]})})}function f({children:a,className:b=""}){return(0,d.jsx)("section",{className:`section-spacing ${b}`,children:a})}function g({children:a,className:b=""}){return(0,d.jsx)("div",{className:`w-full px-4 sm:px-6 lg:px-8 ${b}`,children:a})}function h({children:a,cols:b=3,gap:c="md",className:e=""}){return(0,d.jsx)("div",{className:`grid ${{1:"grid-cols-1",2:"grid-cols-1 md:grid-cols-2",3:"grid-cols-1 md:grid-cols-2 lg:grid-cols-3",4:"grid-cols-1 md:grid-cols-2 lg:grid-cols-4"}[b]} ${{sm:"gap-3",md:"gap-4",lg:"gap-6"}[c]} ${e}`,children:a})}c(43210)},28659:(a,b,c)=>{"use strict";c.d(b,{default:()=>d});let d=(0,c(61369).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/Nicholai/Nextcloud/Dev/BiohazardVFX_Website/biohazard-vfx/src/components/Footer.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/Nicholai/Nextcloud/Dev/BiohazardVFX_Website/biohazard-vfx/src/components/Footer.tsx","default")},29205:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,16133,23)),Promise.resolve().then(c.t.bind(c,16444,23)),Promise.resolve().then(c.t.bind(c,16042,23)),Promise.resolve().then(c.t.bind(c,49477,23)),Promise.resolve().then(c.t.bind(c,29345,23)),Promise.resolve().then(c.t.bind(c,12089,23)),Promise.resolve().then(c.t.bind(c,46577,23)),Promise.resolve().then(c.t.bind(c,31307,23)),Promise.resolve().then(c.t.bind(c,14817,23))},29867:(a,b,c)=>{"use strict";c.d(b,{d:()=>k,o:()=>j});var d=c(43210);let e={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"},f=0,g=[],h={toasts:[]};function i(a){h=((a,b)=>{switch(b.type){case e.ADD_TOAST:return{...a,toasts:[b.toast,...a.toasts].slice(0,3)};case e.DISMISS_TOAST:{let{toastId:c}=b;return{...a,toasts:a.toasts.map(a=>a.id===c?{...a,status:"error"}:a)}}case e.REMOVE_TOAST:return{...a,toasts:a.toasts.filter(a=>a.id!==b.toastId)}}})(h,a),g.forEach(a=>{a(h)})}function j({...a}){let b=(f=(f+1)%Number.MAX_SAFE_INTEGER).toString();return i({type:e.ADD_TOAST,toast:{...a,id:b,status:a.status??"info",title:a.title,description:a.description,action:a.action}}),{id:b,dismiss:()=>i({type:e.DISMISS_TOAST,toastId:b}),update:a=>i({type:e.UPDATE_TOAST,toast:{...a,id:b}})}}function k(){let[a,b]=d.useState(h);return d.useEffect(()=>(g.push(b),()=>{let a=g.indexOf(b);a>-1&&g.splice(a,1)}),[a]),{...a,toast:j,dismiss:a=>i({type:e.DISMISS_TOAST,toastId:a})}}},33978:(a,b,c)=>{"use strict";c.d(b,{A:()=>h});var d=c(60687),e=c(43210),f=c(82136),g=c(1297);function h({className:a=""}){let[b,c]=(0,e.useState)(!1),[h,i]=(0,e.useState)(!1);return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(g.$n,{variant:"secondary",size:"sm",className:a,onClick:()=>c(!0),children:"Sign Out"}),b&&(0,d.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-6",onClick:a=>{a.target===a.currentTarget&&c(!1)},children:[(0,d.jsx)("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm"}),(0,d.jsxs)("div",{className:"relative w-full max-w-md bg-surface-900 border border-surface-600 rounded-xl shadow-xl p-6",children:[(0,d.jsx)("h3",{className:"text-xl font-semibold text-white mb-2",children:"Sign out"}),(0,d.jsx)("p",{className:"text-text-muted mb-6",children:"Are you sure you want to sign out of your account?"}),(0,d.jsxs)("div",{className:"flex items-center justify-end gap-2",children:[(0,d.jsx)(g.$n,{variant:"ghost",onClick:()=>c(!1),children:"Cancel"}),(0,d.jsx)(g.$n,{variant:"danger",isLoading:h,onClick:async()=>{try{i(!0),await (0,f.signOut)({callbackUrl:"/"})}finally{i(!1)}},children:"Sign Out"})]})]})]})]})}},36396:(a,b,c)=>{Promise.resolve().then(c.bind(c,51317)),Promise.resolve().then(c.bind(c,86246)),Promise.resolve().then(c.bind(c,60500))},42773:(a,b,c)=>{Promise.resolve().then(c.t.bind(c,25227,23)),Promise.resolve().then(c.t.bind(c,86346,23)),Promise.resolve().then(c.t.bind(c,27924,23)),Promise.resolve().then(c.t.bind(c,40099,23)),Promise.resolve().then(c.t.bind(c,38243,23)),Promise.resolve().then(c.t.bind(c,28827,23)),Promise.resolve().then(c.t.bind(c,62763,23)),Promise.resolve().then(c.t.bind(c,97173,23)),Promise.resolve().then(c.bind(c,25587))},51317:(a,b,c)=>{"use strict";c.d(b,{default:()=>k});var d=c(60687),e=c(85814),f=c.n(e),g=c(43210),h=c(23543),i=c(71911),j=c(1297);function k(){let[a,b]=(0,g.useState)(""),[c,e]=(0,g.useState)(""),[k,l]=(0,g.useState)(""),[m,n]=(0,g.useState)(!1),[o,p]=(0,g.useState)(""),q=async a=>{a.preventDefault(),n(!0),setTimeout(()=>{p("Thank you! We'll be in touch soon."),b(""),e(""),l(""),n(!1),setTimeout(()=>p(""),5e3)},1e3)};return(0,d.jsx)("footer",{className:"bg-surface-900 pt-16 pb-8 border-t border-surface-500",children:(0,d.jsxs)(h.mc,{children:[(0,d.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8 mb-12",children:[(0,d.jsxs)("div",{className:"lg:col-span-1",children:[(0,d.jsx)("h3",{className:"text-2xl font-display text-white mb-4",children:"Biohazard VFX"}),(0,d.jsx)("p",{className:"text-text-muted text-sm mb-4",children:"Global visual effects studio delivering world-class VFX supervision, 3D animation, and post-production services."}),(0,d.jsx)("p",{className:"text-text-muted text-sm",children:"We usually reply within 24 hours."})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h4",{className:"text-lg font-semibold text-white mb-4",children:"Services"}),(0,d.jsxs)("nav",{className:"space-y-3",children:[(0,d.jsx)(f(),{href:"/project",className:"block link-muted text-sm",children:"VFX Supervision"}),(0,d.jsx)(f(),{href:"/project",className:"block link-muted text-sm",children:"3D Animation"}),(0,d.jsx)(f(),{href:"/project",className:"block link-muted text-sm",children:"Post-Production"}),(0,d.jsx)(f(),{href:"/project",className:"block link-muted text-sm",children:"Motion Graphics"})]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h4",{className:"text-lg font-semibold text-white mb-4",children:"Company"}),(0,d.jsxs)("nav",{className:"space-y-3",children:[(0,d.jsx)(f(),{href:"/",className:"block link-muted text-sm",children:"Home"}),(0,d.jsx)(f(),{href:"/crew",className:"block link-muted text-sm",children:"Our Crew"}),(0,d.jsx)(f(),{href:"/blog",className:"block link-muted text-sm",children:"Blog"}),(0,d.jsx)(f(),{href:"/contact",className:"block link-muted text-sm",children:"Contact"})]})]}),(0,d.jsxs)("div",{children:[(0,d.jsx)("h4",{className:"text-lg font-semibold text-white mb-4",children:"Get in Touch"}),(0,d.jsxs)("form",{onSubmit:q,className:"space-y-3",children:[(0,d.jsx)(i.pd,{type:"text",placeholder:"First Name *",value:c,onChange:a=>e(a.target.value),required:!0,className:"text-sm"}),(0,d.jsx)(i.pd,{type:"email",placeholder:"Email *",value:a,onChange:a=>b(a.target.value),required:!0,className:"text-sm"}),(0,d.jsx)(i.TM,{placeholder:"Message",value:k,onChange:a=>l(a.target.value),rows:3,className:"text-sm"}),(0,d.jsx)(j.$n,{type:"submit",disabled:m,isLoading:m,size:"sm",className:"w-full",children:"Send"}),o&&(0,d.jsx)("p",{className:"text-green-400 text-xs text-center",children:o})]})]})]}),(0,d.jsx)("div",{className:"border-t border-surface-500 pt-8",children:(0,d.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4",children:[(0,d.jsxs)("div",{className:"flex items-center gap-4",children:[(0,d.jsx)("a",{href:"https://www.instagram.com/biohazardvfx/",target:"_blank",rel:"noopener noreferrer",className:"text-text-muted hover:text-accent transition-colors",children:(0,d.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"})})}),(0,d.jsx)("a",{href:"https://vimeo.com/biohazardvfx",target:"_blank",rel:"noopener noreferrer",className:"text-text-muted hover:text-accent transition-colors",children:(0,d.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{d:"M22.875 10.063c-2.442 5.217-8.337 12.319-12.063 12.319-3.672 0-4.203-7.831-6.208-13.043-.987-2.565-1.624-1.814-3.474-.281L0 8.019c2.698-2.435 5.394-5.391 7.396-5.553 3.162-.242 3.487 2.831 4.024 5.479.699 3.463 1.809 8.845 2.801 8.845.796 0 2.289-3.313 2.428-4.516.222-1.853-1.512-1.879-2.971-1.271C17.503-2.071 22.875 4.44 22.875 10.063z"})})}),(0,d.jsx)("a",{href:"https://www.youtube.com/@biohazardvfx",target:"_blank",rel:"noopener noreferrer",className:"text-text-muted hover:text-accent transition-colors",children:(0,d.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,d.jsx)("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})})]}),(0,d.jsxs)("div",{className:"flex flex-col md:flex-row items-center gap-4 text-sm text-text-muted",children:[(0,d.jsx)("p",{children:"\xa9 2024 Biohazard VFX. All rights reserved."}),(0,d.jsxs)("div",{className:"flex gap-4",children:[(0,d.jsx)(f(),{href:"/privacy",className:"link-muted",children:"Privacy Policy"}),(0,d.jsx)(f(),{href:"/terms",className:"link-muted",children:"Terms of Service"})]})]})]})})]})})}},60500:(a,b,c)=>{"use strict";c.d(b,{default:()=>y});var d=c(60687),e=c(82136),f=c(10218),g=c(43210),h=c(38247),i=c(24224),j=c(49384),k=c(82348);function l(...a){return(0,k.QP)((0,j.$)(a))}let m=h.Kq,n=g.forwardRef(({className:a,...b},c)=>(0,d.jsx)(h.LM,{ref:c,className:l("fixed bottom-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-4 sm:right-4 sm:w-[390px]",a),...b}));n.displayName=h.LM.displayName;let o=(0,i.F)("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none",{variants:{variant:{default:"border-bg-light bg-bg text-text",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),p=g.forwardRef(({className:a,variant:b,...c},e)=>(0,d.jsx)(h.bL,{ref:e,className:l(o({variant:b}),a),...c}));p.displayName=h.bL.displayName;let q=g.forwardRef(({className:a,...b},c)=>(0,d.jsx)(h.hE,{ref:c,className:l("text-sm font-semibold",a),...b}));q.displayName=h.hE.displayName;let r=g.forwardRef(({className:a,...b},c)=>(0,d.jsx)(h.VY,{ref:c,className:l("text-sm opacity-90",a),...b}));r.displayName=h.VY.displayName;let s=g.forwardRef(({className:a,...b},c)=>(0,d.jsx)(h.bm,{ref:c,className:l("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none group-hover:opacity-100",a),...b,children:(0,d.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,d.jsx)("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})}));s.displayName=h.bm.displayName;var t=c(29867);function u(){let{toasts:a}=(0,t.d)();return(0,d.jsxs)(m,{children:[a.map(function({id:a,title:b,description:c,action:e,...f}){return(0,d.jsxs)(p,{...f,children:[(0,d.jsxs)("div",{className:"grid gap-1",children:[b&&(0,d.jsx)(q,{children:b}),c&&(0,d.jsx)(r,{children:c})]}),e,(0,d.jsx)(s,{})]},a)}),(0,d.jsx)(n,{})]})}function v({onComplete:a}){let[b,c]=(0,g.useState)(!1),[e,f]=(0,g.useState)(!1);return(0,d.jsx)("div",{className:`fixed inset-0 z-[100] bg-black flex items-center justify-center overflow-hidden transition-opacity duration-700 ${e?"opacity-0":"opacity-100"}`,children:(0,d.jsxs)("div",{className:"relative",children:[(0,d.jsx)("div",{className:`text-2xl md:text-3xl font-light tracking-[0.5em] text-white transition-all duration-1000 ${b?"opacity-100":"opacity-0"}`,children:"BIOHAZARD VFX"}),(0,d.jsx)("div",{className:"absolute -bottom-4 left-0 right-0 h-px bg-white overflow-hidden",children:(0,d.jsx)("div",{className:`h-full bg-accent transition-all duration-2000 ease-out ${b?"translate-x-0":"-translate-x-full"}`})})]})})}let w=(0,g.createContext)({isLoading:!0,setIsLoading:()=>{}});function x({children:a}){let[b,c]=(0,g.useState)(!0),[e,f]=(0,g.useState)(!0),[h,i]=(0,g.useState)(!1);return h?(0,d.jsxs)(w.Provider,{value:{isLoading:b,setIsLoading:c},children:[e&&(0,d.jsx)(v,{onComplete:()=>{f(!1),setTimeout(()=>{c(!1)},100)}}),(0,d.jsx)("div",{className:`transition-opacity duration-1000 ${b?"opacity-0":"opacity-100"}`,children:a})]}):null}function y({children:a}){return(0,d.jsx)(e.SessionProvider,{children:(0,d.jsx)(f.N,{attribute:"class",defaultTheme:"dark",enableSystem:!1,disableTransitionOnChange:!0,children:(0,d.jsxs)(x,{children:[a,(0,d.jsx)(u,{})]})})})}},61135:()=>{},64942:(a,b,c)=>{"use strict";c.d(b,{_i:()=>e,to:()=>d});let d={metadataBase:new URL("https://biohazardvfx.com"),title:{default:"Biohazard VFX | Visual Effects Studio",template:"%s | Biohazard VFX"},description:"Global visual effects studio delivering world-class VFX supervision, 3D animation, and post-production services.",keywords:["VFX","visual effects","post-production","3D animation","video editing","music videos","commercials","film","animation"],authors:[{name:"Biohazard VFX Team"}],creator:"Biohazard VFX",publisher:"Biohazard VFX",robots:{index:!0,follow:!0,googleBot:{index:!0,follow:!0,"max-video-preview":-1,"max-image-preview":"large","max-snippet":-1}},openGraph:{type:"website",locale:"en_US",url:"https://biohazardvfx.com",siteName:"Biohazard VFX",images:[{url:"/images/splash.jpg",width:1200,height:630,alt:"Biohazard VFX Studio Splash"}]},twitter:{card:"summary_large_image",site:"@biohazardvfx",creator:"@biohazardvfx",images:["/images/splash.jpg"]},icons:{icon:"/icon.svg"}};function e(a={}){return{...d,...a,openGraph:{...d.openGraph,...a.openGraph||{}},twitter:{...d.twitter,...a.twitter||{}}}}},71911:(a,b,c)=>{"use strict";c.d(b,{TM:()=>f,pd:()=>e,y9:()=>g});var d=c(60687);function e({label:a,error:b,helperText:c,className:e="",id:f,...g}){let h=f||a?.toLowerCase().replace(/\s+/g,"-");return(0,d.jsxs)("div",{className:"space-y-2",children:[a&&(0,d.jsx)("label",{htmlFor:h,className:"label",children:a}),(0,d.jsx)("input",{id:h,className:`input ${b?"border-red-500":""} ${e}`,...g}),b&&(0,d.jsx)("p",{className:"text-sm text-red-400",children:b}),c&&!b&&(0,d.jsx)("p",{className:"text-sm text-text-muted",children:c})]})}function f({label:a,error:b,helperText:c,className:e="",id:f,...g}){let h=f||a?.toLowerCase().replace(/\s+/g,"-");return(0,d.jsxs)("div",{className:"space-y-2",children:[a&&(0,d.jsx)("label",{htmlFor:h,className:"label",children:a}),(0,d.jsx)("textarea",{id:h,className:`input min-h-[120px] ${b?"border-red-500":""} ${e}`,...g}),b&&(0,d.jsx)("p",{className:"text-sm text-red-400",children:b}),c&&!b&&(0,d.jsx)("p",{className:"text-sm text-text-muted",children:c})]})}function g({title:a,description:b,children:c}){return(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h3",{className:"text-lg font-semibold text-white",children:a}),b&&(0,d.jsx)("p",{className:"text-sm text-text-muted mt-1",children:b})]}),c]})}},72844:(a,b,c)=>{Promise.resolve().then(c.bind(c,28659)),Promise.resolve().then(c.bind(c,88928)),Promise.resolve().then(c.bind(c,13622))},86246:(a,b,c)=>{"use strict";c.d(b,{AdminSidebar:()=>l,Navigation:()=>k});var d=c(60687),e=c(85814),f=c.n(e),g=c(16189),h=c(43210),i=c(82136),j=c(33978);function k(){let[a,b]=(0,h.useState)(!1),c=(0,g.usePathname)(),{data:e,status:k}=(0,i.useSession)(),l=[{href:"/",label:"Home"},{href:"/projects",label:"Projects"},{href:"/crew",label:"Crew"},{href:"/blog",label:"Blog"},{href:"/faq",label:"FAQ"},{href:"/contact",label:"Contact"}],m="authenticated"===k?[...l,{href:"/admin",label:"Admin"}]:l;return c?.startsWith("/admin")?null:(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("nav",{className:"hidden md:flex fixed top-0 left-0 right-0 z-50 h-14 items-center border-b border-surface-500/60 bg-surface-900/90 px-4 backdrop-blur-sm",children:[(0,d.jsxs)("div",{className:"flex items-center gap-6",children:[(0,d.jsx)(f(),{href:"/",className:"text-lg font-brand tracking-tight text-white",children:"Biohazard VFX"}),(0,d.jsxs)("div",{className:"flex items-center gap-4",children:[l.map(a=>{let b=c===a.href;return(0,d.jsx)(f(),{href:a.href,className:`text-sm font-medium transition-colors duration-200 ${b?"text-white":"text-text-muted hover:text-text-secondary"}`,children:a.label},a.href)}),"authenticated"===k&&(0,d.jsx)(f(),{href:"/admin",className:"text-sm font-medium text-text-muted hover:text-text-secondary transition-colors duration-200",children:"Admin"})]})]}),(0,d.jsx)("div",{className:"ml-auto flex items-center gap-2",children:"authenticated"===k?(0,d.jsxs)("div",{className:"flex items-center gap-2",children:[(0,d.jsx)("span",{className:"text-xs text-text-muted",children:e?.user?.email}),(0,d.jsx)(j.A,{})]}):null})]}),(0,d.jsxs)("button",{id:"menu-button","aria-label":"Toggle menu","aria-expanded":a,"aria-controls":"navigation-panel",onClick:()=>b(!a),className:`fixed top-4 left-4 z-50 w-10 h-10 rounded-lg border border-surface-500/60 bg-surface-900/80 transition-all duration-200 md:hidden ${a?"ring-1 ring-accent/30":""}`,children:[(0,d.jsx)("span",{className:"sr-only",children:"Open menu"}),(0,d.jsxs)("div",{className:"relative h-full w-full flex items-center justify-center",children:[(0,d.jsx)("span",{className:`block w-5 h-0.5 bg-white transition-all duration-200 ${a?"rotate-45 translate-y-0.5":"-translate-y-0.5"}`}),(0,d.jsx)("span",{className:`block w-5 h-0.5 bg-white transition-all duration-200 absolute ${a?"opacity-0":"opacity-100"}`}),(0,d.jsx)("span",{className:`block w-5 h-0.5 bg-white transition-all duration-200 ${a?"-rotate-45 -translate-y-0.5":"translate-y-0.5"}`})]})]}),a&&(0,d.jsx)("div",{className:"fixed inset-0 z-40 bg-black/70 transition-opacity duration-200 md:hidden"}),(0,d.jsx)("nav",{id:"navigation-panel",className:`fixed left-0 top-0 z-50 h-full w-80 max-w-[90vw] border-r border-surface-500/60 bg-surface-900/95 transition-transform duration-200 ease-out md:hidden ${a?"translate-x-0":"-translate-x-full"}`,children:(0,d.jsxs)("div",{className:"flex h-full flex-col pt-16",children:[(0,d.jsx)("div",{className:"px-5 pb-5 border-b border-surface-500/40",children:(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"text-xl font-display tracking-tight text-white",children:"Biohazard VFX"}),(0,d.jsx)("p",{className:"text-xs text-text-muted mt-1",children:"Visual Effects Studio"})]})}),(0,d.jsx)("div",{className:"flex-1 overflow-y-auto px-5 py-5",children:(0,d.jsx)("ul",{className:"space-y-1",children:m.map(a=>{let e=c===a.href;return(0,d.jsx)("li",{children:(0,d.jsx)(f(),{href:a.href,onClick:()=>b(!1),className:`block px-3 py-2 rounded text-sm font-medium transition-colors duration-150 ${e?"text-white bg-surface-700":"text-text-muted hover:text-white hover:bg-surface-700"}`,children:a.label})},a.href)})})}),(0,d.jsx)("div",{className:"p-5 border-t border-surface-500/40",children:"authenticated"===k?(0,d.jsxs)("div",{className:"flex items-center justify-between",children:[(0,d.jsx)("div",{className:"text-xs text-text-muted",children:(0,d.jsxs)("p",{children:["Signed in as ",e?.user?.email]})}),(0,d.jsx)(j.A,{})]}):(0,d.jsx)("div",{className:"flex items-center justify-between",children:(0,d.jsxs)("p",{className:"text-xs text-text-muted",children:["\xa9 ",new Date().getFullYear()," Biohazard VFX"]})})})]})})]})}function l(){let a=(0,g.usePathname)();return(0,d.jsx)("aside",{className:"w-60 h-screen fixed left-0 top-0 z-40",children:(0,d.jsxs)("div",{className:"h-full bg-surface-900/90 border-r border-surface-500/70 flex flex-col",children:[(0,d.jsx)("div",{className:"p-5 border-b border-surface-500/60",children:(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{className:"text-base font-semibold text-white leading-tight",children:"Admin Dashboard"}),(0,d.jsx)("p",{className:"text-xs text-text-muted",children:"Biohazard VFX"})]})}),(0,d.jsx)("nav",{className:"p-3",children:(0,d.jsx)("ul",{className:"space-y-1",children:[{href:"/admin",label:"Dashboard"},{href:"/admin/projects",label:"Projects"},{href:"/admin/blog",label:"Blog"},{href:"/admin/team",label:"Team"},{href:"/admin/faq",label:"FAQs"},{href:"/admin/media",label:"Media"},{href:"/admin/assets",label:"Site Assets"}].map(b=>{let c=a===b.href;return(0,d.jsx)("li",{children:(0,d.jsx)(f(),{href:b.href,className:`block px-3 py-2 rounded text-sm transition-colors ${c?"bg-surface-700 text-white":"text-text-muted hover:bg-surface-700 hover:text-white"}`,children:b.label})},b.href)})})}),(0,d.jsx)("div",{className:"mt-auto p-3 border-t border-surface-500/60",children:(0,d.jsx)(f(),{href:"/",className:"btn-secondary w-full inline-flex items-center justify-center gap-2 text-sm",title:"Return to site",children:"← Back to site"})})]})})}},88928:(a,b,c)=>{"use strict";c.d(b,{AdminSidebar:()=>f,Navigation:()=>e});var d=c(61369);let e=(0,d.registerClientReference)(function(){throw Error("Attempted to call Navigation() from the server but Navigation is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/Nicholai/Nextcloud/Dev/BiohazardVFX_Website/biohazard-vfx/src/components/Navigation.tsx","Navigation"),f=(0,d.registerClientReference)(function(){throw Error("Attempted to call AdminSidebar() from the server but AdminSidebar is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/Nicholai/Nextcloud/Dev/BiohazardVFX_Website/biohazard-vfx/src/components/Navigation.tsx","AdminSidebar");(0,d.registerClientReference)(function(){throw Error("Attempted to call Breadcrumbs() from the server but Breadcrumbs is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/Nicholai/Nextcloud/Dev/BiohazardVFX_Website/biohazard-vfx/src/components/Navigation.tsx","Breadcrumbs")},94431:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>p,metadata:()=>o});var d=c(37413),e=c(64942);c(61135),c(61120);var f=c(13622),g=c(88928),h=c(28659),i=c(18556),j=c.n(i),k=c(93701),l=c.n(k),m=c(71189),n=c.n(m);let o=e.to;function p({children:a}){return(0,d.jsx)("html",{lang:"en",className:"dark",suppressHydrationWarning:!0,children:(0,d.jsx)("body",{className:`${j().variable} ${l().variable} ${n().variable} font-sans min-h-screen bg-surface-800 text-text-primary antialiased`,children:(0,d.jsxs)(f.default,{children:[(0,d.jsx)(g.Navigation,{}),a,(0,d.jsx)(h.default,{})]})})})}}}; |