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() {