first commit
This commit is contained in:
19
apps/frontend/src/App.vue
Normal file
19
apps/frontend/src/App.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<script setup lang="ts">
|
||||
import { computed } from 'vue';
|
||||
import { useRoute, RouterView } from 'vue-router';
|
||||
import BottomTabBar from './components/navigation/BottomTabBar.vue';
|
||||
import QuickAddButton from './components/actions/QuickAddButton.vue';
|
||||
|
||||
const route = useRoute();
|
||||
const showAppShell = computed(() => !route.path.startsWith('/auth'));
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="min-h-screen bg-gray-100 text-gray-900">
|
||||
<div class="max-w-xl mx-auto min-h-screen relative pb-24">
|
||||
<RouterView />
|
||||
<QuickAddButton v-if="showAppShell" />
|
||||
</div>
|
||||
<BottomTabBar v-if="showAppShell" />
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user