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,7 +1,12 @@
<script setup lang="ts">
/**
* @file index.vue
* @description หน Landing Page (หนาแรกของเวบสำหร Guest)
* ใช Layout: 'landing' (ไม Sidebar / Navbar แบบ Dashboard)
*/
definePageMeta({
layout: 'landing',
middleware: 'auth'
middleware: 'auth' // auth middleware : Login Dashboard
})
useHead({
@ -18,7 +23,7 @@ useHead({
<div class="absolute bottom-[-20%] left-[-10%] w-[60%] h-[60%] rounded-full bg-indigo-600/10 blur-[140px] animate-pulse-slow" style="animation-delay: 3s;"/>
</div>
<!-- Hero Section -->
<!-- Hero Section: วนหวของหนาเว แสดงขอความตอนรบและป CTA -->
<section class="hero-section min-h-[95vh] flex items-center relative overflow-hidden pt-32 pb-20">
<div class="container relative z-10 w-full">
<div class="grid-hero items-center">
@ -135,7 +140,7 @@ useHead({
</div>
</section>
<!-- Platform Info Section -->
<!-- Platform Info Section: วนแสดงจดเดนของแพลตฟอร (Features) -->
<section class="info-section py-40 bg-slate-900 relative transition-colors">
<!-- Background detail -->
<div class="absolute top-0 inset-x-0 h-px bg-gradient-to-r from-transparent via-white/10 to-transparent"/>