blob: 708df2651bfd79d670860cee6d4baf0a2cd17b94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
---
import PageBase from "./PageBase.astro";
import Nav from "../components/Nav.astro";
import ArticlePreviewList, {
type Props as ArticlePreviewListProps,
} from "../components/ArticlePreviewList.astro";
interface Props {
title: string;
articles: ArticlePreviewListProps["articles"];
}
const { title, articles } = Astro.props;
---
<PageBase title={title}>
<Nav />
<h1>{title}</h1>
<hr />
<ArticlePreviewList articles={articles} headerElement="h2" />
</PageBase>
<style></style>
|