fix. 에러 수정

This commit is contained in:
clkim
2025-09-16 13:30:07 +09:00
parent 726a03ba5c
commit 5cf129f0a0
2 changed files with 64 additions and 53 deletions

View File

@@ -106,10 +106,10 @@
<div class="address-area mt-6">
<address class="not-italic text-gray-500">
<div class="row my-1.5">
<span
<!-- <span
v-dompurify-html="footerData.footer_info"
class="[&_a]:cursor-pointer [&_a]:text-blue-500 [&_a]:underline"
></span>
></span> -->
</div>
</address>
</div>
@@ -160,85 +160,85 @@
</template>
<script setup lang="ts">
const { locale } = useI18n();
const { locale } = useI18n()
interface FooterMenuType {
id: string;
title: string;
link: string;
target: string;
active: string;
highlight?: string;
id: string
title: string
link: string
target: string
active: string
highlight?: string
}
const footerLinks = ref<FooterMenuType[]>([
{
id: "company",
title: "회사소개",
link: "#",
target: "_blank",
active: "n",
id: 'company',
title: '회사소개',
link: '#',
target: '_blank',
active: 'n',
},
{
id: "terms",
title: "이용약관",
link: "https://common.game.onstove.com/terms/index?gameType=SG&termsType=1&langCode=@m{Terms_Lang_Code}",
target: "_blank",
active: "n",
id: 'terms',
title: '이용약관',
link: 'https://common.game.onstove.com/terms/index?gameType=SG&termsType=1&langCode=@m{Terms_Lang_Code}',
target: '_blank',
active: 'n',
},
{
id: "privacy",
title: "개인정보처리방침",
link: "https://clause.onstove.com/stove/terms?category=privacy",
target: "_blank",
active: "y",
id: 'privacy',
title: '개인정보처리방침',
link: 'https://clause.onstove.com/stove/terms?category=privacy',
target: '_blank',
active: 'y',
},
{
id: "operation",
title: "운영정책",
link: "https://common.game.onstove.com/terms/index?gameType=CZN&termsType=3&langCode=@m{Terms_Lang_Code}",
target: "_blank",
active: "n",
id: 'operation',
title: '운영정책',
link: 'https://common.game.onstove.com/terms/index?gameType=CZN&termsType=3&langCode=@m{Terms_Lang_Code}',
target: '_blank',
active: 'n',
},
{
id: "fund",
title: "청소년보호정책",
link: "https://common.game.onstove.com/terms/index?gameType=CZN&termsType=6&langCode=ja",
target: "_blank",
active: "n",
id: 'fund',
title: '청소년보호정책',
link: 'https://common.game.onstove.com/terms/index?gameType=CZN&termsType=6&langCode=ja',
target: '_blank',
active: 'n',
},
{
id: "customerService",
title: "게임 이용 등급",
link: "https://cs.onstove.com/@m{Terms_Lang_Code}/service/STOVE_CHAOSZERO",
target: "_blank",
active: "n",
id: 'customerService',
title: '게임 이용 등급',
link: 'https://cs.onstove.com/@m{Terms_Lang_Code}/service/STOVE_CHAOSZERO',
target: '_blank',
active: 'n',
},
] as FooterMenuType[]);
] as FooterMenuType[])
const footerData = ref({
dev_ci_url:
"https://static-pubcomm.gate8.com/local/template/l9/common/logo_smilegate.png",
'https://static-pubcomm.gate8.com/local/template/l9/common/logo_smilegate.png',
dev_ci_url2:
"https://static-pubcomm.gate8.com/local/template/l9/common/logo_nx3.png",
'https://static-pubcomm.gate8.com/local/template/l9/common/logo_nx3.png',
game_rating_image_url:
"https://static-pubcomm.gate8.com/local/template/l9/common/grades_age/Type15.svg",
'https://static-pubcomm.gate8.com/local/template/l9/common/grades_age/Type15.svg',
use_dev_ci_url: true,
fund_display_yn: true,
use_game_rating: true,
fund_display_url: "https://testgame.com/law/fund-ko",
fund_display_url: 'https://testgame.com/law/fund-ko',
game_rating_info: {
title: "테스트 게임",
reg_no: "R-2024-7890",
prod_date: "2024-05-01",
rating_type: "15",
company_name: "테스트엔터테인먼트",
content_info: "1,2,3,",
rating_grade: "15세 이용가",
rating_class_no: "2024-123456",
title: '테스트 게임',
reg_no: 'R-2024-7890',
prod_date: '2024-05-01',
rating_type: '15',
company_name: '테스트엔터테인먼트',
content_info: '1,2,3,',
rating_grade: '15세 이용가',
rating_class_no: '2024-123456',
},
footer_info:
"(주)스마일게이트홀딩스 메가포트지점 대표: 성준호<br>주소: 경기도 성남시 분당구 분당로 55, 7층 (서현동 분당 퍼스트타워)<br>통신판매업 신고번호: 제2023-성남분당A-0145호<br>사업자등록번호: 813-85-02492<br>E-mail: <a href='mailto:help@smilegate.com'>help@smilegate.com</a><br>TEL: 1670-0399",
});
})
</script>
<style scoped>

11
pnpm-lock.yaml generated
View File

@@ -48,6 +48,9 @@ importers:
'@nuxtjs/tailwindcss':
specifier: ^6.14.0
version: 6.14.0(magicast@0.3.5)
'@types/dompurify':
specifier: ^3.2.0
version: 3.2.0
'@types/node':
specifier: ^24.3.0
version: 24.3.1
@@ -1447,6 +1450,10 @@ packages:
'@tybys/wasm-util@0.10.0':
resolution: {integrity: sha512-VyyPYFlOMNylG45GoAe0xDoLwWuowvf92F9kySqzYh8vmYm7D2u4iUJKa1tOUpS70Ku13ASrOkS4ScXFsTaCNQ==}
'@types/dompurify@3.2.0':
resolution: {integrity: sha512-Fgg31wv9QbLDA0SpTOXO3MaxySc4DKGLi8sna4/Utjo4r3ZRPdCt4UQee8BWr+Q5z21yifghREPJGYaEOEIACg==}
deprecated: This is a stub types definition. dompurify provides its own type definitions, so you do not need this installed.
'@types/estree@1.0.8':
resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==}
@@ -6097,6 +6104,10 @@ snapshots:
tslib: 2.8.1
optional: true
'@types/dompurify@3.2.0':
dependencies:
dompurify: 3.2.6
'@types/estree@1.0.8': {}
'@types/json-schema@7.0.15': {}