From 44f1bd9cc7aa5fd8464c44c9759cb127c00b7bf7 Mon Sep 17 00:00:00 2001 From: dhaanisi Date: Wed, 18 Mar 2026 15:07:27 +0530 Subject: [PATCH 1/2] fix(home): use anchor tag for external link instead of router link --- apps/mail/components/home/HomeContent.tsx | 68 ++++------------------- 1 file changed, 12 insertions(+), 56 deletions(-) diff --git a/apps/mail/components/home/HomeContent.tsx b/apps/mail/components/home/HomeContent.tsx index 501f70d641..d081103d21 100644 --- a/apps/mail/components/home/HomeContent.tsx +++ b/apps/mail/components/home/HomeContent.tsx @@ -24,13 +24,13 @@ import { Docx, ImageFile, Expand, + } from '../icons/icons'; import { PixelatedBackground, PixelatedLeft, PixelatedRight } from '@/components/home/pixelated-bg'; import { Tabs, TabsContent } from '@/components/ui/tabs'; import { signIn, useSession } from '@/lib/auth-client'; -import { Link, useNavigate } from 'react-router'; +import { useNavigate } from 'react-router'; import { Button } from '@/components/ui/button'; -import { Balancer } from 'react-wrap-balancer'; import { Navigation } from '../navigation'; import { useTheme } from 'next-themes'; import { motion } from 'motion/react'; @@ -84,9 +84,9 @@ export default function HomeContent() { transition={{ duration: 0.5, delay: 0.2 }} className="text-center text-4xl font-medium md:text-6xl" > - + AI Powered Email, Built to Save You Time - + - + {/* Fixed: replaced with for external URL */} + Backed by Combinator - + {/* Get Started button only visible for mobile screens */} @@ -323,7 +329,6 @@ export default function HomeContent() {
-
Neutral @@ -332,7 +337,6 @@ export default function HomeContent() {
-
Medium-length @@ -720,7 +724,6 @@ export default function HomeContent() {
-
@@ -1214,7 +1217,6 @@ export default function HomeContent() {
- {/* First row */}
{firstRowQueries.map((query) => ( @@ -1233,8 +1235,6 @@ export default function HomeContent() {
- - {/* Second row */}
{secondRowQueries.map((query) => ( @@ -1280,50 +1280,6 @@ export default function HomeContent() {
- {/* -
- Work smarter, not harder.{' '} - Automate repetitive{' '} - email - tasks with{' '} - smart templates, {' '} - scheduled sends - - , follow-up reminders, and batch processing capabilities that - {' '} -
- save hours every week. -
-
- tasks - tasks - tasks -
-
*/} -
From 89ac5d1c41eed91a3698bd487a88f28e2eb91cfd Mon Sep 17 00:00:00 2001 From: dhaanisi Date: Wed, 18 Mar 2026 15:30:33 +0530 Subject: [PATCH 2/2] style(landing): improve accessibility and navigation button interaction --- apps/mail/components/home/HomeContent.tsx | 26 +++++++------ apps/mail/components/navigation.tsx | 47 +++++++++++++---------- 2 files changed, 41 insertions(+), 32 deletions(-) diff --git a/apps/mail/components/home/HomeContent.tsx b/apps/mail/components/home/HomeContent.tsx index d081103d21..410c1c4a4c 100644 --- a/apps/mail/components/home/HomeContent.tsx +++ b/apps/mail/components/home/HomeContent.tsx @@ -21,7 +21,7 @@ import { ChevronRight, Calendar, Figma, - Docx, + Docx, ImageFile, Expand, @@ -606,27 +606,29 @@ export default function HomeContent() {
- + User avatar
Ali
-
- -
+
+ User avatar +
Nick
- + User avatar
Sarah
diff --git a/apps/mail/components/navigation.tsx b/apps/mail/components/navigation.tsx index 87f1d7ff53..931b125687 100644 --- a/apps/mail/components/navigation.tsx +++ b/apps/mail/components/navigation.tsx @@ -15,6 +15,7 @@ import { useQuery } from '@tanstack/react-query'; import { Link, useNavigate } from 'react-router'; import { Button } from '@/components/ui/button'; import { useState, useEffect } from 'react'; +import { motion } from 'motion/react'; import { Menu } from 'lucide-react'; import { cn } from '@/lib/utils'; import { toast } from 'sonner'; @@ -188,26 +189,32 @@ export function Navigation() {
- + +
@@ -284,4 +291,4 @@ export function Navigation() {
); -} +} \ No newline at end of file