feat(web): add cover images to individual shares (#9988)

* feat(web): add cover images to individual shares

* Update wording in share modal

* Use translation function

* Add and use new translations

* Fix formatting

* Update with suggestions

* Update test language

* Update test and language file per suggestions

* Fix formatting

* Remove unused translation
This commit is contained in:
Snowknight26 2024-06-14 18:16:48 -05:00 committed by GitHub
parent 78f600ebce
commit aea1c46bea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 214 additions and 30 deletions

View file

@ -0,0 +1,16 @@
<script lang="ts">
export let alt;
export let preload = false;
export let src: string;
let className = '';
export { className as class };
</script>
<img
{alt}
class="z-0 rounded-xl object-cover {className}"
data-testid="album-image"
draggable="false"
loading={preload ? 'eager' : 'lazy'}
{src}
/>