mirror of
https://github.com/bitwarden/browser
synced 2026-02-19 02:44:01 +00:00
add a slot for consumers to show user actions in anon layout header
This commit is contained in:
@@ -5,13 +5,14 @@
|
||||
'tw-min-h-full': clientType === 'browser' || clientType === 'desktop',
|
||||
}"
|
||||
>
|
||||
<a
|
||||
*ngIf="!hideLogo()"
|
||||
[routerLink]="['/']"
|
||||
class="tw-w-[200px] tw-block tw-mb-12 [&>*]:tw-align-top"
|
||||
>
|
||||
<bit-icon [icon]="logo" [ariaLabel]="'appLogoLabel' | i18n"></bit-icon>
|
||||
</a>
|
||||
<div class="tw-flex tw-justify-between tw-items-center tw-w-full tw-mb-12">
|
||||
<a *ngIf="!hideLogo()" [routerLink]="['/']" class="tw-w-[200px] tw-block [&>*]:tw-align-top">
|
||||
<bit-icon [icon]="logo" [ariaLabel]="'appLogoLabel' | i18n"></bit-icon>
|
||||
</a>
|
||||
<div class="tw-ms-auto">
|
||||
<ng-content select="[slot=headerActions]"></ng-content>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tw-text-center tw-mb-4 sm:tw-mb-6 tw-mx-auto" [ngClass]="maxWidthClass">
|
||||
@let iconInput = icon();
|
||||
|
||||
Reference in New Issue
Block a user