fix: unknown project image

This commit is contained in:
eggy 2022-08-10 19:46:02 -04:00
parent 0b0cf23796
commit 260b1f7f30
2 changed files with 1 additions and 4 deletions

View File

@ -5,7 +5,7 @@ const { project, reverse = false } = defineProps<{
reverse?: boolean; reverse?: boolean;
}>(); }>();
const imgUrl = `url(/images/projects/${project.img ?? "unknown.png"})`; const imgUrl = project.img ? `url(/images/projects/${project.img})` : "none";
</script> </script>
<template> <template>

View File

@ -1,3 +0,0 @@
# 404 - Not Found
The page you are looking for does not exist.