(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[521],{9212:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/about",function(){return r(1473)}])},4260:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var s=r(5893),o=r(1664),n=r.n(o);function a(){return(0,s.jsx)("footer",{className:"w-full text-gray-700 py-10",children:(0,s.jsx)("div",{className:"container mx-auto px-6",children:(0,s.jsxs)("div",{className:"flex flex-col items-start md:items-start md:flex-row justify-between border-t border-gray-200 pt-8",children:[(0,s.jsx)("div",{className:"text-left md:text-left mb-6 md:mb-0 w-full md:w-auto",children:(0,s.jsx)("span",{className:"font-semibold text-sm md:text-base block md:inline",children:"\xa9 2024 AI Photo Restorer. All rights reserved."})}),(0,s.jsxs)("div",{className:"grid grid-cols-2 gap-y-4 w-full md:flex md:justify-end md:space-x-8 md:w-auto text-left",children:[(0,s.jsx)(n(),{href:"/privacy",legacyBehavior:!0,children:(0,s.jsx)("a",{className:"hover:text-[#C209C1] transition duration-300 text-sm md:text-base text-left",children:"Privacy Policy"})}),(0,s.jsx)(n(),{href:"/about",legacyBehavior:!0,children:(0,s.jsx)("a",{className:"hover:text-[#C209C1] transition duration-300 text-sm md:text-base text-left",children:"About Us"})}),(0,s.jsx)(n(),{href:"/contact",legacyBehavior:!0,children:(0,s.jsx)("a",{className:"hover:text-[#C209C1] transition duration-300 text-sm md:text-base text-left",children:"Contact Us"})}),(0,s.jsx)(n(),{href:"/privacy",legacyBehavior:!0,children:(0,s.jsx)("a",{className:"hover:text-[#C209C1] transition duration-300 text-sm md:text-base text-left",children:"Terms & Conditions"})})]})]})})})}},3505:function(e,t,r){"use strict";var s=r(5893),o=r(3299),n=r(5675),a=r.n(n),i=r(1664),l=r.n(i),d=r(7294);let c=e=>{let{photo:t}=e,{data:r,status:n}=(0,o.useSession)(),[i,c]=(0,d.useState)(!1);(0,d.useEffect)(()=>{c(!1)},[r]);let x=(0,d.useMemo)(()=>(null==r?void 0:r.user)?(0,s.jsxs)("div",{className:"ml-4 relative",children:[(0,s.jsxs)("button",{type:"button",className:"max-w-xs bg-white rounded-full flex items-center text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",id:"user-menu-button","aria-expanded":"false","aria-haspopup":"true",onClick:()=>c(!i),children:[(0,s.jsx)("span",{className:"sr-only",children:"Open user menu"}),(0,s.jsx)(a(),{className:"h-8 w-8 rounded-full",src:t||r.user.image||"/google.png",alt:"User Avatar",width:32,height:32})]}),i&&(0,s.jsxs)("div",{className:"origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 focus:outline-none",role:"menu","aria-orientation":"vertical","aria-labelledby":"user-menu-button",children:[(0,s.jsx)("span",{className:"block px-4 py-2 text-sm text-gray-700",children:r.user.email}),(0,s.jsx)(l(),{href:"/buy-credits",legacyBehavior:!0,children:(0,s.jsx)("a",{className:"block px-4 py-2 text-sm text-gray-700 hover:text-[#C209C1] hover:underline transition duration-300 ease-in-out",role:"menuitem",children:"Buy Credits"})}),(0,s.jsx)(l(),{href:"/restore",legacyBehavior:!0,children:(0,s.jsx)("a",{className:"block px-4 py-2 text-sm text-gray-700 hover:text-[#C209C1] hover:underline transition duration-300 ease-in-out",role:"menuitem",children:"Restore Photos"})}),(0,s.jsx)("button",{onClick:()=>(0,o.signOut)(),className:"block w-full text-left px-4 py-2 text-sm text-gray-700 hover:text-[#C209C1] hover:underline transition duration-300 ease-in-out",role:"menuitem",children:"Log out"})]})]}):null,[i,t,null==r?void 0:r.user]),h=(0,d.useMemo)(()=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l(),{href:"/restore",legacyBehavior:!0,children:(0,s.jsx)("a",{className:"border-transparent text-gray-700 hover:text-[#C209C1] hover:underline inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium transition duration-300 ease-in-out",children:"Restore Photos"})}),(0,s.jsx)(l(),{href:"/generated-photos",legacyBehavior:!0,children:(0,s.jsx)("a",{className:"border-transparent text-gray-700 hover:text-[#C209C1] hover:underline inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium transition duration-300 ease-in-out",children:"Generated Photos"})}),(0,s.jsx)(l(),{href:"/buy-credits",legacyBehavior:!0,children:(0,s.jsx)("a",{className:"border-transparent text-gray-700 hover:text-[#C209C1] hover:underline inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium transition duration-300 ease-in-out",children:"Buy Credits"})})]}),[]);return"loading"===n?null:(0,s.jsxs)("header",{className:"w-full bg-white shadow-sm lg:shadow-md fixed top-0 z-50",children:[(0,s.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,s.jsxs)("div",{className:"flex justify-between h-20 items-center",children:[(0,s.jsx)("div",{className:"flex",children:(0,s.jsx)("div",{className:"flex-shrink-0 flex items-center",children:(0,s.jsx)(l(),{href:"/",legacyBehavior:!0,children:(0,s.jsxs)("a",{className:"flex items-center",children:[(0,s.jsx)(a(),{alt:"AI Photo Restorer Logo",src:"/logo.svg",className:"sm:w-10 sm:h-10 w-9 h-9",width:40,height:40}),(0,s.jsx)("h1",{className:"sm:text-3xl text-xl font-extrabold ml-2 tracking-tight text-gray-800",children:"AI Photo Restorer"})]})})})}),(0,s.jsx)("div",{className:"hidden sm:ml-6 sm:flex sm:items-center",children:"authenticated"===n&&(null==r?void 0:r.user)?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"flex items-center space-x-4",children:h}),x]}):(0,s.jsx)(l(),{href:"/restore",legacyBehavior:!0,children:(0,s.jsx)("a",{className:"text-white bg-[#C209C1] font-semibold py-2 px-4 rounded-md transition duration-300",children:"Login"})})}),(0,s.jsx)("div",{className:"-mr-2 flex sm:hidden",children:(0,s.jsxs)("button",{onClick:()=>c(!i),className:"bg-gray-50 inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",children:[(0,s.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,s.jsx)("svg",{className:"h-6 w-6",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:i?"M6 18L18 6M6 6l12 12":"M4 6h16M4 12h16M4 18h16"})})]})})]})}),i&&(0,s.jsx)("div",{className:"sm:hidden",children:(0,s.jsx)("div",{className:"px-2 pt-2 pb-3 space-y-1",children:"authenticated"===n&&(null==r?void 0:r.user)?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l(),{href:"/restore",legacyBehavior:!0,children:(0,s.jsx)("a",{className:"border-transparent text-gray-700 hover:text-[#C209C1] hover:underline block px-3 py-2 rounded-md text-base font-medium transition duration-300",children:"Restore Photos"})}),(0,s.jsx)(l(),{href:"/generated-photos",legacyBehavior:!0,children:(0,s.jsx)("a",{className:"border-transparent text-gray-700 hover:text-[#C209C1] hover:underline block px-3 py-2 rounded-md text-base font-medium transition duration-300",children:"Generated Photos"})}),(0,s.jsx)(l(),{href:"/buy-credits",legacyBehavior:!0,children:(0,s.jsx)("a",{className:"border-transparent text-gray-700 hover:text-[#C209C1] hover:underline block px-3 py-2 rounded-md text-base font-medium transition duration-300",children:"Buy Credits"})}),(0,s.jsx)("div",{className:"border-t border-gray-200"}),(0,s.jsx)("div",{className:"block px-3 py-2 text-gray-700",children:r.user.email}),(0,s.jsx)("button",{onClick:()=>(0,o.signOut)(),className:"block w-full text-left px-3 py-2 text-gray-700 text-base font-medium hover:text-[#C209C1] hover:underline transition duration-300",children:"Log out"})]}):(0,s.jsx)(l(),{href:"/restore",legacyBehavior:!0,children:(0,s.jsx)("a",{className:"block w-full text-left px-3 py-2 bg-[#C209C1] text-white font-semibold rounded-md transition duration-300",children:"Login"})})})})]})};t.Z=c},1473:function(e,t,r){"use strict";r.r(t);var s=r(5893),o=r(9008),n=r.n(o),a=r(4260),i=r(3505);let l=()=>(0,s.jsxs)("div",{className:"flex max-w-7xl mx-auto flex-col items-center justify-center pt-12 pb-2 min-h-screen px-6",children:[(0,s.jsx)(n(),{children:(0,s.jsx)("title",{children:"About Us - AI Photo Restorer"})}),(0,s.jsx)(i.Z,{}),(0,s.jsxs)("main",{className:"flex flex-1 w-full flex-col items-center text-center px-4 sm:mt-28 mt-20",children:[(0,s.jsx)("h1",{className:"mx-auto max-w-4xl font-display text-5xl font-bold tracking-normal text-slate-900 sm:text-5xl",children:"About Us"}),(0,s.jsx)("div",{className:"mx-auto px-4 sm:px-6 lg:px-8",children:(0,s.jsx)("div",{className:"mx-auto md:text-left px-4 sm:px-6 lg:px-8",children:(0,s.jsxs)("p",{className:"mx-auto text-lg text-slate-700 text-left mt-6 leading-7",children:["Welcome to the AI Photo Restorer tool! We are a team of experts dedicated to bringing your precious memories back to life using the latest in artificial intelligence technology. Our AI Photo Restorer tool is designed to repair and restore damaged, faded or discolored photos to their original condition.",(0,s.jsx)("br",{})," ",(0,s.jsx)("br",{}),"We understand the value of your memories and the importance of preserving them for generations to come. That's why we've created a tool that's easy to use and highly effective. Whether you're a professional photographer or someone who just wants to restore their personal photos, our AI Photo Restorer tool is the solution you've been looking for.",(0,s.jsx)("br",{})," ",(0,s.jsx)("br",{}),"If you have any questions or concerns about our tool, or if you need any assistance using it, we're here to help. You can reach us through the following channels:",(0,s.jsx)("br",{})," ",(0,s.jsx)("br",{}),"Email: ",(0,s.jsx)("b",{children:"support@aiphotorestorer.com"})," ",(0,s.jsx)("br",{}),"Phone: (856) 485-2586",(0,s.jsx)("br",{})," ",(0,s.jsx)("br",{}),"We look forward to hearing from you! Our team is dedicated to ensuring your satisfaction and providing you with the best possible service. With our AI Photo Restorer tool, you can rest assured that your memories are in good hands."]})})})]}),(0,s.jsx)(a.Z,{})]});t.default=l},9008:function(e,t,r){e.exports=r(3121)}},function(e){e.O(0,[61,774,888,179],function(){return e(e.s=9212)}),_N_E=e.O()}]);