mirror of
https://github.com/bitwarden/web
synced 2025-12-31 23:53:13 +00:00
Compress images u2fkey/yubikey using avif/webp (#1232)
Co-authored-by: Hinton <oscar@oscarhinton.com>
This commit is contained in:
@@ -16,7 +16,11 @@
|
||||
<div>
|
||||
<img src="../images/logo-dark@2x.png" class="logo mb-2" alt="Bitwarden" />
|
||||
<p id="webauthn-header" class="lead text-center mx-4 mb-4"></p>
|
||||
<img src="../images/u2fkey-mobile.jpg" class="rounded img-fluid" />
|
||||
<picture>
|
||||
<source srcset="../images/u2fkey-mobile.avif" type="image/avif">
|
||||
<source srcset="../images/u2fkey-mobile.webp" type="image/webp">
|
||||
<img src="../images/u2fkey-mobile.jpg" class="rounded img-fluid">
|
||||
</picture>
|
||||
<div class="text-center mt-4">
|
||||
<button id="webauthn-button" class="btn btn-primary btn-lg"></button>
|
||||
</div>
|
||||
|
||||
@@ -6,7 +6,11 @@
|
||||
</head>
|
||||
|
||||
<body style="background: transparent">
|
||||
<img src="../images/u2fkey.jpg" class="rounded img-fluid mb-3" />
|
||||
<picture>
|
||||
<source srcset="../images/u2fkey.avif" type="image/avif">
|
||||
<source srcset="../images/u2fkey.webp" type="image/webp">
|
||||
<img src="../images/u2fkey.jpg" class="rounded img-fluid mb-3">
|
||||
</picture>
|
||||
<div class="text-center">
|
||||
<button id="webauthn-button" class="btn btn-primary"></button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user