From d356ed4dbf7b59ec1dc36efe82eb5879657b7954 Mon Sep 17 00:00:00 2001 From: eggy Date: Wed, 10 Aug 2022 18:34:01 -0400 Subject: [PATCH] fix: math --- components/ProjectCard.vue | 2 +- composables/metadata.ts | 11 ++++++++++- pages/[...slug].vue | 4 ++-- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/components/ProjectCard.vue b/components/ProjectCard.vue index dfba107..aa42ab1 100644 --- a/components/ProjectCard.vue +++ b/components/ProjectCard.vue @@ -5,7 +5,7 @@ const { project, reverse = false } = defineProps<{ reverse?: boolean; }>(); -const imgUrl = `url(/images/projects/${project.img ?? ""})`; +const imgUrl = `url(/images/projects/${project.img ?? "unknown.png"})`;