fix. 오탈자 수정, 불필요한 함수 제거, 디자인 가이드 적용

This commit is contained in:
clkim
2025-11-03 15:49:19 +09:00
parent 07ed203c06
commit 4487d2e34f
11 changed files with 12 additions and 57 deletions

View File

@@ -3,7 +3,7 @@ BASE_DOMAIN='.onstove.com'
# URLS ############################################################################## # URLS ##############################################################################
STATIC_URL='https://static-pubcomm.gate8.com' STATIC_URL='https://static-pubcomm.gate8.com'
ASSETS_URL='https://static-pubcomm.gate8.com/dev/templates/brand' ASSETS_URL='https://static-pubcomm.gate8.com/dev/template/brand'
DATA_RESOURCE_URL='https://static-pubcomm.gate8.com/dev/test' DATA_RESOURCE_URL='https://static-pubcomm.gate8.com/dev/test'
# STOVE ############################################################################# # STOVE #############################################################################

View File

@@ -3,7 +3,7 @@ BASE_DOMAIN='.onstove.com'
# URLS ############################################################################## # URLS ##############################################################################
STATIC_URL='https://static-pubcomm.onstove.com' STATIC_URL='https://static-pubcomm.onstove.com'
ASSETS_URL='https://static-pubcomm.onstove.com/live/templates/brand' ASSETS_URL='https://static-pubcomm.onstove.com/live/template/brand'
DATA_RESOURCE_URL='https://static-pubcomm.onstove.com/live/test' DATA_RESOURCE_URL='https://static-pubcomm.onstove.com/live/test'
# STOVE ############################################################################# # STOVE #############################################################################

View File

@@ -3,7 +3,7 @@ BASE_DOMAIN='.onstove.com'
# URLS ############################################################################## # URLS ##############################################################################
STATIC_URL='https://static-pubcomm.gate8.com' STATIC_URL='https://static-pubcomm.gate8.com'
ASSETS_URL='https://static-pubcomm.gate8.com/qa/templates/brand' ASSETS_URL='https://static-pubcomm.gate8.com/qa/template/brand'
DATA_RESOURCE_URL='https://static-pubcomm.gate8.com/qa/test' DATA_RESOURCE_URL='https://static-pubcomm.gate8.com/qa/test'
# STOVE ############################################################################# # STOVE #############################################################################

View File

@@ -3,7 +3,7 @@ BASE_DOMAIN='.gate8.com'
# URLS ############################################################################## # URLS ##############################################################################
STATIC_URL='https://static-pubcomm.gate8.com' STATIC_URL='https://static-pubcomm.gate8.com'
ASSETS_URL='https://static-pubcomm.gate8.com/sandbox/templates/brand' ASSETS_URL='https://static-pubcomm.gate8.com/sandbox/template/brand'
DATA_RESOURCE_URL='https://static-pubcomm.gate8.com/sandbox/test' DATA_RESOURCE_URL='https://static-pubcomm.gate8.com/sandbox/test'
# STOVE ############################################################################# # STOVE #############################################################################

View File

@@ -9,7 +9,7 @@ const currentLayout = computed(() => getLayoutType(pageData.value))
definePageMeta({ definePageMeta({
layout: false, // 동적 레이아웃을 위해 기본 레이아웃 비활성화 layout: false, // 동적 레이아웃을 위해 기본 레이아웃 비활성화
middleware: ['inspection'] middleware: ['inspection'],
}) })
</script> </script>

View File

@@ -9,7 +9,7 @@ const currentLayout = computed(() => getLayoutType(pageData.value))
definePageMeta({ definePageMeta({
layout: false, // 동적 레이아웃을 위해 기본 레이아웃 비활성화 layout: false, // 동적 레이아웃을 위해 기본 레이아웃 비활성화
middleware: ['inspection'] middleware: ['inspection'],
}) })
</script> </script>

View File

@@ -9,6 +9,7 @@ const currentLayout = computed(() => getLayoutType(pageData.value))
definePageMeta({ definePageMeta({
layout: false, // 동적 레이아웃을 위해 기본 레이아웃 비활성화 layout: false, // 동적 레이아웃을 위해 기본 레이아웃 비활성화
middleware: ['inspection'],
}) })
</script> </script>

View File

@@ -13,7 +13,7 @@
@apply overflow-hidden relative pt-[32px] pb-[80px] px-[20px] sm:px-[40px] md:pt-[64px] md:pb-[200px] bg-[#F0F0F0]; @apply overflow-hidden relative pt-[32px] pb-[80px] px-[20px] sm:px-[40px] md:pt-[64px] md:pb-[200px] bg-[#F0F0F0];
} }
.section-static { .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 { .section-static + .section-static {
@apply mt-[80px] md:mt-[100px]; @apply mt-[80px] md:mt-[100px];

View File

@@ -20,7 +20,7 @@ const imageSrc = computed(() => {
:style="{ backgroundImage: `url(${imageSrc})` }" :style="{ backgroundImage: `url(${imageSrc})` }"
> >
<h2 <h2
class="flex justify-center items-center w-full max-w-[684px] md:max-w-[944px] md:justify-start lg:max-w-[1300px]" class="flex justify-center items-center w-full max-w-full md:justify-start md:max-w-[1300px]"
> >
<span <span
class="flex justify-center items-center text-white text-[20px] font-bold tracking-[-0.6px] leading-[30px] md:text-[32px] md:leading-[44px] md:tracking-[-0.96px]" class="flex justify-center items-center text-white text-[20px] font-bold tracking-[-0.6px] leading-[30px] md:text-[32px] md:leading-[44px] md:tracking-[-0.96px]"

View File

@@ -135,7 +135,7 @@ const handleMoveFocus = (target: 'pc' | 'mobile') => {
:resources-data="backgroundData" :resources-data="backgroundData"
/> />
<div class="section-container static overflow-hidden"> <div class="section-container static">
<section class="section-static"> <section class="section-static">
<WidgetsFixSubTitle :title="tm('Download_Section_Platform_Title')" /> <WidgetsFixSubTitle :title="tm('Download_Section_Platform_Title')" />
@@ -154,7 +154,7 @@ const handleMoveFocus = (target: 'pc' | 'mobile') => {
padding: { left: 0, right: 0 }, padding: { left: 0, right: 0 },
}, },
}" }"
class="min-w-[320px] w-[100vw] px-[20px] ml-[-20px] sm:px-[calc((100vw-100%-80px)/2)] sm:ml-[calc((100vw-100%-80px)/-2)] md:w-full md:px-0 md:ml-0" class="min-w-[320px] w-[100vw] px-[20px] ml-[-20px] sm:px-[40px] sm:ml-[-40px] md:w-full md:px-0 md:ml-0"
> >
<SplideSlide <SplideSlide
v-for="platform in platformList" v-for="platform in platformList"

View File

@@ -145,52 +145,6 @@ export const getImagePaths = (resourcesData: PageDataResourceGroup) => {
} }
} }
export const formatDateOffset = ({
ts,
lang,
useSeconds,
useTimezone
}: {
ts: number
lang: string
useSeconds?: boolean
useTimezone?: boolean
}) => {
const offset = { ko: 9, ja: 9, 'zh-tw': 8, en: 0 }[lang] || 0
const date = new Date(ts + offset * 3600000)
const pad = (n: number) => String(n).padStart(2, '0')
const year = date.getUTCFullYear()
const month = date.getUTCMonth() + 1
const day = date.getUTCDate()
const hours = date.getUTCHours()
const minutes = date.getUTCMinutes()
const seconds = date.getUTCSeconds()
if (lang === 'ko') {
let format = `${year}-${pad(month)}-${pad(day)} ${pad(hours)}:${pad(minutes)}`
format += useSeconds ? `:${pad(seconds)}` : ''
format += useTimezone ? ' (KST)' : ''
return `${format}`
} else if (lang === 'zh-tw') {
let format = `${year}-${pad(month)}-${pad(day)} ${pad(hours)}:${pad(minutes)}`
format += useSeconds ? `:${pad(seconds)}` : ''
format += useTimezone ? ` (UTC${offset > 0 ? '+' + offset : ''})` : ''
return `${format}`
} else if (lang === 'ja') {
let format = `${year}-${pad(month)}-${pad(day)} ${pad(hours)}:${pad(minutes)}`
format += useSeconds ? `:${pad(seconds)}` : ''
format += useTimezone ? ' (日本時間)' : ''
return `${format}`
} else {
//= en
let format = `${pad(month)}/${pad(day)}/${year} ${pad(hours)}:${pad(minutes)}`
format += useSeconds ? `:${pad(seconds)}` : ''
format += useTimezone ? ' (UTC)' : ''
return `${format}`
}
}
/** /**
* 컴포넌트 그룹의 첫 번째 데이터를 반환합니다. * 컴포넌트 그룹의 첫 번째 데이터를 반환합니다.
* @param components props.components 또는 group 객체 * @param components props.components 또는 group 객체
@@ -204,4 +158,4 @@ export const getComponentGroup = (
if (!components) return null if (!components) return null
return components[componentName]?.groups?.[0] || null return components[componentName]?.groups?.[0] || null
} }