feat: Scaffold new Nuxt.js application with initial pages, layouts, composables, and middleware.

This commit is contained in:
supalerk-ar66 2026-01-23 09:54:35 +07:00
parent ab3124628c
commit 9bfb852ad0
8 changed files with 113 additions and 48 deletions

View file

@ -1,23 +1,23 @@
<script setup lang="ts">
/**
* @file default.vue
* @description Default application layout for authenticated users.
* Includes the AppHeader and MobileNav.
* @description Layout หลกสำหรบหนาเวบของผใช (Authenticated Users)
* ประกอบดวย Header (Navbar) และ Mobile Navigation
*/
</script>
<template>
<!-- App Shell: Main container with global background and text color -->
<!-- App Shell: คอนเทนเนอรหลกของแอปพลเคช -->
<div class="app-shell min-h-screen transition-colors duration-200">
<!-- Header -->
<!-- Header: แถบเมนานบน -->
<AppHeader />
<!-- Main Content Area -->
<!-- Main Content Area: วนแสดงเนอหาหล -->
<main class="app-main">
<slot />
</main>
<!-- Mobile Bottom Navigation (Visible only on small screens) -->
<!-- Mobile Bottom Navigation: แถบเมนานลาง (แสดงเฉพาะมอถ) -->
<MobileNav />
</div>
</template>