mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
29 lines
985 B
TypeScript
29 lines
985 B
TypeScript
import { CommonModule } from "@angular/common";
|
|
import { Component, inject } from "@angular/core";
|
|
import { RouterModule } from "@angular/router";
|
|
|
|
import { JslibModule } from "@bitwarden/angular/jslib.module";
|
|
import { RegisterRouteService } from "@bitwarden/auth/common";
|
|
|
|
@Component({
|
|
standalone: true,
|
|
imports: [CommonModule, JslibModule, RouterModule],
|
|
template: `
|
|
<div class="tw-text-center">
|
|
{{ "newToBitwarden" | i18n }}
|
|
<!-- TODO-rr-bw: on Browser ext, this link isn't styled like other clients.
|
|
It seems to be using default browser (chrome, etc.) styles.
|
|
-->
|
|
<a class="tw-font-bold" bitLink [routerLink]="registerRoute$ | async">{{
|
|
"createAccount" | i18n
|
|
}}</a>
|
|
</div>
|
|
`,
|
|
})
|
|
export class LoginSecondaryContentComponent {
|
|
registerRouteService = inject(RegisterRouteService);
|
|
|
|
// TODO: remove when email verification flag is removed
|
|
protected registerRoute$ = this.registerRouteService.registerRoute$();
|
|
}
|