diff --git a/frontend/components/integrations/CloudIntegration.tsx b/frontend/components/integrations/CloudIntegration.tsx new file mode 100644 index 0000000000..4bdad9cf5a --- /dev/null +++ b/frontend/components/integrations/CloudIntegration.tsx @@ -0,0 +1,113 @@ +import React from "react"; +import Image from "next/image"; +import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; +import { + faCheck, + faX, + } from "@fortawesome/free-solid-svg-icons"; + +interface CloudIntegration { + integration: IntegrationOption; + setSelectedIntegrationOption: () => void; + integrationOptionPress: () => void; + deleteIntegrationAuth: () => void; + authorizations: any; +} + +interface IntegrationOption { + name: string; + type: string; + clientId: string; + docsLink: string; +} + +const CloudIntegration = ({ + integration, + setSelectedIntegrationOption, + integrationOptionPress, + deleteIntegrationAuth, + authorizations +}: CloudIntegration) => { + console.log('cio', integration); + return ( +
Current Project Integrations
-- Manage your integrations of Infisical with third-party services. -
-Cloud Integrations
-- Click on an integration to begin syncing secrets to it. -
-Framework Integrations
+Current Project Integrations
++ Manage your integrations of Infisical with third-party services. +
- Click on a framework to get the setup instructions. -
-Cloud Integrations
++ Click on an integration to begin syncing secrets to it. +
+Framework Integrations
++ Click on a framework to get the setup instructions. +
+