31 lines
857 B
Vue
31 lines
857 B
Vue
<script setup lang="ts">
|
|
import { useTheme } from '@/components/theme-provider'
|
|
import Navbar from '@/components/layout/Navbar.vue'
|
|
import Footer from '@/components/layout/Footer.vue'
|
|
|
|
// Initialize theme
|
|
useTheme()
|
|
</script>
|
|
|
|
<template>
|
|
<div class="min-h-screen bg-background font-sans antialiased">
|
|
<div class="relative flex min-h-screen flex-col"
|
|
style="padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom)">
|
|
<header class="sticky top-0 z-50 w-full border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60">
|
|
<nav class="container flex h-14 items-center">
|
|
<Navbar />
|
|
</nav>
|
|
</header>
|
|
|
|
<main class="flex-1">
|
|
<router-view />
|
|
</main>
|
|
|
|
<Footer />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<style>
|
|
/* Remove default styles */
|
|
</style>
|