From 4847db48c61c1fa7db45d12cbd7af60dc0ee33c7 Mon Sep 17 00:00:00 2001 From: clkim Date: Mon, 3 Nov 2025 11:17:27 +0900 Subject: [PATCH] =?UTF-8?q?fix.=20=EB=8B=A4=EA=B5=AD=EC=96=B4=20dataResour?= =?UTF-8?q?cesUrl=EA=B2=BD=EB=A1=9C=20env=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.dev | 2 ++ .env.live | 2 ++ .env.qa | 2 ++ .env.sandbox | 2 ++ layers/assets/css/components/_layout.css | 2 +- layers/templates/FxDownload01/index.vue | 8 +++----- layers/utils/styleUtil.ts | 6 ++---- nuxt.config.ts | 2 ++ 8 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.env.dev b/.env.dev index 902285f..eb44631 100644 --- a/.env.dev +++ b/.env.dev @@ -3,6 +3,8 @@ BASE_DOMAIN='.onstove.com' # URLS ############################################################################## STATIC_URL='https://static-pubcomm.gate8.com' +ASSETS_URL='https://static-pubcomm.gate8.com/dev/templates/brand' +DATA_RESOURCE_URL='https://static-pubcomm.gate8.com/dev/test' # STOVE ############################################################################# # STOVE - API Url diff --git a/.env.live b/.env.live index f6ea327..9b48326 100644 --- a/.env.live +++ b/.env.live @@ -3,6 +3,8 @@ BASE_DOMAIN='.onstove.com' # URLS ############################################################################## STATIC_URL='https://static-pubcomm.onstove.com' +ASSETS_URL='https://static-pubcomm.onstove.com/live/templates/brand' +DATA_RESOURCE_URL='https://static-pubcomm.onstove.com/live/test' # STOVE ############################################################################# # STOVE - API Url diff --git a/.env.qa b/.env.qa index 4a586e2..157e09c 100644 --- a/.env.qa +++ b/.env.qa @@ -3,6 +3,8 @@ BASE_DOMAIN='.onstove.com' # URLS ############################################################################## STATIC_URL='https://static-pubcomm.gate8.com' +ASSETS_URL='https://static-pubcomm.gate8.com/qa/templates/brand' +DATA_RESOURCE_URL='https://static-pubcomm.gate8.com/qa/test' # STOVE ############################################################################# # STOVE - API Url diff --git a/.env.sandbox b/.env.sandbox index baf4b74..eeb961e 100644 --- a/.env.sandbox +++ b/.env.sandbox @@ -3,6 +3,8 @@ BASE_DOMAIN='.gate8.com' # URLS ############################################################################## STATIC_URL='https://static-pubcomm.gate8.com' +ASSETS_URL='https://static-pubcomm.gate8.com/sandbox/templates/brand' +DATA_RESOURCE_URL='https://static-pubcomm.gate8.com/sandbox/test' # STOVE ############################################################################# # STOVE - API Url diff --git a/layers/assets/css/components/_layout.css b/layers/assets/css/components/_layout.css index a2d7450..7185527 100644 --- a/layers/assets/css/components/_layout.css +++ b/layers/assets/css/components/_layout.css @@ -13,7 +13,7 @@ @apply relative pt-[32px] pb-[80px] px-[20px] sm:px-[40px] md:pt-[64px] md:pb-[200px] bg-[#F0F0F0]; } .section-static { - @apply mx-auto max-w-[684px] md:max-w-[944px] lg:max-w-[1300px]; + @apply mx-auto lg:max-w-[1300px]; } .section-static + .section-static { @apply mt-[80px] md:mt-[100px]; diff --git a/layers/templates/FxDownload01/index.vue b/layers/templates/FxDownload01/index.vue index 8dfe727..a3d91fb 100644 --- a/layers/templates/FxDownload01/index.vue +++ b/layers/templates/FxDownload01/index.vue @@ -15,14 +15,12 @@ const props = defineProps() // Configuration const runtimeConfig = useRuntimeConfig() -const runType = runtimeConfig.public.runType -const staticUrl = runtimeConfig.public.staticUrl -const multilingualBaseApiUrl = `${staticUrl}/${runType}/test` +const dataResourcesUrl = runtimeConfig.public.dataResourcesUrl const multilingualFileName = 'test_homepage_brand_download.json' // Multilingual const resultGetMultilingual = await useGetMultilingual({ - baseApiUrl: multilingualBaseApiUrl, + baseApiUrl: dataResourcesUrl, fileName: multilingualFileName, }) const { tm, locale }: any = useI18n({ @@ -158,7 +156,7 @@ const handleMoveFocus = (target: 'pc' | 'mobile') => { padding: { left: 0, right: 0 }, }, }" - class="overflow-hidden w-[100vw] px-[20px] ml-[-20px] mt-[16px] sm:px-[40px] sm:ml-[-40px] md:w-full md:px-0 md:mt-[24px] md:ml-0" + class="overflow-hidden min-w-[320px] w-[100vw] px-[20px] ml-[-20px] sm:px-[40px] sm:ml-[-40px] md:w-full md:px-0 md:ml-0" >