fix. 대체 텍스트 수정

This commit is contained in:
clkim
2025-11-05 13:11:06 +09:00
parent 6518695096
commit 49442f7760
6 changed files with 4 additions and 12 deletions

View File

@@ -14,9 +14,7 @@ const props = withDefaults(defineProps<Props>(), {
})
const imagePaths = computed(() => getImagePaths(props.resourcesData))
const displayText = computed(
() => props.resourcesData?.display?.text || 'image'
)
const displayText = computed(() => props.resourcesData?.display?.text)
const colorName = computed(() => props.resourcesData?.display?.color_name)
const colorCode = computed(() => props.resourcesData?.display?.color_code)

View File

@@ -31,7 +31,7 @@ const imageClasses = computed(() => [
props.size === 'contain' ? 'bg-contain' : 'bg-cover',
])
const gradientClasses = computed(() => [
'absolute bottom-0 left-0 right-0',
'absolute bottom-[-2px] left-[-2px] right-[-2px]',
props.gradient,
])

View File

@@ -23,8 +23,5 @@ const handleVideoPlayClick = () => {
</script>
<template>
<AtomsButtonPlay
:resources-data="resourcesData"
@click="handleVideoPlayClick"
/>
<AtomsButtonPlay @click="handleVideoPlayClick" />
</template>