From 260b1f7f307cc66106b6256f9c05a78458a39c8f Mon Sep 17 00:00:00 2001 From: eggy Date: Wed, 10 Aug 2022 19:46:02 -0400 Subject: [PATCH] fix: unknown project image --- components/ProjectCard.vue | 2 +- content/404.md | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 content/404.md diff --git a/components/ProjectCard.vue b/components/ProjectCard.vue index aa42ab1..f670637 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 ?? "unknown.png"})`; +const imgUrl = project.img ? `url(/images/projects/${project.img})` : "none";