From 04f218833fec836965585017aa004aab76e445aa Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Sun, 22 Feb 2026 23:58:09 +0000 Subject: [PATCH] UI --- .../src/components/icons/github-icon.tsx | 22 +++++++++++++ .../src/components/icons/gitlab-icon.tsx | 32 +++++++++++++++++++ apps/client/src/components/icons/index.ts | 2 ++ .../client/src/components/icons/miro-icon.tsx | 13 ++++++-- .../integration-link-view.tsx | 11 ++++--- 5 files changed, 73 insertions(+), 7 deletions(-) create mode 100644 apps/client/src/components/icons/github-icon.tsx create mode 100644 apps/client/src/components/icons/gitlab-icon.tsx diff --git a/apps/client/src/components/icons/github-icon.tsx b/apps/client/src/components/icons/github-icon.tsx new file mode 100644 index 000000000..fcac089bc --- /dev/null +++ b/apps/client/src/components/icons/github-icon.tsx @@ -0,0 +1,22 @@ +import { rem } from '@mantine/core'; + +interface Props { + size?: number | string; +} + +export function GithubIcon({ size }: Props) { + return ( + + + + ); +} diff --git a/apps/client/src/components/icons/gitlab-icon.tsx b/apps/client/src/components/icons/gitlab-icon.tsx new file mode 100644 index 000000000..db155579c --- /dev/null +++ b/apps/client/src/components/icons/gitlab-icon.tsx @@ -0,0 +1,32 @@ +import { rem } from '@mantine/core'; + +interface Props { + size?: number | string; +} + +export function GitlabIcon({ size }: Props) { + return ( + + + + + + + ); +} diff --git a/apps/client/src/components/icons/index.ts b/apps/client/src/components/icons/index.ts index 3a5e45507..609cd058a 100644 --- a/apps/client/src/components/icons/index.ts +++ b/apps/client/src/components/icons/index.ts @@ -1,5 +1,7 @@ export { AirtableIcon } from "./airtable-icon.tsx"; export { FigmaIcon } from "./figma-icon.tsx"; +export { GithubIcon } from "./github-icon.tsx"; +export { GitlabIcon } from "./gitlab-icon.tsx"; export { GoogleDocsIcon } from "./google-docs-icon.tsx"; export { GoogleDriveIcon } from "./google-drive-icon.tsx"; export { GoogleSheetsIcon } from "./google-sheets-icon.tsx"; diff --git a/apps/client/src/components/icons/miro-icon.tsx b/apps/client/src/components/icons/miro-icon.tsx index 9d07898af..d62b4ef36 100644 --- a/apps/client/src/components/icons/miro-icon.tsx +++ b/apps/client/src/components/icons/miro-icon.tsx @@ -8,11 +8,20 @@ export function MiroIcon({ size }: Props) { return ( + fill="#FFDD33" + d="M3 100.754C3 46.2604 47.2435 2 101.754 2H299.246C353.756 2 398 46.2435 398 100.754V298.246C398 352.756 353.756 397 299.246 397H101.754C47.2435 397 3 352.756 3 298.246V100.754Z" + /> + ); } diff --git a/apps/client/src/features/editor/components/integration-link/integration-link-view.tsx b/apps/client/src/features/editor/components/integration-link/integration-link-view.tsx index 80d7fc5a7..adbe47743 100644 --- a/apps/client/src/features/editor/components/integration-link/integration-link-view.tsx +++ b/apps/client/src/features/editor/components/integration-link/integration-link-view.tsx @@ -10,12 +10,13 @@ import { Stack, } from "@mantine/core"; import { useEffect, useCallback, memo, type ReactNode } from "react"; -import { IconBrandGithub, IconBrandGitlab } from "@tabler/icons-react"; import { FigmaIcon, - LinearIcon, - JiraIcon, + GithubIcon, + GitlabIcon, GoogleDocsIcon, + JiraIcon, + LinearIcon, } from "@/components/icons"; import { unfurlUrl } from "@/features/integration/services/integration-service"; import classes from "./integration-link-view.module.css"; @@ -43,8 +44,8 @@ function toBadgeColor(raw?: string): string { } const providerIcons: Record ReactNode> = { - github: (size) => , - gitlab: (size) => , + github: (size) => , + gitlab: (size) => , figma: (size) => , linear: (size) => , jira: (size) => ,