1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 05:43:41 +00:00

multiple fixes for bitwarden component (#14685)

This commit is contained in:
Jordan Aasen
2025-05-09 12:08:12 -07:00
committed by GitHub
parent e538425e7a
commit 6b6f9577f4
3 changed files with 33 additions and 12 deletions

View File

@@ -4551,6 +4551,12 @@
"downloadFromBitwardenNow": {
"message": "Download from bitwarden.com now"
},
"getItOnGooglePlay": {
"message": "Get it on Google Play"
},
"downloadOnTheAppStore": {
"message": "Download on the App Store"
},
"permanentlyDeleteAttachmentConfirmation": {
"message": "Are you sure you want to permanently delete this attachment?"
},

View File

@@ -2,7 +2,6 @@
<popup-header slot="header" pageTitle="{{ 'downloadBitwarden' | i18n }}" showBackButton>
<ng-container slot="end">
<app-pop-out></app-pop-out>
<app-current-account></app-current-account>
</ng-container>
</popup-header>
<h2 bitTypography="h6">
@@ -20,16 +19,30 @@
/>
</div>
<div class="tw-flex tw-justify-center tw-gap-4">
<div class="tw-w-[43%]">
<a href="https://apps.apple.com/app/bitwarden-password-manager/id1137397744">
<img class="tw-w-full" src="../../../images/app-store.png" alt="" />
</a>
</div>
<div class="tw-w-[43%]">
<a href="https://play.google.com/store/apps/details?id=com.x8bit.bitwarden">
<img class="tw-w-full" src="../../../images/google-play.png" alt="" />
</a>
</div>
<a
class="tw-w-[43%] !tw-py-0"
target="_blank"
href="https://apps.apple.com/app/bitwarden-password-manager/id1137397744"
bitLink
>
<img
class="tw-w-full"
src="../../../images/app-store.png"
alt="{{ 'downloadOnTheAppStore' | i18n }}"
/>
</a>
<a
class="tw-w-[43%] !tw-py-0"
target="_blank"
href="https://play.google.com/store/apps/details?id=com.x8bit.bitwarden"
bitLink
>
<img
class="tw-w-full"
src="../../../images/google-play.png"
alt="{{ 'getItOnGooglePlay' | i18n }}"
/>
</a>
</div>
</bit-card>
@@ -41,6 +54,7 @@
<a
class="tw-text-primary-600 tw-mt-4 tw-flex tw-no-underline tw-gap-2 tw-items-center"
href="https://bitwarden.com/download/#downloads-desktop"
bitLink
target="_blank"
>
{{ "downloadFromBitwardenNow" | i18n }}

View File

@@ -6,7 +6,7 @@ import { firstValueFrom } from "rxjs";
import { JslibModule } from "@bitwarden/angular/jslib.module";
import { AccountService } from "@bitwarden/common/auth/abstractions/account.service";
import { getUserId } from "@bitwarden/common/auth/services/account.service";
import { CardComponent, TypographyModule } from "@bitwarden/components";
import { CardComponent, LinkModule, TypographyModule } from "@bitwarden/components";
import { VaultNudgesService, VaultNudgeType } from "@bitwarden/vault";
import { CurrentAccountComponent } from "../../../auth/popup/account-switching/current-account.component";
@@ -27,6 +27,7 @@ import { PopupPageComponent } from "../../../platform/popup/layout/popup-page.co
CardComponent,
TypographyModule,
CurrentAccountComponent,
LinkModule,
],
})
export class DownloadBitwardenComponent implements OnInit {