feat: enable category slug pages
This commit is contained in:
19
src/components/AssetStreamPage.tsx
Normal file
19
src/components/AssetStreamPage.tsx
Normal 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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user