diff --git a/apps/web/components/brain-connector-icons.tsx b/apps/web/components/brain-connector-icons.tsx index 30d7a3bc..b93ed41a 100644 --- a/apps/web/components/brain-connector-icons.tsx +++ b/apps/web/components/brain-connector-icons.tsx @@ -1,5 +1,5 @@ import { cn } from "@lib/utils" -import { Granola, Notion } from "@ui/assets/icons" +import { Gmail, Granola, Notion } from "@ui/assets/icons" import { dmSans125ClassName } from "@/lib/fonts" export function SlackMark({ className }: { className?: string }) { @@ -51,38 +51,6 @@ function GithubMark({ className }: { className?: string }) { ) } -function GmailMark({ className }: { className?: string }) { - return ( - - ) -} - function LinearMark({ className }: { className?: string }) { return ( @@ -132,7 +100,7 @@ export function brainConnectorIcon( ): React.ReactNode { switch (slug) { case "gmail": - return + return case "github": return case "linear": diff --git a/apps/web/components/brain-home/widgets.tsx b/apps/web/components/brain-home/widgets.tsx index 69ff83f3..e4299b37 100644 --- a/apps/web/components/brain-home/widgets.tsx +++ b/apps/web/components/brain-home/widgets.tsx @@ -2,7 +2,7 @@ import { cn } from "@lib/utils" import { dmSans125ClassName } from "@/lib/fonts" -import { GoogleDrive, Notion } from "@ui/assets/icons" +import { Gmail, GoogleDrive, Notion } from "@ui/assets/icons" import { AlertCircle, ArrowRight, @@ -34,38 +34,6 @@ import { type Stat, } from "./data" -function GmailIcon({ className }: { className?: string }) { - return ( - - ) -} - export const modalCardStyle = { boxShadow: "0 2.842px 14.211px 0 rgba(0, 0, 0, 0.25), 0.711px 0.711px 0.711px 0 rgba(255, 255, 255, 0.10) inset", @@ -495,7 +463,7 @@ export function Quotation({ children }: { children: React.ReactNode }) { function connectedSourceIcon(key: ConnectedSource["iconKey"]) { if (key === "drive") return if (key === "notion") return - if (key === "gmail") return + if (key === "gmail") return if (key === "github") return return } diff --git a/apps/web/components/onboarding-brain/step-sources.tsx b/apps/web/components/onboarding-brain/step-sources.tsx index 65cec780..358597e6 100644 --- a/apps/web/components/onboarding-brain/step-sources.tsx +++ b/apps/web/components/onboarding-brain/step-sources.tsx @@ -6,7 +6,7 @@ import { useQueryState } from "nuqs" import Image from "next/image" import { Button } from "@ui/components/button" import { Dialog, DialogClose, DialogContent } from "@ui/components/dialog" -import { GoogleDrive, Granola, Notion, OneDrive } from "@ui/assets/icons" +import { Gmail, GoogleDrive, Granola, Notion, OneDrive } from "@ui/assets/icons" import { Select, SelectContent, @@ -61,37 +61,6 @@ function GrokIcon({ className }: { className?: string }) { ) } -function GmailIcon({ className }: { className?: string }) { - return ( - - ) -} import { cn } from "@lib/utils" import { PLAN_DISPLAY_NAMES, @@ -1198,7 +1167,7 @@ function MoreSourcesGrid({ } + icon={} state={values.connected.gmail ?? "idle"} ctaLabel="Connect" locked={isLocked("max")} diff --git a/packages/ui/assets/icons.tsx b/packages/ui/assets/icons.tsx index 0b7b7d6f..7aaece87 100644 --- a/packages/ui/assets/icons.tsx +++ b/packages/ui/assets/icons.tsx @@ -58,6 +58,36 @@ export const GoogleDrive = ({ className }: { className?: string }) => ( ) +export const Gmail = ({ className }: { className?: string }) => ( + +) + export const Notion = ({ className }: { className?: string }) => (