From 6d39cee75e7ef7c5e06d1a745a32224e11d68c37 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Fri, 23 Jan 2026 23:16:45 +0800 Subject: HALF WORK! --- www-2/src/layouts/ListPage.astro | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 www-2/src/layouts/ListPage.astro (limited to 'www-2/src/layouts/ListPage.astro') diff --git a/www-2/src/layouts/ListPage.astro b/www-2/src/layouts/ListPage.astro new file mode 100644 index 0000000..708df26 --- /dev/null +++ b/www-2/src/layouts/ListPage.astro @@ -0,0 +1,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; +--- + + +