PageSourceSearch

https://twinforgefit.ai/assets/WelcomePage-DWPObslU.js

js twinforgefit.ai collected 2026-10-05 14:31:40 UTC 12,731 bytes, 1 lines download raw bytes

1import{j as e,m as x}from"./motion-CghpQXKE.js";import{u as j,F as y,B as w}from"./index-_-9kgWZ5.js";import{F as n,f as t,a as b}from"./ForgeDefs-C1BI_42E.js";import{L as f}from"./router-epi9CWfp.js";import"./supabase-CTBn71hm.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};s.SENTRY_RELEASE={id:"19ca80bcc68db376b793c8a886be03b6d5ea8a5c"};var l=new s.Error().stack;l&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[l]="796dba1c-af27-4c50-bfd8-c86b3bd07dbe",s._sentryDebugIdIdentifier="sentry-dbid-796dba1c-af27-4c50-bfd8-c86b3bd07dbe")}catch{}})();const c="forge-welcome-matin";function v({className:s,reduceMotion:l}){return e.jsxs("svg",{viewBox:"0 0 128 104",className:`${s??""} ${l?"welcome-ill--static":""}`.trim(),"aria-hidden":"true",focusable:"false",children:[e.jsx(n,{prefix:c}),e.jsxs("g",{className:"welcome-sunrise",children:[e.jsx("circle",{cx:"64",cy:"58",r:"26",fill:t(c,"glow"),filter:t(c,"blur")}),e.jsx("circle",{cx:"64",cy:"58",r:"16",fill:t(c,"fire")})]}),e.jsx("rect",{x:"14",y:"58",width:"100",height:"40",fill:"#0D0D14"}),e.jsx("rect",{x:"14",y:"57",width:"100",height:"2.5",rx:"1.25",fill:t(c,"edge")}),e.jsxs("g",{className:"welcome-wave",fill:t(c,"hot"),children:[e.jsx("rect",{className:"welcome-wave__bar",x:"44",y:"70",width:"4",height:"14",rx:"2"}),e.jsx("rect",{className:"welcome-wave__bar",x:"52",y:"66",width:"4",height:"22",rx:"2"}),e.jsx("rect",{className:"welcome-wave__bar",x:"60",y:"62",width:"4",height:"30",rx:"2"}),e.jsx("rect",{className:"welcome-wave__bar",x:"68",y:"67",width:"4",height:"20",rx:"2"}),e.jsx("rect",{className:"welcome-wave__bar",x:"76",y:"71",width:"4",height:"12",rx:"2"})]})]})}const r="forge-welcome-repas";function N({className:s,reduceMotion:l}){return e.jsxs("svg",{viewBox:"0 0 128 104",className:`${s??""} ${l?"welcome-ill--static":""}`.trim(),"aria-hidden":"true",focusable:"false",children:[e.jsx(n,{prefix:r}),e.jsx("ellipse",{cx:"64",cy:"60",rx:"40",ry:"22",fill:t(r,"steel")}),e.jsx("ellipse",{cx:"64",cy:"57",rx:"40",ry:"22",fill:t(r,"edge")}),e.jsx("ellipse",{cx:"64",cy:"57",rx:"31",ry:"16",fill:t(r,"steel")}),e.jsx("ellipse",{cx:"54",cy:"54",rx:"13",ry:"7",fill:t(r,"hot")}),e.jsx("ellipse",{cx:"76",cy:"52",rx:"10",ry:"5.5",fill:t(r,"fire")}),e.jsx("circle",{cx:"72",cy:"62",r:"5",fill:t(r,"hot")}),e.jsx("ellipse",{cx:"64",cy:"57",rx:"31",ry:"16",fill:t(r,"glow"),filter:t(r,"softblur")}),e.jsx("path",{d:"M18 30V20h10M110 30V20h-10M18 82v10h10M110 82v10h-10",fill:"none",stroke:"#F5A623",strokeWidth:"2",strokeLinecap:"round"}),e.jsxs("g",{className:"welcome-scan",children:[e.jsx("rect",{x:"20",y:"55",width:"88",height:"3",fill:t(r,"fire"),filter:t(r,"softblur")}),e.jsx("rect",{x:"20",y:"56",width:"88",height:"1.2",fill:"#FFD080"})]})]})}const i="forge-welcome-frigo";function k({className:s,reduceMotion:l}){return e.jsxs("svg",{viewBox:"0 0 128 104",className:`${s??""} ${l?"welcome-ill--static":""}`.trim(),"aria-hidden":"true",focusable:"false",children:[e.jsx(n,{prefix:i}),e.jsx("rect",{x:"38",y:"8",width:"52",height:"88",rx:"6",fill:t(i,"steel")}),e.jsx("rect",{x:"42",y:"12",width:"44",height:"80",rx:"4",fill:"#0D0D14"}),e.jsx("rect",{x:"44",y:"36",width:"40",height:"1.5",fill:t(i,"edge")}),e.jsx("rect",{x:"44",y:"62",width:"40",height:"1.5",fill:t(i,"edge")}),e.jsxs("g",{className:"welcome-ing welcome-ing--1",children:[e.jsx("circle",{cx:"52",cy:"27",r:"5",fill:t(i,"hot")}),e.jsx("circle",{cx:"54",cy:"78",r:"6",fill:t(i,"fire")})]}),e.jsxs("g",{className:"welcome-ing welcome-ing--2",children:[e.jsx("circle",{cx:"66",cy:"27",r:"5",fill:t(i,"fire")}),e.jsx("rect",{x:"47",y:"44",width:"12",height:"12",rx:"2",fill:"#F5A623"})]}),e.jsxs("g",{className:"welcome-ing welcome-ing--3",children:[e.jsx("circle",{cx:"78",cy:"27",r:"4",fill:"#FFD080"}),e.jsx("rect",{x:"64",y:"46",width:"18",height:"10",rx:"2",fill:t(i,"edge")}),e.jsx("rect",{x:"66",y:"70",width:"14",height:"16",rx:"3",fill:t(i,"hot")})]}),e.jsxs("g",{className:"welcome-door",children:[e.jsx("rect",{x:"42",y:"12",width:"44",height:"80",rx:"4",fill:t(i,"steel")}),e.jsx("rect",{x:"80",y:"40",width:"3",height:"22",rx:"1.5",fill:t(i,"edge")})]}),e.jsx("ellipse",{cx:"64",cy:"98",rx:"34",ry:"6",fill:t(i,"glow")})]})}const d="forge-welcome-seance";function F({className:s,reduceMotion:l}){return e.jsxs("svg",{viewBox:"0 0 128 104",className:`${s??""} ${l?"welcome-ill--static":""}`.trim(),"aria-hidden":"true",focusable:"false",children:[e.jsx(n,{prefix:d}),e.jsx(b,{prefix:d}),e.jsx("rect",{x:"50",y:"62",width:"28",height:"8",rx:"2",fill:t(d,"hot")}),e.jsxs("g",{className:"welcome-hammer",children:[e.jsx("rect",{x:"60",y:"24",width:"7",height:"40",rx:"3",fill:"#6B4A2A",transform:"rotate(14 63 44)"}),e.jsx("rect",{x:"44",y:"12",width:"40",height:"16",rx:"3",fill:t(d,"steel")}),e.jsx("rect",{x:"44",y:"12",width:"40",height:"3",rx:"1.5",fill:t(d,"edge")})]}),e.jsxs("g",{className:"welcome-sparks",fill:"none",stroke:"#FFD080",strokeWidth:"1.8",strokeLinecap:"round",children:[e.jsx("path",{d:"M64 64l-22-14"}),e.jsx("path",{d:"M64 64l-13-22"}),e.jsx("path",{d:"M64 64v-26"}),e.jsx("path",{d:"M64 64l13-22"}),e.jsx("path",{d:"M64 64l22-14"})]})]})}const h="forge-welcome-corps";function A({className:s,reduceMotion:l}){return e.jsxs("svg",{viewBox:"0 0 128 104",className:`${s??""} ${l?"welcome-ill--static":""}`.trim(),"aria-hidden":"true",focusable:"false",children:[e.jsx(n,{prefix:h}),e.jsx("ellipse",{cx:"64",cy:"94",rx:"30",ry:"6",fill:t(h,"glow")}),e.jsxs("g",{className:"welcome-twin-a",fill:"none",stroke:t(h,"edge"),strokeWidth:"2.2",strokeLinejoin:"round",strokeLinecap:"round",children:[e.jsx("circle",{cx:"64",cy:"14",r:"8"}),e.jsx("path",{d:"M44 34q20-6 40 0l2 26q-10 6-12 14l2 22h-10l-2-18-2 18H52l2-22q-2-8-12-14z"})]}),e.jsxs("g",{className:"welcome-twin-b",fill:"none",stroke:t(h,"hot"),strokeWidth:"2.2",strokeLinejoin:"round",strokeLinecap:"round",children:[e.jsx("circle",{cx:"64",cy:"14",r:"8"}),e.jsx("path",{d:"M40 33q24-7 48 0l-4 25q-11 5-12 14l3 24h-9l-2-18-2 18h-9l3-24q-1-9-12-14z"})]}),e.jsx("path",{d:"M64 30v42",stroke:"#FFD080",strokeWidth:"1.2",strokeDasharray:"3 3",opacity:"0.7"}),e.jsx("text",{x:"96",y:"24",fontFamily:"JetBrains Mono, ui-monospace, monospace",fontSize:"8",fill:"#F5A623",letterSpacing:"1",children:"3D"})]})}const o="forge-welcome-defis",D="M34 26l22 12v24L34 74 12 62V38z",M="M94 26l22 12v24L94 74 72 62V38z";function E({className:s,reduceMotion:l}){return e.jsxs("svg",{viewBox:"0 0 128 104",className:`${s??""} ${l?"welcome-ill--static":""}`.trim(),"aria-hidden":"true",focusable:"false",children:[e.jsx(n,{prefix:o}),e.jsx("path",{d:D,fill:t(o,"steel"),stroke:"#F5A623",strokeOpacity:"0.55",strokeWidth:"1.5"}),e.jsx("path",{d:M,fill:t(o,"steel"),stroke:"#F5A623",strokeOpacity:"0.55",strokeWidth:"1.5"}),e.jsx("circle",{cx:"34",cy:"44",r:"6",fill:"#8A8AA0"}),e.jsx("path",{d:"M22 66q12-14 24 0z",fill:"#8A8AA0"}),e.jsx("circle",{cx:"94",cy:"44",r:"6",fill:"#8A8AA0"}),e.jsx("path",{d:"M82 66q12-14 24 0z",fill:"#8A8AA0"}),e.jsx("path",{d:"M56 50h16",stroke:t(o,"hot"),strokeWidth:"2",strokeLinecap:"round"}),e.jsx("circle",{cx:"64",cy:"50",r:"16",fill:t(o,"glow")}),e.jsxs("g",{className:"welcome-seal",children:[e.jsx("circle",{cx:"64",cy:"50",r:"9",fill:t(o,"hot")}),e.jsx("path",{d:"M59 50l3.5 3.5 6.5-7",fill:"none",stroke:"#2A1608",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),e.jsx("circle",{cx:"30",cy:"16",r:"1.6",fill:"#FFD080"}),e.jsx("circle",{cx:"100",cy:"14",r:"1.2",fill:"#FFD080"})]})}const I=["Perdre du ventre.","Prendre du muscle.","Sécher.","Me sentir mieux.","Perdre du poids."],$=[{heure:"07:00",Illustration:v,titre:"Ton check-in du matin",detail
1:"Comment tu vas ? Alloy adapte ta journée."},{heure:"12:30",Illustration:N,titre:"Photographie ton repas",detail:"Calories et macros, comptés pour toi."},{heure:"16:00",Illustration:k,titre:"Scanne ton frigo",detail:"Recettes et menus de la semaine avec ce que tu as."},{heure:"18:00",Illustration:F,titre:"Ta séance, décidée aujourd'hui",detail:"Selon ton matériel et ton énergie du jour."},{heure:"21:00",Illustration:A,titre:"Ton corps en 3D",detail:"Un jumeau qui change quand tu changes, et se projette."},{heure:"DIM.",Illustration:E,titre:"Défis et stickers",detail:"Invite un ami, relève des défis, partage tes cartes Forge en story."}];function P(){const s=j(),l=a=>({initial:s?void 0:{opacity:0,y:12},animate:s?void 0:{opacity:1,y:0},transition:{duration:.5,delay:s?0:a,ease:[.16,1,.3,1]}});return e.jsxs("div",{className:"relative flex min-h-[100dvh] flex-col overflow-x-hidden bg-[#0D0D0D]",style:{paddingTop:"var(--sat)",paddingBottom:"var(--sab)"},children:[e.jsxs("div",{className:"pointer-events-none absolute inset-0","aria-hidden":"true",children:[e.jsx("div",{className:"absolute inset-0 opacity-[0.03]",style:{backgroundImage:"linear-gradient(rgba(249,115,22,0.4) 1px, transparent 1px), linear-gradient(90deg, rgba(249,115,22,0.4) 1px, transparent 1px)",backgroundSize:"60px 60px"}}),e.jsx("div",{className:"absolute left-1/2 top-1/4 h-[600px] w-[900px] -translate-x-1/2",style:{background:"radial-gradient(ellipse, rgba(249,115,22,0.09) 0%, transparent 70%)"}})]}),e.jsxs("div",{className:"relative z-10 mx-auto flex w-full max-w-md flex-1 flex-col px-6 pb-4 pt-5",children:[e.jsxs(x.div,{className:"flex items-center gap-3",...l(0),children:[e.jsx("img",{src:"/assets/alloy/visage.webp",alt:"Alloy",width:64,height:64,decoding:"async",className:"h-16 w-16 flex-shrink-0 rounded-full object-cover",style:{boxShadow:"0 0 0 2px #0D0D0D, 0 0 0 4px rgba(245,166,35,0.75), 0 8px 24px rgba(232,93,4,0.35)"}}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"font-display text-lg font-bold leading-tight text-[#F5F0EB]",children:"Alloy"}),e.jsxs("p",{className:"mt-0.5 text-[13px] text-text-secondary",children:["Ta coach ",e.jsx("span",{className:"font-semibold text-accent",children:"IA"})," · dans ta poche"]})]}),e.jsx(y,{size:28,className:"ml-auto flex-shrink-0"})]}),e.jsxs(x.div,{className:"mt-5",...l(.08),children:[e.jsx("p",{className:"font-mono text-[11px] font-semibold uppercase tracking-[0.2em] text-accent",children:"Ton objectif"}),e.jsxs("h1",{className:"mt-1.5 font-display text-[29px] font-bold leading-[1.15] tracking-tight text-[#F5F0EB]",children:[e.jsx("span",{className:"sr-only",children:"Perdre du poids, perdre du ventre, sécher, prendre du muscle, te sentir mieux : Alloy t'y emmène."}),s?e.jsx("span",{"aria-hidden":"true",className:"block bg-forge-gradient-3 bg-clip-text text-transparent",children:"Tes objectifs."}):e.jsx("span",{"aria-hidden":"true",className:"relative block h-[34px]",children:I.map((a,m)=>e.jsx("span",{className:"welcome-word absolute left-0 top-0 whitespace-nowrap bg-forge-gradient-3 bg-clip-text text-transparent",style:{animationDelay:`${m*2.4}s`},children:a},a))}),e.jsx("span",{"aria-hidden":"true",className:"block",children:"Alloy t'y emmène."})]})]}),e.jsx("p",{className:"mt-4 font-mono text-[10.5px] font-semibold uppercase tracking-[0.18em] text-text-muted",children:"Une journée avec Alloy"}),e.jsx("ul",{className:"mt-2 grid grid-cols-2 gap-2.5",children:$.map(({heure:a,Illustration:m,titre:p,detail:g},u)=>e.jsxs(x.li,{className:"relative flex min-w-0 flex-col gap-1 overflow-hidden rounded-[20px] border border-white/[0.06] bg-surface-solid px-3 pb-2.5 pt-2",style:{boxShadow:"0 8px 24px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.05)"},...l(.14+u*.05),children:[e.jsx("span",{"aria-hidden":"true",className:"pointer-events-none absolute inset-x-[12%] top-0 h-px",style:{background:"linear-gradient(90deg, transparent, rgba(255,208,128,0.55), transparent)"}}),e.jsx("span",{className:"absolute right-3 top-2 font-mono text-[10px] font-semibold tracking-[0.12em] text-accent",children:a}),e.jsx(m,{className:"h-11 w-full",reduceMotion:s}),e.jsx("p",{className:"text-[12.5px] font-semibold leading-tight text-[#F5F0EB]",children:p}),e.jsx("p",{className:"text-[11px] leading-snug text-text-secondary",children:g})]},p))}),e.jsx(x.p,{className:"mt-3 text-[12px] leading-snug text-text-secondary",...l(.5),children:"Elle lit ta balance et ton agenda, comprend tes vocaux, et se souvient de tout."}),e.jsxs(x.div,{className:"mt-auto space-y-1 pt-4",...l(.55),children:[e.jsx(f,{to:"/register",className:"block","data-testid":"welcome-register",children:e.jsx(w,{type:"button",className:"w-full",tabIndex:-1,
1children:"Créer un compte"})}),e.jsx(f,{to:"/login",className:"flex h-11 items-center justify-center text-[15px] font-medium text-text-secondary transition-colors hover:text-[#F5F0EB]","data-testid":"welcome-login",children:"J'ai déjà un compte"})]})]})]})}export{P as WelcomePage};

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.