From 038cdb3ed32e7a77a10575431185825d8933c5dd Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Mon, 9 Feb 2026 15:24:38 +0530 Subject: [PATCH] feat: add new integrations and update icon handling in the homepage --- .../components/homepage/integrations.tsx | 35 +++++++++---- .../contracts/enums/connectorIcons.tsx | 10 ++-- .../public/connectors/circleback.svg | 19 +++++++ surfsense_web/public/connectors/linkup.svg | 50 +++++++++++++++++++ 4 files changed, 98 insertions(+), 16 deletions(-) create mode 100644 surfsense_web/public/connectors/circleback.svg create mode 100644 surfsense_web/public/connectors/linkup.svg diff --git a/surfsense_web/components/homepage/integrations.tsx b/surfsense_web/components/homepage/integrations.tsx index d8361d721..fc250e65b 100644 --- a/surfsense_web/components/homepage/integrations.tsx +++ b/surfsense_web/components/homepage/integrations.tsx @@ -1,6 +1,7 @@ "use client"; import type React from "react"; +import Image from "next/image"; interface Integration { name: string; @@ -44,15 +45,24 @@ const INTEGRATIONS: Integration[] = [ // Media { name: "YouTube", icon: "/connectors/youtube.svg" }, + + // Search + { name: "Linkup", icon: "/connectors/linkup.svg" }, + + // Meetings + { name: "Circleback", icon: "/connectors/circleback.svg" }, + + // AI + { name: "MCP", icon: "/connectors/modelcontextprotocol.svg" }, ]; -// 5 vertical columns — 21 icons spread across categories +// 5 vertical columns — 23 icons spread across categories const COLUMNS: number[][] = [ - [2, 5, 10, 0, 11], + [2, 5, 10, 0, 21, 11], [1, 7, 20, 17], - [13, 6, 4, 16], + [13, 6, 23, 4, 16], [12, 8, 15, 18], - [3, 9, 14, 19], + [3, 9, 14, 22, 19], ]; // Different scroll speeds per column for organic feel (seconds) @@ -61,7 +71,7 @@ const SCROLL_DURATIONS = [26, 32, 22, 30, 28]; function IntegrationCard({ integration }: { integration: Integration }) { return (