fix: unknown project image
This commit is contained in:
parent
0b0cf23796
commit
260b1f7f30
@ -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>
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
# 404 - Not Found
|
|
||||||
|
|
||||||
The page you are looking for does not exist.
|
|
Loading…
Reference in New Issue
Block a user