---
interface Props {
  title: string;
  description?: string;
}

const { title, description = 'ร้านค้าออนไลน์คุณภาพดี ราคาถูกใจ' } = Astro.props;
---

<!DOCTYPE html>
<html lang="th">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="description" content={description}>
  <title>{title} | ร้านของเรา</title>
  <link rel="icon" type="image/svg+xml" href="/favicon.svg">
  <script src="https://cdn.tailwindcss.com"></script>
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@400;500;600;700&display=swap" rel="stylesheet">
  <style>
    * {
      font-family: 'Noto Sans Thai', sans-serif;
    }
  </style>
</head>
<body class="min-h-screen bg-gray-50 text-gray-900">
  <slot />
</body>
</html>
