1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0d427-d740-77a1-b8f6-592cfa0ea1da")}catch(e){}}();import{r as i,j as e}from"./react-jWZu4flA-ff0596822183.js";import{x as w,L as t}from"./tanstack-router-CrgChUXj-ff0596822183.js";import{u as y,a3 as k,B as n}from"./index-VqXkOoxb-ff0596822183.js";import{G as S}from"./gallery-grid-CJmg8jjp-ff0596822183.js";import{af as C,ag as _,as as m}from"./icons-W87Fk3bW-ff0596822183.js";import"./posthog-CTdkyuxI-ff0596822183.js";import"./tanstack-query-BUz1YEPT-ff0596822183.js";import"./radix-DS4boY_j-ff0596822183.js";import"./supabase-BcuDcHL0-ff0596822183.js";import"./world-details-dialog-CTa7XkKT-ff0596822183.js";const A=[{title:"Describe or upload",body:"Start with a text prompt, image, or panorama. No 3D skills required."},{title:"Generate",body:"Our models reconstruct a full, explorable 3D environment in minutes."},{title:"Explore & share",body:"Walk through your world, refine it, and share a link with anyone."}];function x({children:s}){return e.jsx("p",{className:"text-[0.6875rem] font-semibold uppercase tracking-[0.16em] text-muted-foreground",children:s})}const h="https://spaitial.ai",I="https://developers.spaitial.ai",L="https://docs.spaitial.ai/overview/welcome",z="https://docs.spaitial.ai/api/getting-started",E="https://drive.google.com/drive/folders/1yoZFOQwIeL5B0JixOz-KXueN49waMKi-?usp=drive_link",r="text-sm text-muted-foreground transition-colors hover:text-foreground";function c({title:s,children:l}){return e.jsxs("div",{children:[e.jsx("h3",{className:"mb-4 text-sm font-medium text-foreground",children:s}),e.jsx("ul",{className:"space-y-3",children:l})]})}const p=["a prompt","an image","a 360° panorama"];function D(){const[s,l]=i.useState(0);return i.useEffect(()=>{const d=setInterval(()=>l(o=>(o+1)%p.length),2400);return()=>clearInterval(d)},[]),e.jsx("span",{className:"inline-block text-primary duration-300 animate-in fade-in slide-in-from-bottom-2",children:p[s]},s)}function K(){const{user:s}=w({strict:!1}),[l,d]=i.useState("All"),{theme:o,setTheme:g}=y(),f=k(a=>a.reset),[j,b]=i.useState(!1);i.useEffect(()=>{const a=requestAnimationFrame(()=>b(!0));return()=>cancelAnimationFrame(a)},[]);const N=()=>{g(o==="dark"?"light":"dark")},u=o==="light"?"/logo/spatial-logo-full-white.png":"/logo/spaitial-logo-full.png";return e.jsxs("div",{className:"min-h-svh bg-background text-foreground",children:[e.jsx("header",{className:"fixed inset-x-0 top-0 z-50 border-b border-border bg-background/80 backdrop-blur supports-backdrop-filter:bg-background/60",children:e.jsx("div",{className:"mx-auto max-w-[1200px] px-6",children:e.jsxs("div",{className:"flex h-16 items-center justify-between",children:[e.jsx(t,{to:"/",className:"flex items-center gap-2.5",children:e.jsx("img",{src:u,alt:"SpAItial",className:"h-8 w-auto"})}),e.jsxs("nav",{className:"flex items-center gap-1 sm:gap-2",children:[e.jsx(n,{variant:"ghost",size:"icon",onClick:N,"aria-label":"Toggle theme",className:"text-muted-foreground hover:text-foreground",children:o==="dark"?e.jsx(C,{className:"h-4 w-4"}):e.jsx(_,{className:"h-4 w-4"})}),s?e.jsxs(e.Fragment,{children:[e.jsx(t,{to:"/dashboard",className:"hidden px-2 text-sm font-medium text-muted-foreground transition-colors hover:text-foreground sm:inline-block",children:"Dashboard"}),e.jsx(t,{to:"/settings","aria-label":"Go to profile settings",className:"ml-1 block rounded-full transition-opacity hover:opacity-90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:e.jsx("div",{className:"h-8 w-8 overflow-hidden rounded-full bg-linear-to-br from-primary to-accent",children:s.avatarUrl?e.jsx("img",{src:s.avatarUrl,alt:s.name||"User",className:"h-full w-full object-cover"}):e.jsx("div",{className:"flex h-full w-full items-center justify-center text-xs font-medium text-primary-foreground",children:(s.name||s.email||"U")[0].toUpperCase()})})})]}):e.jsx(t,{to:"/login",children:e.jsx(n,{variant:"ghost",size:"sm",className:"text-muted-foreground hover:text-foreground",children:"Sign in"})})]})]})})}),e.jsxs("main",{className:"pt-16",children:[e.jsxs("section",{className:"relative overflow-hidden px-6 py-20 md:py-28",children:[e.jsxs("div",{className:"pointer-events-none absolute inset-0","aria-hidden":!0,
1children:[e.jsx("img",{src:"/cta_img.png",alt:"",className:`absolute inset-0 h-full w-full object-cover transition-all duration-1000 ease-out ${j?"scale-100 opacity-80 dark:opacity-50":"scale-105 opacity-0"}`}),e.jsx("div",{className:"absolute inset-0 bg-background/10 dark:bg-background/30"}),e.jsx("div",{className:"absolute inset-0",style:{background:"radial-gradient(circle at center, transparent 16%, var(--background) 62%, var(--background) 100%)"}}),e.jsx("div",{className:"absolute inset-0",style:{background:"radial-gradient(ellipse 62% 52% at 50% 46%, var(--background) 0%, color-mix(in oklch, var(--background) 65%, transparent) 42%, transparent 72%)"}})]}),e.jsxs("div",{className:"relative z-10 mx-auto flex max-w-3xl flex-col items-center text-center",children:[e.jsx("h1",{className:"text-4xl font-normal leading-[1.05] tracking-tight text-foreground sm:text-5xl md:text-6xl lg:text-7xl",children:"SpAItial turns your ideas into immersive worlds"}),e.jsx("p",{className:"mt-5 max-w-xl text-base leading-relaxed text-muted-foreground md:text-lg",children:"SpAItial is an AI platform that transforms a text prompt, image, or 360° panorama into an explorable 3D environment you can walk through, edit, and share."}),e.jsxs("div",{className:"mt-9 flex w-full max-w-md items-center gap-3 rounded-lg border border-border bg-card px-4 py-3 text-left",children:[e.jsx("span",{className:"font-mono text-sm text-muted-foreground",children:"âº"}),e.jsx("span",{className:"truncate font-mono text-sm text-foreground/80",children:"a cozy attic bedroom at golden hour"}),e.jsx("span",{className:"ml-auto h-4 w-px animate-pulse bg-primary"})]}),e.jsx("div",{className:"mt-9 flex flex-col items-center gap-4 sm:flex-row",children:s?e.jsx(t,{to:"/dashboard",children:e.jsxs(n,{size:"lg",className:"group gap-2 px-6",children:["Go to dashboard",e.jsx(m,{className:"size-4 transition-transform duration-200 group-hover:translate-x-0.5"})]})}):e.jsx(t,{to:"/worlds",search:{create:!0},children:e.jsxs(n,{size:"lg",className:"group gap-2 px-6",children:["Create your world",e.jsx(m,{className:"size-4 transition-transform duration-200 group-hover:translate-x-0.5"})]})})})]})]}),e.jsx("section",{className:"border-t border-border px-6 py-20",children:e.jsxs("div",{className:"mx-auto max-w-[1200px]",children:[e.jsxs("div",{className:"max-w-2xl",children:[e.jsx(x,{children:"How it works"}),e.jsxs("h2",{className:"mt-3 text-2xl font-normal tracking-tight text-foreground md:text-4xl",children:["From ",e.jsx(D,{})," to a 3D explorable world"]})]}),e.jsx("div",{className:"mt-12 grid grid-cols-1 gap-4 md:grid-cols-3",children:A.map((a,v)=>e.jsxs("div",{className:"rounded-xl border border-border bg-card p-6",children:[e.jsx("span",{className:"font-mono text-sm text-muted-foreground",children:String(v+1).padStart(2,"0")}),e.jsx("h3",{className:"mt-4 text-lg font-semibold text-foreground",children:a.title}),e.jsx("p",{className:"mt-2 text-sm leading-relaxed text-muted-foreground",children:a.body})]},a.title))})]})}),e.jsx("section",{id:"gallery",className:"scroll-mt-20 border-t border-border px-6 py-20",children:e.jsxs("div",{className:"mx-auto w-full min-w-0 max-w-[1200px]",children:[e.jsxs("div",{className:"max-w-2xl",children:[e.jsx(x,{children:"Gallery"}),e.jsx("h2",{className:"mt-3 text-2xl font-normal tracking-tight text-foreground md:text-4xl",children:"Worlds built with Echo-2"}),e.jsx("p",{className:"mt-3 text-base text-muted-foreground",children:"Explore worlds built with Echo-2, our frontier Spatial Foundation Model."})]}),e.jsx("div",{className:"mt-12",children:e.jsx(S,{selectedCategory:l,onCategoryChange:d,layout:"rail"})})]})}),e.jsx("section",{className:"border-t border-border px-6 py-24",children:e.jsxs("div",{className:"mx-auto flex max-w-2xl flex-col items-center text-center",children:[e.jsx(x,{children:"Get started"}),e.jsx("h2",{className:"mt-5 text-4xl font-normal tracking-tight text-foreground md:text-5xl",children:"Start creating today"}),e.jsx("p",{className:"mt-4 max-w-md text-base text-muted-foreground",children:"Transform any text prompt, image, or panorama into an explorable 3D environment. Get started for free."}),e.jsx(t,{to:"/worlds",search:{create:!0},className:"mt-8",children:e.jsxs(n,{size:"lg",className:"group gap-2 px-6",children:["Create your first world",e.jsx(m,{className:"size-4 transition-transform duration-200 group-hover:translate-x-0.5"})]})})]})})]}),e.jsx("footer",{className:"border-t border-border bg-background",children:e.jsxs("div",{className:"mx-auto max-w-[1200px] px-6 py-16",children:[e.jsxs("div",{className:"grid grid-cols-2 gap-10 md:grid-cols-4 lg:grid-cols-[1.4fr_1fr_1fr_1fr_1fr] lg:gap-8",children:[e.jsxs("div",{className:"col-span-2 md:col-span-4 lg:col-span-1",children:[e.jsx(t,{to:"/",className:"inline-flex transition-opacity hover:opacity-70",children:e.jsx("img",{src:u,alt:"SpAItial",className:"h-8 w-auto"})}),e.jsx("p",{className:"mt-4 max-w-xs text-sm leading-relaxed text-muted-foreground",children:"SpAItial transforms any image into an explorable 3D world with Echo-2, our frontier Spatial Foundation Model."})]}),e.jsxs(c,{title:"Product",children:[e.jsx("li",{children:e.jsx(t,{to:"/worlds",search:{create:!0},className:r,children:"Create a World"})}),e.jsx("li",{children:e.jsx(t,{to:"/dashboard",className:r,children:"App Dashboard"})}),e.jsx("li",{children:e.jsx("a",{href:"#gallery",className:r,children:"Explore Gallery"})}),e.jsx("li",{children:e.jsx(t,{to:"/login",className:r,children:"Sign in"})})]}),e.jsxs(c,{title:"Developers",children:[e.jsx("li",{children:e.jsx("a",{href:I,target:"_blank",rel:"noopener noreferrer",className:r,children:"Developer Platform"})}),e.jsx("li",{children:e.jsx("a",{href:z,target:"_blank",rel:"noopener noreferrer",className:r,children:"API Reference"})}),e.jsx("li",{children:e.jsx("a",{href:L,target:"_blank",rel:"noopener noreferrer",className:r,children:"Documentation"})})]}),e.jsxs(c,{title:"Company",children:[e.jsx("li",{children:e.jsx("a",{href:`${h}/about`,target:"_blank",rel:"noopener noreferrer",className:r,children:"About"})}),e.jsx("li",{children:e.jsx("a",{href:`${h}/careers`,target:"_blank",rel:"noopener noreferrer",className:r,children:"Careers"})}),e.jsx("li",{children:e.jsx("a",{href:`${h}/blog`,target:"_blank",rel:"noopener noreferrer",className:r,children:"Blog"})}),e.jsx("li",{children:e.jsx("a",{href:"mailto:[email protected]",className:r,children:"Contact"})}),e.jsx("li",{children:e.jsx("a",{href:E,target:"_blank",rel:"noopener noreferrer",className:r,children:"Press Kit"})})]}),e.jsxs(c,{title:"Legal",children:[e.jsx("li",{children:e.jsx(t,{to:"/terms",className:r,children:"Terms of Service"})}),e.jsx("li",{children:e.jsx(t,{to:"/privacy",className:r,children:"Privacy Policy"})}),e.jsx("li",{children:e.jsx(t,{to:"/security",className:r,children:"Security"})}),e.jsx("li",{children:e.jsx(t,{to:"/subprocessors",className:r,children:"Subprocessors"})}),e.jsx("li",{children:e.jsx(t,{to:"/cookies",className:r,children:"Cookie Policy"})}),e.jsx("li",{children:e.jsx("button",{type:"button",onClick:f,className:`${r} cursor-pointer`,children:"Cookie Settings"})})]})]}),e.jsxs("div",{className:"mt-14 flex flex-col items-center gap-4 border-t border-border pt-8 md:flex-row md:justify-between",children:[e.jsxs("p",{className:"text-sm text-muted-foreground",children:["© ",new Date().getFullYear()," SpAItial Ltd. All rights reserved."]}),e.jsxs("div",{className:"flex items-center gap-5",children:[e.jsxs("a",{href:"https://x.com/SpAItial_AI",target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground transition-colors hover:text-foreground","aria-label":"Twitter",children:[e.jsx("svg",{className:"h-5 w-5",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:e.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})}),e.jsx("span",{className:"sr-only",children:"Follow SpAItial on X (Twitter)"})]}),e.jsxs("a",{href:"https://www.linkedin.com/company/spaitial-ai/",target:"_blank",rel:"noopener noreferrer",className:"text-muted-foreground transition-colors hover:text-foreground","aria-label":"LinkedIn",children:[e.jsx("svg",{className:"h-5 w-5",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:e.jsx("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})}),e.jsx("span",{className:"sr-only",children:"Follow SpAItial on LinkedIn"})]})]})]})]})})]})}export{K as component}; 2 3//# chunkId=01a0d427-d740-77a1-b8f6-592cfa0ea1da
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.