1 line
14 KiB
JavaScript
1 line
14 KiB
JavaScript
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{861:(e,t,s)=>{"use strict";s.d(t,{TM:()=>l,pd:()=>r,y9:()=>i});var a=s(95155);function r(e){let{label:t,error:s,helperText:r,className:l="",id:i,...c}=e,n=i||(null==t?void 0:t.toLowerCase().replace(/\s+/g,"-"));return(0,a.jsxs)("div",{className:"space-y-2",children:[t&&(0,a.jsx)("label",{htmlFor:n,className:"label",children:t}),(0,a.jsx)("input",{id:n,className:"input ".concat(s?"border-red-500":""," ").concat(l),...c}),s&&(0,a.jsx)("p",{className:"text-sm text-red-400",children:s}),r&&!s&&(0,a.jsx)("p",{className:"text-sm text-text-muted",children:r})]})}function l(e){let{label:t,error:s,helperText:r,className:l="",id:i,...c}=e,n=i||(null==t?void 0:t.toLowerCase().replace(/\s+/g,"-"));return(0,a.jsxs)("div",{className:"space-y-2",children:[t&&(0,a.jsx)("label",{htmlFor:n,className:"label",children:t}),(0,a.jsx)("textarea",{id:n,className:"input min-h-[120px] ".concat(s?"border-red-500":""," ").concat(l),...c}),s&&(0,a.jsx)("p",{className:"text-sm text-red-400",children:s}),r&&!s&&(0,a.jsx)("p",{className:"text-sm text-text-muted",children:r})]})}function i(e){let{title:t,description:s,children:r}=e;return(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-semibold text-white",children:t}),s&&(0,a.jsx)("p",{className:"text-sm text-text-muted mt-1",children:s})]}),r]})}},6821:(e,t,s)=>{"use strict";s.d(t,{default:()=>d});var a=s(95155),r=s(6874),l=s.n(r),i=s(12115),c=s(32941),n=s(861),o=s(49903);function d(){let[e,t]=(0,i.useState)(""),[s,r]=(0,i.useState)(""),[d,m]=(0,i.useState)(""),[x,u]=(0,i.useState)(!1),[h,p]=(0,i.useState)(""),f=async e=>{e.preventDefault(),u(!0),setTimeout(()=>{p("Thank you! We'll be in touch soon."),t(""),r(""),m(""),u(!1),setTimeout(()=>p(""),5e3)},1e3)};return(0,a.jsx)("footer",{className:"bg-surface-900 pt-16 pb-8 border-t border-surface-500",children:(0,a.jsxs)(c.mc,{children:[(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8 mb-12",children:[(0,a.jsxs)("div",{className:"lg:col-span-1",children:[(0,a.jsx)("h3",{className:"text-2xl font-display text-white mb-4",children:"Biohazard VFX"}),(0,a.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,a.jsx)("p",{className:"text-text-muted text-sm",children:"We usually reply within 24 hours."})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"text-lg font-semibold text-white mb-4",children:"Services"}),(0,a.jsxs)("nav",{className:"space-y-3",children:[(0,a.jsx)(l(),{href:"/project",className:"block link-muted text-sm",children:"VFX Supervision"}),(0,a.jsx)(l(),{href:"/project",className:"block link-muted text-sm",children:"3D Animation"}),(0,a.jsx)(l(),{href:"/project",className:"block link-muted text-sm",children:"Post-Production"}),(0,a.jsx)(l(),{href:"/project",className:"block link-muted text-sm",children:"Motion Graphics"})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"text-lg font-semibold text-white mb-4",children:"Company"}),(0,a.jsxs)("nav",{className:"space-y-3",children:[(0,a.jsx)(l(),{href:"/",className:"block link-muted text-sm",children:"Home"}),(0,a.jsx)(l(),{href:"/crew",className:"block link-muted text-sm",children:"Our Crew"}),(0,a.jsx)(l(),{href:"/blog",className:"block link-muted text-sm",children:"Blog"}),(0,a.jsx)(l(),{href:"/contact",className:"block link-muted text-sm",children:"Contact"})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"text-lg font-semibold text-white mb-4",children:"Get in Touch"}),(0,a.jsxs)("form",{onSubmit:f,className:"space-y-3",children:[(0,a.jsx)(n.pd,{type:"text",placeholder:"First Name *",value:s,onChange:e=>r(e.target.value),required:!0,className:"text-sm"}),(0,a.jsx)(n.pd,{type:"email",placeholder:"Email *",value:e,onChange:e=>t(e.target.value),required:!0,className:"text-sm"}),(0,a.jsx)(n.TM,{placeholder:"Message",value:d,onChange:e=>m(e.target.value),rows:3,className:"text-sm"}),(0,a.jsx)(o.$n,{type:"submit",disabled:x,isLoading:x,size:"sm",className:"w-full",children:"Send"}),h&&(0,a.jsx)("p",{className:"text-green-400 text-xs text-center",children:h})]})]})]}),(0,a.jsx)("div",{className:"border-t border-surface-500 pt-8",children:(0,a.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsx)("a",{href:"https://www.instagram.com/biohazardvfx/",target:"_blank",rel:"noopener noreferrer",className:"text-text-muted hover:text-accent transition-colors",children:(0,a.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,a.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,a.jsx)("a",{href:"https://vimeo.com/biohazardvfx",target:"_blank",rel:"noopener noreferrer",className:"text-text-muted hover:text-accent transition-colors",children:(0,a.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,a.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,a.jsx)("a",{href:"https://www.youtube.com/@biohazardvfx",target:"_blank",rel:"noopener noreferrer",className:"text-text-muted hover:text-accent transition-colors",children:(0,a.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,a.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,a.jsxs)("div",{className:"flex flex-col md:flex-row items-center gap-4 text-sm text-text-muted",children:[(0,a.jsx)("p",{children:"\xa9 2024 Biohazard VFX. All rights reserved."}),(0,a.jsxs)("div",{className:"flex gap-4",children:[(0,a.jsx)(l(),{href:"/privacy",className:"link-muted",children:"Privacy Policy"}),(0,a.jsx)(l(),{href:"/terms",className:"link-muted",children:"Terms of Service"})]})]})]})})]})})}},21764:(e,t,s)=>{Promise.resolve().then(s.t.bind(s,30347,23)),Promise.resolve().then(s.t.bind(s,64566,23)),Promise.resolve().then(s.t.bind(s,5375,23)),Promise.resolve().then(s.t.bind(s,54095,23)),Promise.resolve().then(s.bind(s,6821)),Promise.resolve().then(s.bind(s,95506)),Promise.resolve().then(s.bind(s,37031))},30347:()=>{},32941:(e,t,s)=>{"use strict";s.d(t,{mc:()=>i,wn:()=>l,xA:()=>c,zY:()=>r});var a=s(95155);function r(e){let{title:t,subtitle:s,actions:r}=e;return(0,a.jsx)("div",{className:"mb-6",children:(0,a.jsxs)("div",{className:"flex items-start justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"text-3xl font-display tracking-tight text-white mb-2",children:t}),s&&(0,a.jsx)("p",{className:"text-text-muted text-base max-w-3xl",children:s})]}),r&&(0,a.jsx)("div",{className:"flex items-center gap-2",children:r})]})})}function l(e){let{children:t,className:s=""}=e;return(0,a.jsx)("section",{className:"section-spacing ".concat(s),children:t})}function i(e){let{children:t,className:s=""}=e;return(0,a.jsx)("div",{className:"w-full px-4 sm:px-6 lg:px-8 ".concat(s),children:t})}function c(e){let{children:t,cols:s=3,gap:r="md",className:l=""}=e;return(0,a.jsx)("div",{className:"grid ".concat({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"}[s]," ").concat({sm:"gap-3",md:"gap-4",lg:"gap-6"}[r]," ").concat(l),children:t})}s(12115)},37031:(e,t,s)=>{"use strict";s.d(t,{default:()=>S});var a=s(95155),r=s(12108),l=s(51362),i=s(12115),c=s(66964),n=s(74466),o=s(52596),d=s(39688);function m(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return(0,d.QP)((0,o.$)(t))}let x=c.Kq,u=i.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(c.LM,{ref:t,className:m("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]",s),...r})});u.displayName=c.LM.displayName;let h=(0,n.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=i.forwardRef((e,t)=>{let{className:s,variant:r,...l}=e;return(0,a.jsx)(c.bL,{ref:t,className:m(h({variant:r}),s),...l})});p.displayName=c.bL.displayName;let f=i.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(c.hE,{ref:t,className:m("text-sm font-semibold",s),...r})});f.displayName=c.hE.displayName;let v=i.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(c.VY,{ref:t,className:m("text-sm opacity-90",s),...r})});v.displayName=c.VY.displayName;let j=i.forwardRef((e,t)=>{let{className:s,...r}=e;return(0,a.jsx)(c.bm,{ref:t,className:m("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",s),...r,children:(0,a.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.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"})})})});j.displayName=c.bm.displayName;var g=s(87481);function N(){let{toasts:e}=(0,g.d)();return(0,a.jsxs)(x,{children:[e.map(function(e){let{id:t,title:s,description:r,action:l,...i}=e;return(0,a.jsxs)(p,{...i,children:[(0,a.jsxs)("div",{className:"grid gap-1",children:[s&&(0,a.jsx)(f,{children:s}),r&&(0,a.jsx)(v,{children:r})]}),l,(0,a.jsx)(j,{})]},t)}),(0,a.jsx)(u,{})]})}function b(e){let{onComplete:t}=e,[s,r]=(0,i.useState)(!1),[l,c]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{setTimeout(()=>r(!0),100);let e=setTimeout(()=>{c(!0),setTimeout(t,800)},2500);return()=>{clearTimeout(e)}},[t]),(0,a.jsx)("div",{className:"fixed inset-0 z-[100] bg-black flex items-center justify-center overflow-hidden transition-opacity duration-700 ".concat(l?"opacity-0":"opacity-100"),children:(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("div",{className:"text-2xl md:text-3xl font-light tracking-[0.5em] text-white transition-all duration-1000 ".concat(s?"opacity-100":"opacity-0"),children:"BIOHAZARD VFX"}),(0,a.jsx)("div",{className:"absolute -bottom-4 left-0 right-0 h-px bg-white overflow-hidden",children:(0,a.jsx)("div",{className:"h-full bg-accent transition-all duration-2000 ease-out ".concat(s?"translate-x-0":"-translate-x-full")})})]})})}let w=(0,i.createContext)({isLoading:!0,setIsLoading:()=>{}});function y(e){let{children:t}=e,[s,r]=(0,i.useState)(!0),[l,c]=(0,i.useState)(!0),[n,o]=(0,i.useState)(!1);return((0,i.useEffect)(()=>{o(!0);let e="true"===new URLSearchParams(window.location.search).get("loading");sessionStorage.getItem("hasVisited")&&!e?setTimeout(()=>{r(!1),c(!1)},100):sessionStorage.setItem("hasVisited","true")},[]),n)?(0,a.jsxs)(w.Provider,{value:{isLoading:s,setIsLoading:r},children:[l&&(0,a.jsx)(b,{onComplete:()=>{c(!1),setTimeout(()=>{r(!1)},100)}}),(0,a.jsx)("div",{className:"transition-opacity duration-1000 ".concat(s?"opacity-0":"opacity-100"),children:t})]}):null}function S(e){let{children:t}=e;return(0,a.jsx)(r.SessionProvider,{children:(0,a.jsx)(l.N,{attribute:"class",defaultTheme:"dark",enableSystem:!1,disableTransitionOnChange:!0,children:(0,a.jsxs)(y,{children:[t,(0,a.jsx)(N,{})]})})})}},87481:(e,t,s)=>{"use strict";s.d(t,{d:()=>d,o:()=>o});var a=s(12115);let r={ADD_TOAST:"ADD_TOAST",UPDATE_TOAST:"UPDATE_TOAST",DISMISS_TOAST:"DISMISS_TOAST",REMOVE_TOAST:"REMOVE_TOAST"},l=0,i=[],c={toasts:[]};function n(e){c=((e,t)=>{switch(t.type){case r.ADD_TOAST:return{...e,toasts:[t.toast,...e.toasts].slice(0,3)};case r.DISMISS_TOAST:{let{toastId:s}=t;return{...e,toasts:e.toasts.map(e=>e.id===s?{...e,status:"error"}:e)}}case r.REMOVE_TOAST:return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}})(c,e),i.forEach(e=>{e(c)})}function o(e){var t;let{...s}=e,a=(l=(l+1)%Number.MAX_SAFE_INTEGER).toString();return n({type:r.ADD_TOAST,toast:{...s,id:a,status:null!=(t=s.status)?t:"info",title:s.title,description:s.description,action:s.action}}),{id:a,dismiss:()=>n({type:r.DISMISS_TOAST,toastId:a}),update:e=>n({type:r.UPDATE_TOAST,toast:{...e,id:a}})}}function d(){let[e,t]=a.useState(c);return a.useEffect(()=>(i.push(t),()=>{let e=i.indexOf(t);e>-1&&i.splice(e,1)}),[e]),{...e,toast:o,dismiss:e=>n({type:r.DISMISS_TOAST,toastId:e})}}}},e=>{e.O(0,[691,6874,6454,654,5506,8441,5964,7358],()=>e(e.s=21764)),_N_E=e.O()}]); |