Skip to content

Commit ceec176

Browse files
authored
fix: discover image dark and light high res (#1001)
1 parent 0d6a7f3 commit ceec176

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed
524 KB
Binary file not shown.

src/assets/images/brand/discover.webp

-107 KB
Binary file not shown.
508 KB
Binary file not shown.

src/components/widgets/Tags.vue

+8-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,14 @@
3939
</article>
4040
<TagCard v-for="t in tags" :key="t" :tag="t" class="my-2 mr-4 text-lg" />
4141
</div>
42-
<img v-if="checkRoute()" :src="require(`@/assets/images/brand/discover.webp`)" />
42+
<img
43+
v-if="checkRoute()"
44+
:src="
45+
$colorMode.dark
46+
? require(`@/assets/images/brand/dark/discover.webp`)
47+
: require(`@/assets/images/brand/light/discover.webp`)
48+
"
49+
/>
4350
</article>
4451
</template>
4552

0 commit comments

Comments
 (0)