fix. 컴포넌트 리팩토링

This commit is contained in:
clkim
2025-09-26 13:32:23 +09:00
parent acea3418e3
commit 201815c5ac
9 changed files with 45 additions and 37 deletions

View File

@@ -5,6 +5,7 @@ interface Props {
imgPath: string
linkTarget?: string
url?: string
alt?: string
class?: string
}
@@ -18,7 +19,7 @@ const props = defineProps<Props>()
>
<img
:src="props.imgPath"
:alt="props.title"
:alt="props.title || props.alt"
class="card-image"
loading="lazy"
/>