From 21cf3eaf1bc00b242ea48299b7f0fa2015b0cc32 Mon Sep 17 00:00:00 2001 From: greedy-wudpeckr Date: Thu, 5 Feb 2026 18:06:07 +0530 Subject: [PATCH 1/2] fix(ui): removed email from contact us Signed-off-by: greedy-wudpeckr --- .../components/LandingComponents/Contact/Contact.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/frontend/src/components/LandingComponents/Contact/Contact.tsx b/frontend/src/components/LandingComponents/Contact/Contact.tsx index d6e879e5..ee8f678d 100644 --- a/frontend/src/components/LandingComponents/Contact/Contact.tsx +++ b/frontend/src/components/LandingComponents/Contact/Contact.tsx @@ -8,7 +8,7 @@ import { CardTitle, } from '@/components/ui/card'; import { AiOutlineDiscord } from 'react-icons/ai'; -import { GithubIcon, MailIcon } from 'lucide-react'; +import { GithubIcon } from 'lucide-react'; import { TbBrandZulip } from 'react-icons/tb'; import { url } from '@/components/utils/URLs'; @@ -38,12 +38,6 @@ const contactList: ContactProps[] = [ position: 'Join us at Discord for discussions', url: '', }, - { - icon: , - name: 'Email', - position: 'Email us for any queries', - url: '', - }, ]; const cardVariants = { @@ -75,7 +69,7 @@ export const Contact = () => {
{contactList.map(({ icon, name, position, url }: ContactProps) => ( Date: Thu, 5 Feb 2026 18:06:45 +0530 Subject: [PATCH 2/2] updated tests for contact-us Signed-off-by: greedy-wudpeckr --- .../LandingComponents/Contact/__tests__/Contact.test.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/components/LandingComponents/Contact/__tests__/Contact.test.tsx b/frontend/src/components/LandingComponents/Contact/__tests__/Contact.test.tsx index a8b0e84d..30a51975 100644 --- a/frontend/src/components/LandingComponents/Contact/__tests__/Contact.test.tsx +++ b/frontend/src/components/LandingComponents/Contact/__tests__/Contact.test.tsx @@ -26,7 +26,7 @@ describe('Contact Component', () => { test('renders all contact cards', () => { render(); - const contactNames = ['Zulip', 'Github', 'Discord', 'Email']; + const contactNames = ['Zulip', 'Github', 'Discord']; contactNames.forEach((name) => { const contactCard = screen.getByText(name); @@ -41,7 +41,6 @@ describe('Contact Component', () => { 'Join our Zulip channel', 'Check out our Github repository', 'Join us at Discord for discussions', - 'Email us for any queries', ]; contactPositions.forEach((position) => {