Skip to content

Commit d4ef09a

Browse files
committed
chore(img): update img usage
1 parent 980da01 commit d4ef09a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

components/AppHeader.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ const show = ref(false)
2222

2323
<div class="logo">
2424
<NuxtLink v-if="alpine.header.logo" to="/">
25-
<img class="dark-img" :src="alpine.header.logo.pathDark" :alt="alpine.header.logo.alt">
26-
<img class="light-img" :src="alpine.header.logo.path" :alt="alpine.header.logo.alt">
25+
<ProseImg class="dark-img" :src="alpine.header.logo.pathDark" :alt="alpine.header.logo.alt" />
26+
<ProseImg class="light-img" :src="alpine.header.logo.path" :alt="alpine.header.logo.alt" />
2727
</NuxtLink>
2828
<NuxtLink v-else to="/" class="fallback">
2929
{{ alpine.title }}

components/content/ArticlesListItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ defineProps({
2525
<template>
2626
<article v-if="article._path && article.title" :class="{ 'featured': featured }">
2727
<NuxtLink :to="article._path">
28-
<img v-if="article.cover" :src="article.cover">
28+
<ProseImg v-if="article.cover" :src="article.cover" />
2929
</NuxtLink>
3030

3131
<div class="content">

0 commit comments

Comments
 (0)