mirror of
https://github.com/bitwarden/browser
synced 2026-02-13 06:54:07 +00:00
* Add confirmation details step * Cleanup * Update apps/web/src/locales/en/messages.json Co-authored-by: Addison Beck <addisonbeck1@gmail.com> * Update apps/web/src/locales/en/messages.json Co-authored-by: Addison Beck <addisonbeck1@gmail.com> Co-authored-by: Addison Beck <addisonbeck1@gmail.com>
95 lines
3.9 KiB
HTML
95 lines
3.9 KiB
HTML
<div *ngIf="accountCreateOnly" class="">
|
|
<h1 class="tw-text-xl tw-text-center tw-mt-12" *ngIf="!layout">{{ "createAccount" | i18n }}</h1>
|
|
<div
|
|
class="tw-m-auto tw-rounded tw-border tw-border-solid tw-bg-background tw-border-secondary-300 tw-min-w-xl tw-max-w-xl tw-p-8"
|
|
>
|
|
<app-register-form
|
|
[queryParamEmail]="email"
|
|
[enforcedPolicyOptions]="enforcedPolicyOptions"
|
|
></app-register-form>
|
|
</div>
|
|
</div>
|
|
<div *ngIf="!accountCreateOnly">
|
|
<div
|
|
class="tw-bg-background-alt2 tw-h-96 tw--mt-48 tw-absolute tw--skew-y-3 tw-w-full tw--z-10"
|
|
></div>
|
|
<div class="tw-flex tw-max-w-screen-xl tw-min-w-4xl tw-mx-auto tw-px-4">
|
|
<div class="tw-w-1/2">
|
|
<img
|
|
alt="Bitwarden"
|
|
style="height: 50px; width: 335px"
|
|
class="tw-mt-6"
|
|
src="../../images/register-layout/logo-horizontal-white.svg"
|
|
/>
|
|
<!-- This is to for illustrative purposes and content will be replaced by marketing -->
|
|
<div class="tw-pt-12">
|
|
<!-- Teams Body -->
|
|
<app-teams-content *ngIf="org === 'teams'"></app-teams-content>
|
|
<!-- Enterprise Body -->
|
|
<app-enterprise-content *ngIf="org === 'enterprise'"></app-enterprise-content>
|
|
<!-- Families Body -->
|
|
<app-families-content *ngIf="org === 'families'"></app-families-content>
|
|
</div>
|
|
</div>
|
|
<div class="tw-w-1/2">
|
|
<div class="tw-pt-56">
|
|
<div class="tw-rounded tw-border tw-border-solid tw-bg-background tw-border-secondary-300">
|
|
<div class="tw-h-12 tw-flex tw-items-center tw-rounded-t tw-bg-secondary-100 tw-w-full">
|
|
<h2 class="tw-uppercase tw-pl-4 tw-text-base tw-mb-0 tw-font-bold">
|
|
Start your 7-Day free trial of Bitwarden for {{ org }}
|
|
</h2>
|
|
</div>
|
|
<app-vertical-stepper #stepper linear (selectionChange)="stepSelectionChange($event)">
|
|
<app-vertical-step label="Create Account" [editable]="false" [subLabel]="email">
|
|
<app-register-form
|
|
[isInTrialFlow]="true"
|
|
(createdAccount)="createdAccount($event)"
|
|
></app-register-form>
|
|
</app-vertical-step>
|
|
<app-vertical-step label="Organization Information" [subLabel]="orgInfoSubLabel">
|
|
<app-org-info [nameOnly]="true" [formGroup]="orgInfoFormGroup"></app-org-info>
|
|
<button
|
|
bitButton
|
|
buttonType="primary"
|
|
[disabled]="orgInfoFormGroup.get('name').hasError('required')"
|
|
cdkStepperNext
|
|
>
|
|
Next
|
|
</button>
|
|
</app-vertical-step>
|
|
<app-vertical-step label="Billing" [subLabel]="billingSubLabel">
|
|
<app-billing
|
|
*ngIf="stepper.selectedIndex === 2"
|
|
[plan]="plan"
|
|
[product]="product"
|
|
[orgInfoForm]="orgInfoFormGroup"
|
|
(previousStep)="previousStep()"
|
|
(onTrialBillingSuccess)="billingSuccess($event)"
|
|
></app-billing>
|
|
</app-vertical-step>
|
|
<app-vertical-step label="Confirmation Details" [applyBorder]="false">
|
|
<app-trial-confirmation-details
|
|
[email]="email"
|
|
[orgLabel]="orgLabel"
|
|
></app-trial-confirmation-details>
|
|
<div class="tw-flex tw-mb-3">
|
|
<button bitButton buttonType="primary" (click)="navigateToOrgVault()">
|
|
Get Started
|
|
</button>
|
|
<button
|
|
bitButton
|
|
buttonType="secondary"
|
|
(click)="navigateToOrgInvite()"
|
|
class="tw-inline-flex tw-items-center tw-ml-3 tw-px-3"
|
|
>
|
|
Invite Users
|
|
</button>
|
|
</div>
|
|
</app-vertical-step>
|
|
</app-vertical-stepper>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|