20 lines
493 B
TypeScript
20 lines
493 B
TypeScript
import { Header, Footer } from "@/components/Shell";
|
|
import { DraftEditor } from "@/components/DraftEditor";
|
|
export default async function Draft({
|
|
params,
|
|
}: {
|
|
params: Promise<{ id: string }>;
|
|
}) {
|
|
return (
|
|
<>
|
|
<Header />
|
|
<main className="section page-content">
|
|
<span className="eyebrow">YOUR WORLD, BEFORE THE WORLD SEES IT</span>
|
|
<h1>At the drawing board.</h1>
|
|
<DraftEditor id={(await params).id} />
|
|
</main>
|
|
<Footer />
|
|
</>
|
|
);
|
|
}
|