메인 연결 페이지의 탭 종료와 복귀 동작 통일

This commit is contained in:
2026-09-14 23:49:30 +00:00
parent 62f4ca3058
commit 854a91c397
45 changed files with 720 additions and 237 deletions
@@ -1,10 +1,12 @@
<script setup lang="ts">
import { usePageExit } from '../../composables/usePageExit';
const { pageExitLabel, exitPage } = usePageExit();
defineProps<{
activePage: 'tournament' | 'betting';
title: string;
}>();
const closeWindow = (): void => window.close();
</script>
<template>
@@ -40,9 +42,9 @@ const closeWindow = (): void => window.close();
<button
class="legacy-button legacy-button--navigation legacy-button--fixed-height close-button"
type="button"
@click="closeWindow"
@click="exitPage"
>
닫기
{{ pageExitLabel }}
</button>
</div>
</header>