1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2753],{8727:function(e,t,r){r.d(t,{Z:function(){return a}});let a=(0,r(4999).Z)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]])},4059:function(e,t,r){r.d(t,{Z:function(){return a}});let a=(0,r(4999).Z)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]])},8382:function(e,t,r){r.d(t,{Z:function(){return a}});let a=(0,r(4999).Z)("wand-sparkles",[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]])},703:function(e,t,r){r.d(t,{default:function(){return n.a}});var a=r(7447),n=r.n(a)},8792:function(e,t,r){r.d(t,{default:function(){return n.a}});var a=r(5250),n=r.n(a)},7907:function(e,t,r){var a=r(5313);r.o(a,"usePathname")&&r.d(t,{usePathname:function(){return a.usePathname}}),r.o(a,"useRouter")&&r.d(t,{useRouter:function(){return a.useRouter}}),r.o(a,"useSearchParams")&&r.d(t,{useSearchParams:function(){return a.useSearchParams}})},7447:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{getImageProps:function(){return i},default:function(){return o}});let a=r(6921),n=r(8630),s=r(1749),l=a._(r(536)),i=e=>{let{props:t}=(0,n.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}},o=s.Image},780:function(e,t,r){r.r(t),r.d(t,{Footer:function(){return d}});var a=r(3827),n=r(8792),s=r(703),l=r(7907),i=r(1126);let o=(0,r(4999).Z)("facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]),c=[{title:"Tools",links:[{label:"SVG Generator",href:"/text-to-svg",color:"#0ea5e9"},{label:"SVG Converter",href:"/svg-converter",color:"var(--accent)"},{label:"Studio",href:"/studio",color:"#a78bfa"}]},{title:"Explore",links:[{label:"Pricing",href:"/pricing"},{label:"Blog",href:"/blog"},{label:"Referral",href:"/referral"}]},{title:"Support",links:[{label:"FAQ",href:"/faq"},{label:"Contact",href:"/contact"},{label:"Legals",href:"/legals"}]}];function d(){let e=(0,l.usePathname)(),{data:t}=(0,i.useSession)();function r(t){return e===t||e.startsWith(t+"/")}return(0,a.jsxs)("footer",{className:"border-t border-white/[0.07] px-5 md:px-12 pt-12 md:pt-16 pb-6",children:[(0,a.jsxs)("div",{className:"max-w-[1100px] mx-auto grid grid-cols-1 md:grid-cols-[1.8fr_1fr_1fr_1fr_1fr] gap-8 md:gap-8",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)(n.default,{href:"/",className:"no-underline",children:(0,a.jsx)(s.default,{src:"/logo.svg",alt:"SmartSVG",className:"h-5 w-auto",width:133,height:20})}),(0,a.jsx)("p",{className:"text-[0.82rem] text-[var(--muted)] leading-relaxed max-w-[240px]",children:"AI-powered SVG tools. Generate illustrations, quotes & convert any image to scalable SVG."})]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 md:contents gap-8",children:[c.map(e=>(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsx)("p",{className:"text-[0.65rem] font-bold tracking-[0.14em] uppercase text-[var(--dim)] mb-1",children:e.title}),e.links.map(e=>(0,a.jsx)(n.default,{href:e.href,className:"text-[0.84rem] no-underline transition-colors",style:{color:r(e.href)?e.color??"var(--text)":"var(--muted)"},onMouseEnter:t=>{t.currentTarget.style.color=e.color??"var(--text)"},onMouseLeave:t=>{t.currentTarget.style.color=r(e.href)?e.color??"var(--text)":"var(--muted)"},children:e.label},e.label))]},e.title)),(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsx)("p",{className:"text-[0.65rem] font-bold tracking-[0.14em] uppercase text-[var(--dim)] mb-1",children:"Account"}),t?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.default,{href:"/dashboard/",className:"text-[0.84rem] no-underline text-[var(--muted)] hover:text-[var(--text)] transition-colors",children:"My account"}),(0,a.jsx)("button",{onClick:()=>(0,i.signOut)({callbackUrl:"/"}),className:"text-left text-[0.84rem] bg-transparent border-none p-0 cursor-pointer text-[var(--muted)] hover:text-[var(--text)] transition-colors",children:"Sign out"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.default,{href:"/auth/login/",className:"text-[0.84rem] no-underline text-[var(--muted)] hover:text-[var(--text)] transition-colors",children:"Sign in"}),(0,a.jsx)(n.default,{href:"/auth/signup/",className:"text-[0.84rem] no-underline text-[var(--muted)] hover:text-[var(--text)] transition-colors",children:"Create account"})]})]})]})]}),(0,a.jsxs)("div",{className:"max-w-[1100px] mx-auto mt-10 pt-6 border-t border-white/[0.07] flex items-center justify-between",children:[(0,a.jsx)("p",{className:"text-[0.75rem] text-[var(--dim)]",children:"\xa9 2026 SmartSVG. All rights reserved."}),(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsx)("a",{href:"https://www.facebook.com/smartsvg",target:"_blank",rel:"noopener noreferrer","aria-label":"SmartSVG on Facebook",className:"text-[var(--dim)] hover:text-[var(--text)] transition-colors",children:(0,a.jsx)(o,{size:15})}),(0,a.jsx)("a",{href:"https://www.pinterest.com/smartsvgai",target:"_blank",rel:"noopener noreferrer","aria-label":"SmartSVG on P
1interest",className:"text-[var(--dim)] hover:text-[var(--text)] transition-colors",children:(0,a.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"currentColor",children:(0,a.jsx)("path",{d:"M12 0C5.373 0 0 5.373 0 12c0 5.084 3.163 9.426 7.627 11.174-.105-.949-.2-2.405.042-3.441.218-.937 1.407-5.965 1.407-5.965s-.359-.719-.359-1.782c0-1.668.967-2.914 2.171-2.914 1.023 0 1.518.769 1.518 1.69 0 1.029-.655 2.568-.994 3.995-.283 1.194.599 2.169 1.777 2.169 2.133 0 3.772-2.249 3.772-5.495 0-2.873-2.064-4.882-5.012-4.882-3.414 0-5.418 2.561-5.418 5.207 0 1.031.397 2.138.893 2.738a.36.36 0 0 1 .083.345l-.333 1.36c-.053.22-.174.267-.402.161-1.499-.698-2.436-2.889-2.436-4.649 0-3.785 2.75-7.262 7.929-7.262 4.163 0 7.398 2.967 7.398 6.931 0 4.136-2.607 7.464-6.227 7.464-1.216 0-2.359-.632-2.75-1.378l-.748 2.853c-.271 1.043-1.002 2.35-1.492 3.146C9.57 23.812 10.763 24 12 24c6.627 0 12-5.373 12-12S18.627 0 12 0z"})})}),(0,a.jsx)("a",{href:"https://x.com/smartsvgai",target:"_blank",rel:"noopener noreferrer","aria-label":"SmartSVG on X (Twitter)",className:"text-[var(--dim)] hover:text-[var(--text)] transition-colors",children:(0,a.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"currentColor",children:(0,a.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.746l7.73-8.835L1.254 2.25H8.08l4.253 5.622 5.912-5.622zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})})]})]})]})}},5211:function(e,t,r){r.r(t),r.d(t,{Navbar:function(){return x}});var a=r(3827),n=r(8792),s=r(4090),l=r(1126),i=r(7907),o=r(8382),c=r(8727),d=r(4059);function x(){let{data:e}
1=(0,l.useSession)(),t=(0,i.usePathname)(),[r,x]=(0,s.useState)(!1),[m,u]=(0,s.useState)(!1),h=(0,s.useRef)(null);(0,s.useEffect)(()=>{if(m)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e);function e(e){h.current&&!h.current.contains(e.target)&&u(!1)}},[m]);let f="/converter/"===t;t.startsWith("/svg-converter");let v="/generate/"===t||t.startsWith("/text-to-svg"),p=t.startsWith("/studio"),g=v?"#0ea5e9":p?"#a78bfa":"var(--accent)";function b(e){return t===e||t.startsWith(e+"/")}function j(e){return b(e)?"nav-link active text-[var(--text)] text-sm font-semibold no-underline":"nav-link text-[var(--muted)] text-sm hover:text-[var(--text)] transition-colors no-underline"}function k(){x(!1)}return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("nav",{className:"fixed top-0 left-0 right-0 z-50 flex items-center justify-between px-5 md:px-12 py-[18px] md:py-[18px] bg-[rgba(8,11,15,0.85)] backdrop-blur-xl border-b border-white/[0.07]",children:[(0,a.jsx)(n.default,{href:"/",className:"no-underline",children:(0,a.jsx)("img",{src:v?"/logo-generate.svg":p?"/logo-studio.svg":"/logo.svg",alt:"SmartSVG",className:"h-5 w-auto",width:"133",height:"20"})}),!f&&(0,a.jsxs)("ul",{className:"hidden md:flex items-center gap-7 list-none m-0 p-0 absolute left-1/2 -translate-x-1/2",children:[(0,a.jsx)("li",{children:(0,a.jsx)(n.default,{href:"/",className:j("/"),children:"Home"})}),(0,a.jsx)("li",{children:(0,a.jsx)(n.default,{href:"/text-to-svg/",className:b("/text-to-svg")?"nav-link nav-link-sky active text-[#0ea5e9] text-sm font-semibold no-underline":"nav-link nav-link-sky text-[var(--muted)] text-sm hover:text-[#0ea5e9] transition-colors no-underline",children:"Generate"})}),(0,a.jsx)("li",{children:(0,a.jsx)(n.default,{href:"/svg-converter/",className:b("/svg-converter")?"nav-link nav-link-green text-[var(--accent)] text-sm font-semibold no-underline":"nav-link nav-link-green text-[var(--muted)] text-sm hover:text-[var(--accent)] transition-colors no-underline",children:"Convert"})}),(0,a.jsx)("li",{children:(0,a.jsx)(n.default,{href:"/studio/",className:b("/studio")?"nav-link nav-link-purple active text-[#a78bfa] text-sm font-semibold no-underline":"nav-link nav-link-purple text-[var(--muted)] text-sm hover:text-[#a78bfa] transition-colors no-underline",children:"Studio"})}),(0,a.jsx)("li",{children:(0,a.jsx)(n.default,{href:"/pricing/",className:j("/pricing"),children:"Pricing"})}),(0,a.jsx)("li",{children:(0,a.jsx)(n.default,{href:"/faq/",className:j("/faq"),children:"FAQ"})}),(0,a.jsx)("li",{children:(0,a.jsx)(n.default,{href:"/contact/",className:j("/contact"),children:"Contact"})})]}),(0,a.jsx)("div",{className:"hidden md:flex items-center gap-3",children:e?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("span",{className:"mr-2 text-sm text-[var(--text)]",children:["Welcome back, ",(0,a.jsx)("span",{className:"font-medium",children:e.user?.name?.split(" ")[0]??"there"})]}),(0,a.jsxs)("div",{className:"relative",ref:h,children:[(0,a.jsx)("button",{onClick:()=>u(!m),className:"flex items-center justify-center w-[34px] h-[34px] rounded-full bg-gradient-to-br from-[var(--accent)] to-[var(--accent2)] font-bold text-sm text-[#080b0f] cursor-pointer border-none",children:e.user?.name?.[0]?.toUpperCase()??"U"}),m&&(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"absolute right-0 top-[calc(100%+8px)] z-50 w-48 bg-[var(--bg2)] border border-white/[0.08] rounded-xl shadow-xl overflow-hidden py-1",children:[(0,a.jsxs)(n.default,{href:"/dashboard/",onClick:()=>u(!1),className:"flex items-center gap-2.5 px-4 py-2.5 text-sm text-[var(--text)] hover:bg-white/[0.05] transition-colors no-underline",children:[(0,a.jsx)("span",{className:"w-4 h-4 rounded-full bg-gradient-to-br from-[var(--accent)] to-[var(--accent2)] flex-shrink-0"}),"My account"]}),(0,a.jsx)("div",{className:"h-px bg-white/[0.06] my-1"}),(0,a.jsxs)(n.default,{href:"/generate/",onClick:()=>u(!1),className:"flex items-center gap-2.5 px-4 py-2.5 text-sm text-[var(--muted)] hover:text-[var(--text)] hover:bg-white/[0.05] transition-colors no-u
1nderline",children:[(0,a.jsx)(o.Z,{size:14,style:{color:"#38bdf8"}})," Generate"]}),(0,a.jsxs)(n.default,{href:"/converter/",onClick:()=>u(!1),className:"flex items-center gap-2.5 px-4 py-2.5 text-sm text-[var(--muted)] hover:text-[var(--text)] hover:bg-white/[0.05] transition-colors no-underline",children:[(0,a.jsx)(c.Z,{size:14,style:{color:"var(--accent)"}})," Convert"]}),(0,a.jsxs)(n.default,{href:"/studio/",onClick:()=>u(!1),className:"flex items-center gap-2.5 px-4 py-2.5 text-sm text-[var(--muted)] hover:text-[var(--text)] hover:bg-white/[0.05] transition-colors no-underline",children:[(0,a.jsx)(d.Z,{size:14,style:{color:"#a78bfa"}})," Studio"]}),(0,a.jsx)("div",{className:"h-px bg-white/[0.06] my-1"}),(0,a.jsx)("button",{onClick:()=>{u(!1),(0,l.signOut)({callbackUrl:"/"})},className:"w-full flex items-center gap-2.5 px-4 py-2.5 text-sm text-[var(--muted)] hover:text-[var(--text)] hover:bg-white/[0.05] transition-colors bg-transparent border-none cursor-pointer text-left",children:"Sign out"})]})})]})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.default,{href:"/auth/login",className:"text-sm text-[var(--muted)] hover:text-[var(--text)] transition-colors no-underline",children:"Sign in"}),(0,a.jsx)(n.default,{href:"/auth/signup",style:{background:g},className:"text-[#080b0f] px-5 py-[9px] rounded-lg text-sm font-medium hover:opacity-90 transition-opacity no-underline",children:"Get started â"})]})}),(0,a.jsxs)("div",{className:"md:hidden flex items-center gap-3",children:[e&&(0,a.jsx)(n.default,{href:"/dashboard/",className:"flex items-center justify-center w-[30px] h-[30px] rounded-full bg-gradient-to-br from-[var(--accent)] to-[var(--accent2)] font-bold text-xs text-[#080b0f]",children:e.user?.name?.[0]?.toUpperCase()??"U"}),(0,a.jsxs)("button",{onClick:()=>x(!r),className:"flex flex-col justify-center gap-[5px] p-1 cursor-pointer bg-transparent border-none","aria-label":"Menu",children:[(0,a.jsx)("span",{className:`block w-5 h-[2px] bg-[var(--muted)] transition-all origin-center ${r?"rotate-45 translate-y-[7px]":""}`}),(0,a.jsx)("span",{className:`block w-5 h-[2px] bg-[var(--muted)] transition-all ${r?"opacity-0 scale-x-0":""}`}),(0,a.jsx)("span",{className:`block w-5 h-[2px] bg-[var(--muted)] transition-all origin-center ${r?"-rotate-45 -translate-y-[7px]":""}`})]})]})]}),r&&(0,a.jsx)("div",{className:"fixed inset-0 z-40 bg-[rgba(8,11,15,0.98)] backdrop-blur-xl flex flex-col pt-[53px] md:hidden",style:{animation:"menuIn 0.2s ease both"},children:(0,a.jsxs)("div",{className:"flex-1 flex flex-col justify-center items-center gap-6 px-8 pb-16",children:[!f&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.default,{href:"/",onClick:k,className:`mobile-menu-item ${j("/").replace("text-sm","text-base")}`,style:{animationDelay:"0.05s"},children:"Home"}),(0,a.jsx)(n.default,{href:"/text-to-svg/",onClick:k,style:{animationDelay:"0.10s"},className:`mobile-menu-item ${b("/text-to-svg")?"text-[#0ea5e9] text-base font-semibold no-underline":"text-[var(--muted)] text-base hover:text-[#0ea5e9] transition-colors no-underline"}`,children:"Generate"}),(0,a.jsx)(n.default,{href:"/svg-converter/",onClick:k,style:{animationDelay:"0.15s"},className:`mobile-menu-item ${j("/svg-converter").replace("text-sm","text-base")}`,children:"Convert"}),(0,a.jsx)(n.default,{href:"/studio/",onClick:k,style:{animationDelay:"0.20s"},className:`mobile-menu-item ${b("/studio")?"text-[#a78bfa] text-base font-semibold no-underline":"text-[var(--muted)] text-base hover:text-[#a78bfa] transition-colors no-underline"}`,children:"Studio"}),(0,a.jsx)(n.default,{href:"/pricing/",onClick:k,style:{animationDelay:"0.25s"},className:`mobile-menu-item ${j("/pricing").replace("text-sm","text-base")}`,children:"Pricing"}),(0,a.jsx)(n.default,{href:"/faq/",onClick:k,style:{animationDelay:"0.30s"},className:`mobile-menu-item ${j("/faq").replace("text-sm","text-base")}`,children:"FAQ"}),(0,a.jsx)(n.default,{href:"/contact/",onClick:k,style:{animationDelay:"0.35s"},className:`mobile-menu-item ${j("/contact").replace("text-sm","text-base")}`,children:"Contact"}),(0,a.jsx)("div",{className:"mobile-menu-item w-full h-px bg-white/[0.07]",style:{animationDelay:"0.38s"}})]}),e?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(n.default,{href:"/generate/",onClick:k,className:"flex items-center gap-2 text-sky-400 text-base font-semibold no-underline",children:[(0,a.jsx)(o.Z,{size:16})," Generate"]}),(0,a.jsxs)(n.default,{href:"/converter/",onClick:k,className:"flex items-center gap-2 text-[var(--accent)] text-base font-semibold no-underline",children:[(0,a.jsx)(c.Z,{size:16})," Convert"]}),(0,a.jsx)(n.default,{href:"/dashboard/",onClick:k,className:"text-[var(--muted)] text-base no-underline hover:text-[var(--text)] transition-colors",children:"Dashboard"}),(0,a.jsx)("button",{onClick:()=>{k(),(0,l.signOut)({callbackUrl:"/"})},className:"text-[var(--muted)] text-base bg-transparent border-none cursor-pointer p-0 hover:text-[var(--text)] transition-colors",children:"Sign out"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.default,{href:"/auth/login",onClick:k,className:"text-[var(--muted)] text-base no-underline hover:text-[var(--text)] transition-colors",children:"Sign in"}),(0,a.jsx)(n.default,{href:"/auth/signup",onClick:k,style:{background:g},className:"w-full max-w-[280px] text-[#080b0f] px-5 py-3 rounded-xl text-sm font-semibold text-center no-underline hover:opacity-90 transition-opacity",children:"Get started â"})]})]})})]})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.