feat: enable category slug pages

This commit is contained in:
TerryM
2026-05-28 22:36:08 +08:00
parent f183a401fc
commit b24529afc4
6 changed files with 46 additions and 105 deletions

View File

@@ -0,0 +1,19 @@
import type { PostScope } from "../types/post";
import { MessageStream } from "./messageStream/MessageStream";
import { SectionHeader } from "./SectionHeader";
type AssetStreamPageProps = {
title: string;
scope: PostScope;
};
export function AssetStreamPage({ title, scope }: AssetStreamPageProps) {
return (
<section>
<div className="mx-auto max-w-full px-4 md:max-w-[820px] lg:max-w-[1080px] xl:max-w-[1180px]">
<SectionHeader title={title} />
</div>
<MessageStream scope={scope} />
</section>
);
}