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" >