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

const { title, description = '{{PROJECT_NAME}} - {{COMPONENT_NAME}}' } = Astro.props;
---

<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description" content={description} />
    <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
    <title>{title}</title>
  </head>
  <body class="min-h-screen bg-slate-900 text-slate-100 antialiased">
    <slot />
    <script>
      import '../lib/logger';
    </script>
  </body>
</html>
