Anvil/assets/Welcome.stories-svDqN9c7.js
André Jaenisch 79370c1cf1
Updates
2024-07-05 17:21:03 +02:00

1 line
2.7 KiB
JavaScript

import{S as N,c as O,a as R,d as z,e as B,m as G,b as J,t as K,f as Q,g as U}from"./index-CFSywFfb.js";import{a as p,b as w,t as P,f,h as y,k as M,j as S,d as x,p as V,l as u,i as X,m as a,n as W}from"./lifecycle-u0QeOdKt.js";import{$ as Y}from"./runtime-BvEoAjCK.js";import{A as Z}from"./AnvilLogo-fMxYjjgm.js";import"./index-DZGdSOdS.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";function ee(v){let s,e,r,h,i,_=v[0]("page.welcome.headline")+"",b,H,m,g=v[0]("page.welcome.intro")+"",$,I,o,C='<div><a href="/account/create" class="btn variant-filled-primary">Create F2 account</a></div> <div><a href="/account/login" class="btn text-primary-500 font-semibold variant-filled-ghost">I have an account</a></div>',L,l,T='<a href="/" class="btn bg-initial text-surface-500">Reset passphrase</a>',d;return r=new Z({props:{class:"items-center w-[77px]"}}),{c(){s=p("main"),e=p("div"),z(r.$$.fragment),h=w(),i=p("h1"),b=P(_),H=w(),m=p("p"),$=P(g),I=w(),o=p("div"),o.innerHTML=C,L=w(),l=p("div"),l.innerHTML=T,this.h()},l(t){s=f(t,"MAIN",{class:!0});var c=y(s);e=f(c,"DIV",{class:!0});var n=y(e);B(r.$$.fragment,n),h=M(n),i=f(n,"H1",{class:!0});var A=y(i);b=S(A,_),A.forEach(x),H=M(n),m=f(n,"P",{class:!0});var D=y(m);$=S(D,g),D.forEach(x),I=M(n),o=f(n,"DIV",{class:!0,"data-svelte-h":!0}),V(o)!=="svelte-i2ve23"&&(o.innerHTML=C),L=M(n),l=f(n,"DIV",{class:!0,"data-svelte-h":!0}),V(l)!=="svelte-1vno4o"&&(l.innerHTML=T),n.forEach(x),c.forEach(x),this.h()},h(){u(i,"class","font-semibold text-4xl text-surface-500"),u(m,"class","text-surface-500"),u(o,"class","space-y-3"),u(l,"class","text-center"),u(e,"class","max-w-[400px] mx-auto flex flex-col self-center justify-start items-center content-stretch bg-surface-50 border border-rounded border-surface-200 drop-shadow p-8"),u(s,"class","flex h-full")},m(t,c){X(t,s,c),a(s,e),G(r,e,null),a(e,h),a(e,i),a(i,b),a(e,H),a(e,m),a(m,$),a(e,I),a(e,o),a(e,L),a(e,l),d=!0},p(t,[c]){(!d||c&1)&&_!==(_=t[0]("page.welcome.headline")+"")&&W(b,_),(!d||c&1)&&g!==(g=t[0]("page.welcome.intro")+"")&&W($,g)},i(t){d||(J(r.$$.fragment,t),d=!0)},o(t){K(r.$$.fragment,t),d=!1},d(t){t&&x(s),Q(r)}}}function te(v,s,e){let r;return U(v,Y,h=>e(0,r=h)),[r]}class F extends N{constructor(s){super(),O(this,s,te,ee,R,{})}}F.__docgen={version:3,name:"Welcome.svelte",data:[],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const ie={title:"Molecules/Welcome",component:F,tags:["autodocs"]},E={};var j,k,q;E.parameters={...E.parameters,docs:{...(j=E.parameters)==null?void 0:j.docs,source:{originalSource:"{}",...(q=(k=E.parameters)==null?void 0:k.docs)==null?void 0:q.source}}};const me=["Plain"];export{E as Plain,me as __namedExportsOrder,ie as default};