fix. 이벤트 네비게이션 모바일에서 접근 시 '닫힘' 적용

This commit is contained in:
clkim
2026-01-22 10:03:39 +09:00
parent 26d4d75fcd
commit dc1ec9a4c8

View File

@@ -7,8 +7,8 @@ import type {
const { locale } = useI18n() const { locale } = useI18n()
const { sendLog } = useAnalytics() const { sendLog } = useAnalytics()
const gameDomain = getGameDomain() const gameDomain = getGameDomain()
const breakpoints = useResponsiveBreakpoints()
const analytics = { const analytics = {
action_type: 'click', action_type: 'click',
@@ -54,6 +54,9 @@ const toggleEventNavigation = () => {
onMounted(async () => { onMounted(async () => {
eventNavigationList.value = await getEventNavigation() eventNavigationList.value = await getEventNavigation()
if (breakpoints.value.isMobile) {
isEventNavigationOpen.value = false
}
}) })
</script> </script>