fix. [SWV-829] 푸터 법인명 변경 대응

This commit is contained in:
clkim
2026-01-28 17:57:57 +09:00
parent f2bfef6078
commit 321cd0180a
2 changed files with 2 additions and 36 deletions

View File

@@ -20,33 +20,6 @@ const { tm, locale }: any = useI18n({
messages: Object(resultGetMultilingual?.value?.multilingual),
})
// Footer_caution 값이 있고 빈 객체가 아닌지 체크
const hasCautionText = computed(() => {
const value = tm('Footer_caution')
// null, undefined 체크
if (value === null || value === undefined) {
return false
}
// 빈 객체 체크
if (
typeof value === 'object' &&
!Array.isArray(value) &&
Object.keys(value).length === 0
) {
return false
}
// 문자열로 변환하여 빈 문자열 또는 '{}' 문자열 체크
const stringValue = String(value).trim()
if (stringValue === '' || stringValue === '{}') {
return false
}
return true
})
const gameDataStore = useGameDataStore()
const { gameData } = storeToRefs(gameDataStore)
// const path = ref<string>(`${staticUrl}/local/template/${gameData.value.s3_folder_name}`)
@@ -180,7 +153,7 @@ const footerAgeRatingInfo = computed((): string[] => {
</script>
<template>
<footer id="footer" ref="footerRef" class="relative px-5 sm:px-10">
<footer id="footer" class="relative px-5 sm:px-10">
<div
class="relative max-w-[1300px] mx-auto pt-4 pb-10 text-[13px] text-white/50"
>
@@ -344,13 +317,6 @@ const footerAgeRatingInfo = computed((): string[] => {
/>
</div>
<div v-if="hasCautionText" class="mt-5 hidden sm:block">
<div
v-dompurify-html="tm('Footer_caution')"
class="text-xs text-white/30"
/>
</div>
<div class="mt-5">
<span v-dompurify-html="tm('Footer_Copyright')"></span>
</div>
@@ -368,8 +334,8 @@ const footerAgeRatingInfo = computed((): string[] => {
imageType: 'common',
})
"
width="114px"
alt="스마일게이트 로고"
class="w-auto h-auto"
/>
</a>
</span>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB