---
import type { CollectionEntry } from 'astro:content';
import Base from '@layouts/Base.astro';

interface Props {
  entry: CollectionEntry<'pages'>;
}

const { entry } = Astro.props;
const { Content } = await entry.render();
const { title, seo } = entry.data;
---

<Base title={title} seo={seo}>
  <main class="content">
    <Content />
  </main>
</Base>
