diff --git a/frontend/src/assets/hdr10plus-logo.png b/frontend/src/assets/hdr10plus-logo.png new file mode 100644 index 0000000..bb51d5f Binary files /dev/null and b/frontend/src/assets/hdr10plus-logo.png differ diff --git a/frontend/src/components/ReleaseVersionCard.vue b/frontend/src/components/ReleaseVersionCard.vue index 64086aa..9afa40f 100644 --- a/frontend/src/components/ReleaseVersionCard.vue +++ b/frontend/src/components/ReleaseVersionCard.vue @@ -19,7 +19,6 @@
{{ torrent.resolution }} HDR - HDR10+ {{ displayCodecBadge }} {{ displayQualityBadge }} {{ displayAudioBadge }} @@ -58,6 +57,12 @@ :alt="streamingServiceLogo.alt" :title="streamingServiceLogo.alt" /> + { return hdr10PlusPattern.test(text) }) -const showHdr10PlusBadge = computed(() => hasHdr10Plus.value && !hasDolbyVision.value) +const showHdr10PlusLogo = computed(() => hasHdr10Plus.value && !hasDolbyVision.value) const isSelectable = computed(() => { if (props.selectable !== undefined) return props.selectable @@ -513,6 +519,15 @@ html.mouse-active .version-row.version-best:hover { object-fit: contain; } +.version-hdr10plus-logo { + align-self: stretch; + display: block; + width: auto; + height: 100%; + max-height: 100%; + object-fit: contain; +} + .v-badge.res { background: #111111; color: #f8fafc; @@ -538,11 +553,6 @@ html.mouse-active .version-row.version-best:hover { color: #1c1917; } -.v-badge.hdr10plus { - background: #b8860b; - color: #fff8e1; -} - .v-badge.group { background: #1c54a1; color: #f8fafc;