{{template "analytics"}}
{{if .User}}{{.User}}{{else}}Not logged in{{end}}
{{if .IsSubscribed}}

Subscription

Status {{if .SubStatus}} {{.SubStatus.Label}} {{else}} Active {{end}}
{{if and .SubStatus .SubStatus.CancelAt}}
Access until {{.SubStatus.CancelAt}}
{{end}}
Email {{.Email}}

Your Stack

Status {{if .StackRunning}} Running {{else if .StackDeployed}} Stopped {{else}} Not deployed {{end}}
{{if .StackRunning}}

Your dedicated environment is accessible at:

{{.User}}.{{.Domain}} {{else if and .StackDeployed (not .StackRunning)}}

Your stack is stopped. Start it to access your environment.

{{end}}
{{if .StackRunning}}
{{else}}
{{end}} {{if .StackDeployed}}
{{end}}

Manage

{{if and .SubStatus (eq .SubStatus.Label "Expired")}}
{{else}}
{{if and .SubStatus (eq .SubStatus.Label "Expiring")}} {{else}} {{end}}
{{end}}

No refunds for the current billing period. Access continues until the end of your paid month.

Account Security

We strongly recommend enabling two-factor authentication. Accounts involved in system abuse will be removed. Passkeys and TOTP are the best way to ensure your account is never compromised and used without your knowledge.
{{else}}
{{if .User}}

No Active Subscription

You're signed in as {{.User}}, but you don't have an active subscription.

Subscribe Now {{else}}

Sign In Required

Sign in to access your dashboard.

Sign In {{end}}
{{end}}
{{.Commit}}