<template>
  <n-config-provider :theme="darkTheme" :theme-overrides="themeOverrides" :locale="zhCN" :date-locale="dateZhCN">
    <div class="layout w-auto h-full">
      <Header></Header>
      <!--      <h1>{{ route.meta.title }}</h1>-->
      <!--    <div class="navigation">-->
      <!--      <RouterLink to="/">-->
      <!--        <h2>Home</h2>-->
      <!--      </RouterLink>-->
      <!--      <RouterLink to="/about">-->
      <!--        <h2>About</h2>-->
      <!--      </RouterLink>-->
      <!--    </div>-->
      <RouterView class="min-h-2xl" />

      <Footer></Footer>
    </div>
  </n-config-provider>
</template>
<script setup lang="ts">
import { NConfigProvider } from 'naive-ui'
import { zhCN, dateZhCN } from 'naive-ui'
import { themeOverrides } from '@/utils'
import Header from '../components/header.vue'
import Footer from '../components/footer.vue'
// import { createTheme, inputDark, datePickerDark } from 'naive-ui'
// createTheme([inputDark, datePickerDark])
const darkTheme = null
window.$message = useMessage()
</script>

<style></style>
