plane/apps/app/pages/[workspaceSlug]/settings/import-export.tsx
2023-05-05 15:46:05 +05:30

31 lines
816 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="Import/ Export Settings" />
</Breadcrumbs>
}
>
<IntegrationGuide />
</WorkspaceAuthorizationLayout>
);
};
export default ImportExport;