refactor: 스토브 gnb 테마 적용, 보안강화 로그인 팝업 수정

This commit is contained in:
“hyeonggkim”
2025-11-06 15:15:09 +09:00
parent edd2bd42c3
commit f79b212e35
6 changed files with 51 additions and 142 deletions

View File

@@ -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)
}
})