refactor: 스토브 gnb 테마 적용, 보안강화 로그인 팝업 수정
This commit is contained in:
@@ -13,7 +13,7 @@ onMounted(() => {
|
||||
const currentDomain =
|
||||
window.location.protocol + '//' + window.location.hostname
|
||||
if (typeof window !== 'undefined' && (window as any).StoveGnb) {
|
||||
mountedInstance = (window as any).StoveGnb.mount('#stove-wrap', {
|
||||
const stoveGnbOptions = {
|
||||
logArea: currentDomain,
|
||||
useLanguageCodeFromPath: true,
|
||||
serviceTitle: {
|
||||
@@ -39,15 +39,18 @@ onMounted(() => {
|
||||
},
|
||||
mode: {
|
||||
theme: {
|
||||
default:
|
||||
designTheme === 1 ? 'light' : 'dark',
|
||||
support: ['dark', 'light'],
|
||||
support: ['light', 'dark'],
|
||||
default: designTheme === 1 ? 'light' : 'dark',
|
||||
// support: designTheme === 1 ? ['light'] : ['dark'],
|
||||
},
|
||||
mini: true,
|
||||
layout: 'wide',
|
||||
fixed: false,
|
||||
},
|
||||
})
|
||||
}
|
||||
}
|
||||
mountedInstance = (window as any).StoveGnb.mount('#stove-wrap', stoveGnbOptions)
|
||||
|
||||
console.log("🚀 ~ onMounted ~ stoveGnbOptions:", stoveGnbOptions)
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@@ -111,14 +111,14 @@
|
||||
class="smilegate"
|
||||
>
|
||||
<img
|
||||
:src="getImageHost(`/local/template/l9/common/logo_smilegate.png`, { imageType: 'game' })"
|
||||
:src="getImageHost(`/images/common/logo_smilegate.png`, { imageType: 'common' })"
|
||||
alt="스마일게이트 로고"
|
||||
class="w-auto h-auto"
|
||||
/>
|
||||
</a>
|
||||
<a
|
||||
v-if="setDevCi.dev_ci_yn"
|
||||
:href="footerData.use_dev_ci_url ? setDevCi.dev_ci_img_path : '#'"
|
||||
:href="footerData.use_dev_ci_url ? footerData.dev_ci_url : '#'"
|
||||
target="_blank"
|
||||
class="nx3 ml-2.5 md:ml-4"
|
||||
>
|
||||
@@ -190,12 +190,12 @@ const getContentInfoImage = computed((): string[] => {
|
||||
|
||||
const contentTypeMap: Record<string, string> = {
|
||||
'1': 'Type-sexual',
|
||||
'2': 'Type-fear',
|
||||
'3': 'Type-inapposite',
|
||||
'4': 'Type-drug',
|
||||
'5': 'Type-crime',
|
||||
'6': 'Type-speculation',
|
||||
'7': 'Type-violence'
|
||||
'2': 'Type-violence',
|
||||
'3': 'Type-fear',
|
||||
'4': 'Type-inapposite',
|
||||
'5': 'Type-drug',
|
||||
'6': 'Type-crime',
|
||||
'7': 'Type-speculation',
|
||||
}
|
||||
|
||||
return contentInfo.map(item => {
|
||||
|
||||
Reference in New Issue
Block a user