feat: complete TechLog Studio publication flow
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import { useRouteInput } from "../../../../../presentation/routes/route-input.tsx";
|
||||
import { PublishScreen } from "../components/publish-screen.tsx";
|
||||
|
||||
export function DocumentPublishPage() {
|
||||
const { params } =
|
||||
useRouteInput<"TECH_LOG_STUDIO_DOCUMENT_PUBLISH">();
|
||||
return <PublishScreen documentId={String(params.id)} />;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
import { useRouteInput } from "../../../../../presentation/routes/route-input.tsx";
|
||||
import { PublicationEventPreviewScreen } from "../components/publication-event-preview-screen.tsx";
|
||||
|
||||
export function PublicationPreviewPage() {
|
||||
const { params } =
|
||||
useRouteInput<"TECH_LOG_STUDIO_PUBLICATION_PREVIEW">();
|
||||
return (
|
||||
<PublicationEventPreviewScreen
|
||||
publicationEventId={String(params.publicationEventId)}
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import { PublicationList } from "../components/publication-list.tsx";
|
||||
|
||||
export function PublicationsPage() {
|
||||
return <PublicationList />;
|
||||
}
|
||||
Reference in New Issue
Block a user