idp.global
-idp.global
+Your permanent identity on the web
+ +Open Source
+Fully transparent, community-driven, no vendor lock-in
+Always Free
+Free for individuals and organizations. Paid support available for SLAs
+Permanent Identity
+One identity across all your applications
+Sign in to your account
+Enter your credentials to continue
+Create your account
+Get started with your permanent identity
+- ${tokenErrorMessage ? html`Reason: ${tokenErrorMessage}` : null} + `; await this.domtools.convenience.smartdelay.delayFor(5000); idpState.domtools.router.pushUrl('/'); diff --git a/ts_web/elements/idp-welcome.ts b/ts_web/elements/idp-welcome.ts index 98024c8..5dfc539 100644 --- a/ts_web/elements/idp-welcome.ts +++ b/ts_web/elements/idp-welcome.ts @@ -28,86 +28,125 @@ export class IdpWelcome extends DeesElement { cssManager.defaultStyles, css` :host { + --foreground: hsl(0 0% 98%); + --muted-foreground: hsl(240 5% 64.9%); + display: block; - color: #fff; - font-family: 'Geist Sans'; + color: var(--foreground); + font-family: 'Geist Sans', -apple-system, BlinkMacSystemFont, sans-serif; } + :host([hidden]) { display: none; } - .maincontainer { - padding: 0px 16px; + .form-header { + margin-bottom: 32px; + text-align: center; + } + + .form-header h2 { + font-size: 24px; + font-weight: 600; + color: var(--foreground); + margin: 0 0 8px 0; + letter-spacing: -0.02em; + } + + .form-header p { + font-size: 14px; + color: var(--muted-foreground); + margin: 0; + } + + .button-group { + display: flex; + flex-direction: column; + gap: 12px; + } + + .secondary-actions { + margin-top: 24px; + padding-top: 24px; + border-top: 1px solid hsla(240 3.7% 15.9% / 0.5); + display: flex; + flex-direction: column; + gap: 8px; } .greeting { + font-size: 14px; + color: var(--muted-foreground); text-align: center; - font-size: 16px; - font-weight: 600; - margin: 24px auto; + margin-bottom: 8px; } - dees-button { - margin-top: 16px; - margin-bottom: 16px; + .greeting strong { + color: var(--foreground); + font-weight: 600; } `, ]; public render(): TemplateResult { return html` -
Welcome back
+Signed in as ${data.user.data.name}
+Welcome
+Sign in to your account or create a new one
+