fix: home page v-bind
This commit is contained in:
parent
694a0b2691
commit
00a5c8c4ca
@ -1,5 +1,6 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import type { Project } from "@/data/projects";
|
import type { Project } from "@/data/projects";
|
||||||
|
import { unref as _unref } from "vue";
|
||||||
const { project, reverse = false } = defineProps<{
|
const { project, reverse = false } = defineProps<{
|
||||||
project: Project;
|
project: Project;
|
||||||
reverse?: boolean;
|
reverse?: boolean;
|
||||||
@ -87,7 +88,7 @@ html.dark .card-text {
|
|||||||
|
|
||||||
.card-img {
|
.card-img {
|
||||||
width: 75%;
|
width: 75%;
|
||||||
background: v-bind(imgUrl);
|
background: var(--imgurl);
|
||||||
background-color: rgb(255, 237, 241);
|
background-color: rgb(255, 237, 241);
|
||||||
background-position: right 90% top 15%;
|
background-position: right 90% top 15%;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
@ -81,6 +81,4 @@ export default defineNuxtConfig({
|
|||||||
experimental: {
|
experimental: {
|
||||||
reactivityTransform: true,
|
reactivityTransform: true,
|
||||||
},
|
},
|
||||||
target: "static",
|
|
||||||
ssr: true,
|
|
||||||
});
|
});
|
||||||
|
@ -17,6 +17,7 @@ useTitle("Home");
|
|||||||
<StoryStatBox />
|
<StoryStatBox />
|
||||||
<CommitStatBox />
|
<CommitStatBox />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Services />
|
<Services />
|
||||||
<About />
|
<About />
|
||||||
</main>
|
</main>
|
||||||
|
Loading…
Reference in New Issue
Block a user