diff --git a/apps/console/public/github.png b/apps/console/public/github.png deleted file mode 100644 index b1532569d..000000000 Binary files a/apps/console/public/github.png and /dev/null differ diff --git a/apps/console/public/slack.png b/apps/console/public/slack.png deleted file mode 100644 index 76e0345a5..000000000 Binary files a/apps/console/public/slack.png and /dev/null differ diff --git a/apps/console/src/pages/iam/organizations/settings/_components/GoogleWorkspaceConnector.tsx b/apps/console/src/pages/iam/organizations/settings/_components/GoogleWorkspaceConnector.tsx index bdef63f58..2c87dcf5b 100644 --- a/apps/console/src/pages/iam/organizations/settings/_components/GoogleWorkspaceConnector.tsx +++ b/apps/console/src/pages/iam/organizations/settings/_components/GoogleWorkspaceConnector.tsx @@ -7,6 +7,7 @@ import { Dialog, DialogContent, DialogFooter, + Google, useDialogRef, } from "@probo/ui"; import { graphql, useFragment } from "react-relay"; @@ -96,11 +97,7 @@ export function GoogleWorkspaceConnector(props: { return (
- Google Workspace +

{__("Google Workspace")}

diff --git a/apps/console/src/pages/organizations/compliance-page/overview/_components/CompliancePageSlackSection.tsx b/apps/console/src/pages/organizations/compliance-page/overview/_components/CompliancePageSlackSection.tsx index 47af85ad9..124e06f42 100644 --- a/apps/console/src/pages/organizations/compliance-page/overview/_components/CompliancePageSlackSection.tsx +++ b/apps/console/src/pages/organizations/compliance-page/overview/_components/CompliancePageSlackSection.tsx @@ -1,6 +1,6 @@ import { sprintf } from "@probo/helpers"; import { useTranslate } from "@probo/i18n"; -import { Badge, Button, Card } from "@probo/ui"; +import { Badge, Button, Card, Slack } from "@probo/ui"; import { useFragment } from "react-relay"; import { graphql } from "relay-runtime"; @@ -43,8 +43,8 @@ export function CompliancePageSlackSection(props: { fragmentRef: CompliancePageS padded className="flex items-center gap-3" > -
- +
+

Slack

@@ -73,8 +73,8 @@ export function CompliancePageSlackSection(props: { fragmentRef: CompliancePageS padded className="flex items-center gap-3" > -
- +
+

Slack

diff --git a/packages/ui/src/Atoms/Vendors/Google.tsx b/packages/ui/src/Atoms/Vendors/Google.tsx new file mode 100644 index 000000000..f81ff6055 --- /dev/null +++ b/packages/ui/src/Atoms/Vendors/Google.tsx @@ -0,0 +1,31 @@ +import type { ComponentProps } from "react"; + +export function Google(props: ComponentProps<"svg">) { + return ( + + + + + + + ); +} diff --git a/packages/ui/src/Atoms/Vendors/Slack.tsx b/packages/ui/src/Atoms/Vendors/Slack.tsx new file mode 100644 index 000000000..1595e9646 --- /dev/null +++ b/packages/ui/src/Atoms/Vendors/Slack.tsx @@ -0,0 +1,14 @@ +import type { ComponentProps } from "react"; + +export function Slack(props: ComponentProps<"svg">) { + return ( + + + + + + + + + ); +} diff --git a/packages/ui/src/Atoms/Vendors/index.ts b/packages/ui/src/Atoms/Vendors/index.ts new file mode 100644 index 000000000..1cb287444 --- /dev/null +++ b/packages/ui/src/Atoms/Vendors/index.ts @@ -0,0 +1,2 @@ +export { Google } from "./Google"; +export { Slack } from "./Slack"; diff --git a/packages/ui/src/index.ts b/packages/ui/src/index.ts index 5f67e8b60..8d5eceba1 100644 --- a/packages/ui/src/index.ts +++ b/packages/ui/src/index.ts @@ -45,6 +45,7 @@ export { Row, RowButton, } from "./Atoms/DataTable/DataTable"; +export * from "./Atoms/Vendors"; // Molecules export {