We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18e3ddc commit 8b2c40bCopy full SHA for 8b2c40b
components/OgImage/ShadcnDocs.vue
@@ -5,8 +5,8 @@
5
:style="`background-size: 120px 120px; background-image: linear-gradient(to right, ${colorMode === 'light' ? '#e5e7eb' : '#27272a'} 1px, transparent 1px), linear-gradient(to bottom, ${colorMode === 'light' ? '#e5e7eb' : '#27272a'} 1px, transparent 1px);`"
6
>
7
<div class="mb-4 flex">
8
- <img v-if="colorMode === 'light'" :src="logo.light" height="65" />
9
- <img v-else :src="logo.dark" height="65" />
+ <NuxtImg v-if="colorMode === 'light'" :src="logo.light" height="65" />
+ <NuxtImg v-else :src="logo.dark" height="65" />
10
<span
11
v-if="showTitle && siteTitle"
12
class="ml-4 self-center text-4xl font-bold"
0 commit comments