---
// Layout.astro
import '../styles/styles.css';
import Header from './Header.astro';
import Sidebar from './Sidebar.astro';

interface Props {
  title: string;
}

const { title } = Astro.props;
---

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>{title} - juchatz.com</title>
  <link rel="icon" type="image/webp" href="/favicon.webp" />
</head>
<body>
  <div class="container">
    <Header />
    <Sidebar />
    <main>
      <section class="main-content">
        <slot />
      </section>
    </main>
  </div>
</body>
</html>
