feat. GrVisual03 임시 제작

This commit is contained in:
clkim
2025-09-10 20:19:52 +09:00
parent 56a1a50312
commit 060517e9ad
7 changed files with 123 additions and 40 deletions

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import { getResponsiveSrc, getResponsiveClass } from "#layers/utils/dataUtil";
import { getAssetPathArray, getResponsiveSrc } from "#layers/utils/dataUtil";
import type { PageDataComponent } from "#layers/types/api/pageData";
const props = defineProps<{ componentData: PageDataComponent }>();
@@ -8,12 +8,14 @@ const resources = computed(() => {
return props.componentData?.resources;
});
const imageSrc = getResponsiveSrc({
const imgPathArray = getAssetPathArray({
resources: resources.value,
type: "bg",
test: "test",
});
const imageSrc = getResponsiveSrc({
pathArray: imgPathArray,
type: "bg",
});
</script>
<template>