mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
3947a86fa7
* chore: made workspace authorization wrapper component * chore: added todos * chore: workspace pages new layout * chore: project authorization wrapper * chore: new project authorization wrapper * fix: authorization for member roles * chore: new auth screens ui --------- Co-authored-by: Dakshesh Jain <dakshesh.jain14@gmail.com>
31 lines
809 B
TypeScript
31 lines
809 B
TypeScript
import { useRouter } from "next/router";
|
|
|
|
// layouts
|
|
import { WorkspaceAuthorizationLayout } from "layouts/auth-layout";
|
|
// components
|
|
import IntegrationGuide from "components/integration/guide";
|
|
// ui
|
|
import { BreadcrumbItem, Breadcrumbs } from "components/breadcrumbs";
|
|
// types
|
|
import type { NextPage } from "next";
|
|
|
|
const ImportExport: NextPage = () => {
|
|
const router = useRouter();
|
|
const { workspaceSlug } = router.query;
|
|
|
|
return (
|
|
<WorkspaceAuthorizationLayout
|
|
breadcrumbs={
|
|
<Breadcrumbs>
|
|
<BreadcrumbItem title={`${workspaceSlug ?? "Workspace"}`} link={`/${workspaceSlug}`} />
|
|
<BreadcrumbItem title="Members Settings" />
|
|
</Breadcrumbs>
|
|
}
|
|
>
|
|
<IntegrationGuide />
|
|
</WorkspaceAuthorizationLayout>
|
|
);
|
|
};
|
|
|
|
export default ImportExport;
|