2024-03-06 09:32:50 -08:00
|
|
|
<main
|
2024-05-14 13:28:41 -07:00
|
|
|
class="tw-flex tw-min-h-screen tw-w-full tw-mx-auto tw-flex-col tw-gap-9 tw-bg-background-alt tw-px-4 tw-pb-4 tw-pt-14 tw-text-main"
|
2024-03-06 09:32:50 -08:00
|
|
|
>
|
|
|
|
|
<div class="tw-text-center">
|
|
|
|
|
<div class="tw-px-8">
|
|
|
|
|
<div *ngIf="icon" class="tw-mb-8">
|
|
|
|
|
<bit-icon [icon]="icon"></bit-icon>
|
|
|
|
|
</div>
|
|
|
|
|
<bit-icon [icon]="logo" class="tw-mx-auto tw-block tw-max-w-72 sm:tw-max-w-xs"></bit-icon>
|
|
|
|
|
</div>
|
|
|
|
|
<h1 *ngIf="title" bitTypography="h3" class="tw-mt-8 sm:tw-text-2xl">
|
|
|
|
|
{{ title }}
|
|
|
|
|
</h1>
|
|
|
|
|
<p *ngIf="subtitle" bitTypography="body1">{{ subtitle }}</p>
|
|
|
|
|
</div>
|
2024-05-20 11:12:01 -07:00
|
|
|
<div class="tw-mb-auto tw-max-w-md tw-mx-auto tw-flex tw-flex-col tw-items-center">
|
2024-05-06 18:34:40 -07:00
|
|
|
<div
|
2024-05-14 13:28:41 -07:00
|
|
|
class="tw-rounded-xl tw-mb-9 tw-mx-auto sm:tw-bg-background sm:tw-border sm:tw-border-solid sm:tw-border-secondary-300 sm:tw-p-8"
|
2024-05-06 18:34:40 -07:00
|
|
|
>
|
2024-03-06 09:32:50 -08:00
|
|
|
<ng-content></ng-content>
|
|
|
|
|
</div>
|
|
|
|
|
<ng-content select="[slot=secondary]"></ng-content>
|
|
|
|
|
</div>
|
|
|
|
|
<footer class="tw-text-center">
|
2024-05-29 13:31:04 -07:00
|
|
|
<div *ngIf="showReadonlyHostname">{{ "accessing" | i18n }} {{ hostname }}</div>
|
|
|
|
|
<ng-container *ngIf="!showReadonlyHostname">
|
|
|
|
|
<ng-content select="[slot=environment-selector]"></ng-content>
|
|
|
|
|
</ng-container>
|
|
|
|
|
<ng-container *ngIf="showYearAndVersion">
|
|
|
|
|
<div>© {{ year }} Bitwarden Inc.</div>
|
|
|
|
|
<div>{{ version }}</div>
|
|
|
|
|
</ng-container>
|
2024-03-06 09:32:50 -08:00
|
|
|
</footer>
|
|
|
|
|
</main>
|