fix: home page v-bind

This commit is contained in:
eggy 2022-08-10 20:12:06 -04:00
parent 694a0b2691
commit 00a5c8c4ca
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -81,6 +81,4 @@ export default defineNuxtConfig({
experimental: { experimental: {
reactivityTransform: true, reactivityTransform: true,
}, },
target: "static",
ssr: true,
}); });

View File

@ -17,6 +17,7 @@ useTitle("Home");
<StoryStatBox /> <StoryStatBox />
<CommitStatBox /> <CommitStatBox />
</div> </div>
<Services /> <Services />
<About /> <About />
</main> </main>