Merge branch 'feature/20251001-gil' into feature/202501107-all

This commit is contained in:
“hyeonggkim”
2025-11-06 15:22:53 +09:00
24 changed files with 637 additions and 672 deletions

View File

@@ -8,11 +8,12 @@ onMounted(() => {
const langCodes = gameData?.lang_codes
const defaultLangCode = gameData?.default_lang_code
const stoveGnbData = gameData?.stove_gnb_json
const designTheme = gameData?.design_theme
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: {
@@ -38,14 +39,18 @@ onMounted(() => {
},
mode: {
theme: {
default:
stoveGnbData?.skin_type === 'gnb-dark-mini' ? 'dark' : 'light',
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)
}
})