diff --git a/layers/templates/FxSecure01/index.vue b/layers/templates/FxSecure01/index.vue index 9699ebe..f8b4be7 100644 --- a/layers/templates/FxSecure01/index.vue +++ b/layers/templates/FxSecure01/index.vue @@ -23,7 +23,7 @@ const resultGetMultilingual = await useGetMultilingual({ baseApiUrl: dataResourcesUrl, fileName: multilingualFileName, }) -const { tm }: any = useI18n({ +const { tm, locale }: any = useI18n({ useScope: 'local', messages: Object(resultGetMultilingual?.value?.multilingual), }) @@ -88,7 +88,7 @@ const backgroundData = computed(() => // Computed const secureCards = computed(() => { - return [ + const allCards = [ { id: 'SECURE_CARD_0', title: tm('Secure_Stove_otp') || '스토브 인증기 (OTP)', @@ -112,7 +112,7 @@ const secureCards = computed(() => { benefitTitle: '', benefitDesc: '', benefitIcon: '', - buttonDisabled: true, + buttonDisabled: false, url: tm('Secure_AbroadLogin_Url'), }, { @@ -129,6 +129,12 @@ const secureCards = computed(() => { url: tm('Secure_PcRegister_Url'), }, ] + + // 한국어일 때는 모든 카드 노출, 그 외 언어일 때는 SECURE_CARD_0만 노출 + if (locale.value === 'ko') { + return allCards + } + return allCards.filter(card => card.id === 'SECURE_CARD_0') }) // 유의사항 내용 다국어 조회 const cautionText = computed(() => { @@ -150,42 +156,65 @@ onMounted(() => {
-
- +
+

- {{ tm('Secure_Section_Title') || '보안 서비스' }} + {{ tm('Secure_Page_Title') || 'Security Settings' }}

- {{ - tm('Secure_Section_Description') || - '*OTP / 해외 로그인 차단 / 지정 PC 관리 설정하고, 로드나인 계정을 보다 안전하게 보호하세요.' - }} + *{{ tm('Secure_Global_Desc') || 'Set up the STOVE Authenticator to better protect your account.' }}

- -
+ +
+
+
{{ card.title }}

{{ card.description }}

@@ -217,38 +256,64 @@ onMounted(() => {
{{ card.benefitTitle }}
{{ card.benefitDesc }}
@@ -260,7 +325,7 @@ onMounted(() => { v-if="card.status === 'N'" type="external" button-size="size-small md:size-large" - background-color="#000000" + background-color="#383838" text-color="#FFFFFF" @click=" isLogin @@ -295,15 +360,25 @@ onMounted(() => {
+
-
- -
+ +
{{ tm('Secure_Notice') }}
@@ -312,11 +387,26 @@ onMounted(() => { v-for="caution in cautionText" :key="caution" v-dompurify-html="caution" - class="relative pl-[22px] before:content-[''] before:absolute before:top-[10px] before:left-[9px] before:w-[3px] before:h-[3px] before:rounded-full before:bg-[#999999] text-[#999999] text-[14px] font-[400] leading-[24px] tracking-[-0.42px]" + :class="[ + 'relative pl-[22px] before:content-[\'\'] before:absolute before:top-[10px] before:left-[9px] before:w-[3px] before:h-[3px] before:rounded-full before:bg-[#999999] text-[#999999] font-[400]', + locale === 'ko' + ? 'text-[14px] leading-[24px] tracking-[-0.42px]' + : 'text-[14px] leading-[24px] tracking-[-0.42px]', + ]" > +
+ +