import { FC } from "react"; // next imports import Link from "next/link"; import Image from "next/image"; // icons import { ArrowRightIcon } from "components/icons"; import GithubLogo from "public/logos/github-square.png"; import { ChevronDownIcon } from "@heroicons/react/24/outline"; // components import { Loader } from "components/ui"; import { GithubIntegrationRoot } from "components/integration"; // types import { IAppIntegrations } from "types"; type Props = { workspaceSlug: string | undefined; provider: string | undefined; allIntegrations: IAppIntegrations[] | undefined; allIntegrationsError: Error | undefined; allWorkspaceIntegrations: any | undefined; allWorkspaceIntegrationsError: Error | undefined; allIntegrationImporters: any | undefined; allIntegrationImportersError: Error | undefined; }; const IntegrationGuide: FC = ({ workspaceSlug, provider, allIntegrations, allIntegrationsError, allWorkspaceIntegrations, allWorkspaceIntegrationsError, allIntegrationImporters, allIntegrationImportersError, }) => (
{!provider && ( <>
Import
Relocation Guide
You can now transfer all the issues that you’ve created in other tracking services. This tool will guide you to relocate the issue to Plane.
Read More
{allIntegrations && !allIntegrationsError ? ( <> {allIntegrations && allIntegrations.length > 0 ? ( <> {allIntegrations.map((_integration, _idx) => (
{_integration?.provider === "github" && ( GithubLogo )}
{_integration?.title}
0
Activate GitHub integrations on individual projects to sync with specific repositories.
{allIntegrationImporters && !allIntegrationImportersError ? ( <> {allIntegrationImporters && allIntegrationImporters.length > 0 ? ( <> ) : (
Previous Imports not available.
)} ) : (
{["", ""].map((_integration, _idx) => ( ))}
)}
))} ) : (
Integrations not available.
)} ) : (
{["", ""].map((_integration, _idx) => ( ))}
)}
)} {provider && ( <> {provider === "github" && ( )} )}
); export default IntegrationGuide;