From 1b14ae3492f35a008536cb4af96791dbe63875b4 Mon Sep 17 00:00:00 2001 From: bender Date: Mon, 20 Apr 2026 01:36:46 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index fa53527..5ada08d 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -13,6 +13,7 @@ import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatin import SocialProofOne from '@/components/sections/socialProof/SocialProofOne'; import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve'; import Input from '@/components/form/Input'; +import { AlertCircle, Loader2 } from "lucide-react"; export default function LandingPage() { const [searchQuery, setSearchQuery] = useState(""); @@ -21,6 +22,7 @@ export default function LandingPage() { const [error, setError] = useState(null); const handleSearch = useCallback(async () => { + if (!searchQuery.trim()) return; setLoading(true); setError(null); try { @@ -53,9 +55,8 @@ export default function LandingPage() { @@ -66,22 +67,32 @@ export default function LandingPage() { background={{ variant: "plain" }} title="Find local businesses without websites" description="Find local businesses without websites and deploy AI agents to fill your pipeline — automatically." - buttons={[{ text: "Get Started", href: "#pricing" }]} + buttons={[{ text: "Get Started", href: "#contact" }]} imageSrc="http://img.b2bpic.net/free-photo/employee-uses-phone-app-with-greenscreen_482257-81843.jpg" imageAlt="Dashboard showing business leads" /> -
-
+
+
-
- {error &&

{error}

} + {error && ( +
+ + {error} +
+ )}
@@ -164,7 +175,8 @@ export default function LandingPage() { -- 2.49.1