20 lines
545 B
TypeScript
20 lines
545 B
TypeScript
|
|
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>
|
||
|
|
);
|
||
|
|
}
|