diff --git a/app/app.vue b/app/app.vue index 31c1957..365d578 100644 --- a/app/app.vue +++ b/app/app.vue @@ -30,7 +30,7 @@ const getGameDataFromServer = (): GameDataValue | null => { const setupAllMetaData = (data: GameDataValue) => { const meta = data.meta_tag_json ?? ({} as GameDataMetaTag) const faviconPath = data.favicon_json ?? ({} as GameDataFavicon) - const theme = data.design_theme === 1 ? 'dark' : 'light' + const theme = data.design_theme === 1 ? 'light' : 'dark' // 파비콘 링크 생성 const faviconLinks = [ diff --git a/layers/components/blocks/modal/Layer.vue b/layers/components/blocks/modal/Layer.vue index cd3c010..4cfd0e8 100644 --- a/layers/components/blocks/modal/Layer.vue +++ b/layers/components/blocks/modal/Layer.vue @@ -12,9 +12,14 @@ const props = withDefaults(defineProps(), { isOutsideClose: false, }) +const emit = defineEmits<{ + close: [] +}>() + const isOpen = defineModel('isOpen', { default: false }) const handleCloseModal = () => { + emit('close') isOpen.value = false } diff --git a/layers/components/widgets/modal/Preregist.vue b/layers/components/widgets/modal/Preregist.vue index 7d43db4..ad1ac95 100644 --- a/layers/components/widgets/modal/Preregist.vue +++ b/layers/components/widgets/modal/Preregist.vue @@ -259,9 +259,7 @@ const resetForm = () => { const handleClose = () => { if (isSubmitting.value) return - isOpen.value = false step.value = 1 - // 애니메이션 완료 후 초기화 setTimeout(resetForm, 300) } @@ -273,7 +271,7 @@ defineExpose({