fix. 폴더 구조 변경

This commit is contained in:
clkim
2025-09-16 14:01:34 +09:00
parent b8eecf8f15
commit 468a08bb91
10 changed files with 12 additions and 12 deletions

View File

@@ -0,0 +1,31 @@
<script setup lang="ts">
import { getResourcesData, getResponsiveSrc } from '#layers/utils/dataUtil'
import type { PageDataComponent } from '#layers/types/api/pageData'
const props = defineProps<{
componentData: PageDataComponent
groupSets?: boolean
}>()
const resourcesData = computed(() => {
return getResourcesData({
resources: props.componentData?.resources,
groupSets: props.groupSets,
})
})
const displayText = resourcesData.value?.display?.txt
const imageSrc = getResponsiveSrc(resourcesData.value?.res_path)
</script>
<template>
<MoleculesVisualContent
tag="p"
:text="displayText"
:image-src="imageSrc as any"
image-class="w-full"
:style="{
color: '#000000',
}"
/>
</template>