diff --git a/src/App.vue b/src/App.vue index c06bfe2..1d910db 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,6 +1,6 @@ + + + + diff --git a/src/views/DemoView.vue b/src/views/DemoView.vue deleted file mode 100644 index a658850..0000000 --- a/src/views/DemoView.vue +++ /dev/null @@ -1,470 +0,0 @@ - - - - - diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 4128414..974501b 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -5,6 +5,12 @@ import { useAuthStore } from '@/stores/auth' import { useUiStore } from '@/stores/ui' import { accountApi } from '@/api/accountApi' import { ID_LOGIN_ENABLED } from '@/config/features' +import { enterDemo } from '@/demo' + +function startDemo() { + enterDemo() + router.push('/account/entries') +} const auth = useAuthStore() const ui = useUiStore() @@ -299,7 +305,7 @@ onMounted(load)
- +

{{ !ID_LOGIN_ENABLED || ui.signupEnabled ? '로그인하면 나의 가계부 요약을 볼 수 있어요.' : '현재 회원가입이 제한되어 있습니다.' }}