2023-03-23 17:57:11 +00:00
|
|
|
import { useRouter } from "next/router";
|
2023-04-05 19:21:15 +00:00
|
|
|
|
2023-03-23 17:57:11 +00:00
|
|
|
// layouts
|
2023-04-08 08:16:46 +00:00
|
|
|
import { WorkspaceAuthorizationLayout } from "layouts/auth-layout";
|
2023-05-05 11:37:29 +00:00
|
|
|
import { SettingsHeader } from "components/workspace";
|
2023-04-08 08:16:46 +00:00
|
|
|
// components
|
2023-03-23 17:57:11 +00:00
|
|
|
import IntegrationGuide from "components/integration/guide";
|
|
|
|
// ui
|
|
|
|
import { BreadcrumbItem, Breadcrumbs } from "components/breadcrumbs";
|
|
|
|
// types
|
2023-04-08 08:16:46 +00:00
|
|
|
import type { NextPage } from "next";
|
2023-03-23 17:57:11 +00:00
|
|
|
|
2023-04-08 08:16:46 +00:00
|
|
|
const ImportExport: NextPage = () => {
|
2023-03-23 17:57:11 +00:00
|
|
|
const router = useRouter();
|
2023-04-07 07:57:57 +00:00
|
|
|
const { workspaceSlug } = router.query;
|
2023-03-23 17:57:11 +00:00
|
|
|
|
|
|
|
return (
|
2023-04-08 08:16:46 +00:00
|
|
|
<WorkspaceAuthorizationLayout
|
2023-04-05 19:21:15 +00:00
|
|
|
breadcrumbs={
|
|
|
|
<Breadcrumbs>
|
|
|
|
<BreadcrumbItem title={`${workspaceSlug ?? "Workspace"}`} link={`/${workspaceSlug}`} />
|
2023-05-05 10:16:05 +00:00
|
|
|
<BreadcrumbItem title="Import/ Export Settings" />
|
2023-04-05 19:21:15 +00:00
|
|
|
</Breadcrumbs>
|
|
|
|
}
|
|
|
|
>
|
2023-05-05 11:37:29 +00:00
|
|
|
<div className="px-24 py-8">
|
|
|
|
<SettingsHeader />
|
|
|
|
<IntegrationGuide />
|
|
|
|
</div>
|
2023-04-08 08:16:46 +00:00
|
|
|
</WorkspaceAuthorizationLayout>
|
2023-03-23 17:57:11 +00:00
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default ImportExport;
|