fix🐛: update dark image
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
43f7050cf9
commit
7ea03f238a
|
@ -4,7 +4,6 @@ import { ref } from 'vue'
|
|||
import {t, routerPath} from '../locale'
|
||||
|
||||
const { lang, isDark } = useData()
|
||||
console.log(lang, isDark, useData())
|
||||
|
||||
const subDate = ref('month')
|
||||
const price = ref({
|
||||
|
@ -116,9 +115,20 @@ const price = ref({
|
|||
:delay="500"
|
||||
:duration="400"
|
||||
class="mt-20 mb-10"
|
||||
v-if="isDark"
|
||||
>
|
||||
<img v-if="!isDark" src="/img/site/home_light.png" class="rounded-2 shadow-[var(--vp-c-shadow)]"lt="">
|
||||
<img v-else src="/img/site/home_dark.png" class="rounded-2 shadow-[var(--vp-c-shadow)]"lt="">
|
||||
<img src="/img/site/home_dark.png" class="rounded-2 shadow-[var(--vp-c-shadow)]"lt="">
|
||||
</div>
|
||||
<div
|
||||
v-motion
|
||||
:initial="{ opacity: 0, y: 100 }"
|
||||
:enter="{ opacity: 1, y: 0, scale: 1 }"
|
||||
:delay="500"
|
||||
:duration="400"
|
||||
class="mt-20 mb-10"
|
||||
v-if="!isDark"
|
||||
>
|
||||
<img src="/img/site/home_light.png" class="rounded-2 shadow-[var(--vp-c-shadow)]"lt="">
|
||||
</div>
|
||||
|
||||
<div
|
||||
|
|
Loading…
Reference in New Issue