21 lines
450 B
Text
21 lines
450 B
Text
---
|
|
import GuideLayout from "@layouts/GuideLayout.astro";
|
|
import type { ConfigHeading } from "@src/components/navigation/sidebars/types";
|
|
|
|
export interface Props {
|
|
headings: ConfigHeading[];
|
|
frontmatter: {
|
|
title: string;
|
|
description?: string;
|
|
};
|
|
}
|
|
|
|
const {
|
|
headings,
|
|
frontmatter: { title, description },
|
|
} = Astro.props;
|
|
---
|
|
|
|
<GuideLayout title={title} description={description ?? ""} headings={headings}>
|
|
<slot />
|
|
</GuideLayout>
|