diff --git a/.env.dev b/.env.dev index eb44631..611dd74 100644 --- a/.env.dev +++ b/.env.dev @@ -13,7 +13,7 @@ STOVE_API_URL_SERVERL=https://i-api-dev.onstove.com STOVE_M_API_URL=https://maintenance.gate8.com # STOVE - GNB -STOVE_GNB=https://js-cdn-dev.onstove.com/libs/common-gnb/latest/cp-header.js +STOVE_GNB=https://js-cdn-dev.onstove.com/libs/common-gnb/latest/stove-gnb.js # STOVE - Client Download STOVE_LAUNCHER_SCRIPT=https://js-cdn.gate8.com/libs/stove-js-service/latest/launcher-pack.js diff --git a/.env.live b/.env.live index 9b48326..a3fdb0e 100644 --- a/.env.live +++ b/.env.live @@ -13,7 +13,7 @@ STOVE_API_URL_SERVERL=https://i-api.onstove.com STOVE_M_API_URL=https://maintenance.onstove.com # STOVE - GNB -STOVE_GNB=https://js-cdn.onstove.com/libs/common-gnb/latest/cp-header.js +STOVE_GNB=https://js-cdn.onstove.com/libs/common-gnb/latest/stove-gnb.js # STOVE - Client Download STOVE_LAUNCHER_SCRIPT=https://js-cdn.onstove.com/libs/stove-js-service/latest/launcher-pack.js diff --git a/.env.qa b/.env.qa index 157e09c..fb23f95 100644 --- a/.env.qa +++ b/.env.qa @@ -13,7 +13,7 @@ STOVE_API_URL_SERVERL=https://i-api.gate8.com STOVE_M_API_URL=https://maintenance.gate8.com # STOVE - GNB -STOVE_GNB=https://js-cdn-qa.onstove.com/libs/common-gnb/latest/cp-header.js +STOVE_GNB=https://js-cdn-qa.onstove.com/libs/common-gnb/latest/stove-gnb.js # STOVE - Client Download STOVE_LAUNCHER_SCRIPT=https://js-cdn.gate8.com/libs/stove-js-service/latest/launcher-pack.js diff --git a/.env.sandbox b/.env.sandbox index eeb961e..fa3249e 100644 --- a/.env.sandbox +++ b/.env.sandbox @@ -13,7 +13,7 @@ STOVE_API_URL_SERVERL=https://i-api.gate8.com STOVE_M_API_URL=https://maintenance.gate8.com # STOVE - GNB -STOVE_GNB=https://js-cdn.gate8.com/libs/common-gnb/latest/cp-header.js +STOVE_GNB=https://js-cdn.gate8.com/libs/common-gnb/latest/stove-gnb.js # STOVE - Client Download STOVE_LAUNCHER_SCRIPT=https://js-cdn.gate8.com/libs/stove-js-service/latest/launcher-pack.js diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..67673ab --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +@seed-next:registry=https://git.sginfra.net/api/v4/groups/4424/-/packages/npm/ +# @stove-ui:registry=https://git.sginfra.net/api/v4/projects/557/packages/npm/ diff --git a/.nvmrc b/.nvmrc index 7af24b7..3bee07e 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1,2 @@ 22.11.0 + diff --git a/app/pages/[d1]/[d2]/[d3].vue b/app/pages/[d1]/[d2]/[d3].vue index dceae28..6d1ae69 100644 --- a/app/pages/[d1]/[d2]/[d3].vue +++ b/app/pages/[d1]/[d2]/[d3].vue @@ -9,6 +9,7 @@ const currentLayout = computed(() => getLayoutType(pageData.value)) definePageMeta({ layout: false, // 동적 레이아웃을 위해 기본 레이아웃 비활성화 + middleware: ['inspection'] }) diff --git a/app/pages/[d1]/[d2]/index.vue b/app/pages/[d1]/[d2]/index.vue index dceae28..6d1ae69 100644 --- a/app/pages/[d1]/[d2]/index.vue +++ b/app/pages/[d1]/[d2]/index.vue @@ -9,6 +9,7 @@ const currentLayout = computed(() => getLayoutType(pageData.value)) definePageMeta({ layout: false, // 동적 레이아웃을 위해 기본 레이아웃 비활성화 + middleware: ['inspection'] }) diff --git a/app/pages/error.vue b/app/pages/error.vue new file mode 100644 index 0000000..6de5f13 --- /dev/null +++ b/app/pages/error.vue @@ -0,0 +1,95 @@ + + + + \ No newline at end of file diff --git a/app/pages/index.vue b/app/pages/index.vue index dceae28..a151a5c 100644 --- a/app/pages/index.vue +++ b/app/pages/index.vue @@ -7,6 +7,7 @@ const { pageData } = storeToRefs(pageDataStore) const currentLayout = computed(() => getLayoutType(pageData.value)) + definePageMeta({ layout: false, // 동적 레이아웃을 위해 기본 레이아웃 비활성화 }) diff --git a/app/pages/inspection/index.vue b/app/pages/inspection/index.vue new file mode 100644 index 0000000..f3ba325 --- /dev/null +++ b/app/pages/inspection/index.vue @@ -0,0 +1,380 @@ + + + + + diff --git a/error.vue b/error.vue new file mode 100644 index 0000000..2509015 --- /dev/null +++ b/error.vue @@ -0,0 +1,95 @@ + + + + \ No newline at end of file diff --git a/i18n/locales/ko.ts b/i18n/locales/ko.ts index e7f3c28..7074d95 100644 --- a/i18n/locales/ko.ts +++ b/i18n/locales/ko.ts @@ -1,10 +1,11 @@ export default defineI18nLocale(async (locale: string) => { //https://static-pubcomm.gate8.com/dev/test/multilingual/test_common_template.json?20251021185116 - const config = useRuntimeConfig() - const rootPath = config.public.staticUrl - const runType = config.public.runType + // const config = useRuntimeConfig() + // const rootPath = config.public.staticUrl + // const runType = config.public.runType - const translationApi = `${rootPath}/${runType}/test/multilingual/test_common_template.json` + // const translationApi = `${rootPath}/${runType}/test/multilingual/test_common_template.json` + const translationApi = `https://static-pubcomm.gate8.com/dev/test/multilingual/test_common_template.json` try { const { data } = await useFetch(translationApi, { @@ -15,7 +16,7 @@ export default defineI18nLocale(async (locale: string) => { }) // API 데이터에서 locale에 맞는 데이터를 추출 - const apiData = data.value?.[locale] || {} // locale에 맞는 데이터가 없으면 빈 객체 반환 + const apiData = data.value?.['ko'] || {} // locale에 맞는 데이터가 없으면 빈 객체 반환 // API 데이터와 common.json 데이터를 병합 (common.json이 우선순위) const finalResult = { ...apiData } diff --git a/layers/components/blocks/LanguageSwitcher.vue b/layers/components/blocks/LanguageSwitcher.vue index 245d386..c5bcc03 100644 --- a/layers/components/blocks/LanguageSwitcher.vue +++ b/layers/components/blocks/LanguageSwitcher.vue @@ -1,66 +1,164 @@ + \ No newline at end of file diff --git a/layers/components/blocks/StoveGnbNew.vue b/layers/components/blocks/StoveGnbNew.vue new file mode 100644 index 0000000..996902d --- /dev/null +++ b/layers/components/blocks/StoveGnbNew.vue @@ -0,0 +1,61 @@ + + \ No newline at end of file diff --git a/layers/components/layouts/Footer.vue b/layers/components/layouts/Footer.vue index 51c4c30..936d456 100644 --- a/layers/components/layouts/Footer.vue +++ b/layers/components/layouts/Footer.vue @@ -24,12 +24,12 @@
  • -

    {{ tm('Footer_AgeRating') }}

    +

    {{ footerAgeRating }}