<template>
  <div class="min-h-screen bg-gray-100">
    <header class="bg-white shadow">
      <nav class="container mx-auto px-4 py-6">
        <NuxtLink to="/" class="text-2xl font-bold text-gray-800">我的博客</NuxtLink>
      </nav>
    </header>
    <main class="container mx-auto px-4 py-8">
      <slot />
    </main>
    <footer class="bg-white shadow mt-8">
      <div class="container mx-auto px-4 py-6 text-center text-gray-600">
        © 2025 我的博客. 保留所有权利.
      </div>
    </footer>
  </div>
</template>
