updated hero section and added google auth
This commit is contained in:
98
app/page.tsx
98
app/page.tsx
@@ -3,6 +3,8 @@ import { ArrowRight, Search, Zap, Target, Sparkles } from 'lucide-react'
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { DotPattern } from '@/components/magicui/dot-pattern'
|
||||
import { HeroShader } from '@/components/hero-shader'
|
||||
import { FeaturesSection } from '@/components/features-section'
|
||||
import { HeroSection } from '@/components/hero-section'
|
||||
import { cn } from '@/lib/utils'
|
||||
|
||||
export default function LandingPage() {
|
||||
@@ -15,28 +17,6 @@ export default function LandingPage() {
|
||||
)}
|
||||
/>
|
||||
|
||||
<HeroShader />
|
||||
|
||||
{/* Header */}
|
||||
<header className="border-b border-border/40 backdrop-blur-md sticky top-0 z-50">
|
||||
<div className="container mx-auto max-w-7xl px-4 py-4 flex items-center justify-between">
|
||||
<div className="flex items-center gap-2">
|
||||
<div className="flex h-8 w-8 items-center justify-center rounded-lg bg-primary text-primary-foreground">
|
||||
<Search className="h-4 w-4" />
|
||||
</div>
|
||||
<span className="font-semibold text-foreground tracking-tight">Sanati</span>
|
||||
</div>
|
||||
<nav className="flex items-center gap-4">
|
||||
<Link href="/dashboard" className="text-sm font-medium text-muted-foreground hover:text-foreground transition-colors">
|
||||
Dashboard
|
||||
</Link>
|
||||
<Link href="/auth">
|
||||
<Button size="sm" className="font-medium">Get Started</Button>
|
||||
</Link>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{/* Header */}
|
||||
<header className="border-b border-border/40 backdrop-blur-md sticky top-0 z-50">
|
||||
<div className="container mx-auto max-w-7xl px-4 py-4 flex items-center justify-between">
|
||||
@@ -58,76 +38,16 @@ export default function LandingPage() {
|
||||
</header>
|
||||
|
||||
{/* Hero */}
|
||||
<section className="container mx-auto max-w-7xl px-4 min-h-[75vh] flex items-center relative z-10">
|
||||
<div className="grid lg:grid-cols-2 gap-12 items-center w-full">
|
||||
<div className="flex flex-col items-start text-left space-y-8">
|
||||
<div className="inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80">
|
||||
<Sparkles className="mr-1 h-3 w-3" />
|
||||
AI-Powered Research
|
||||
</div>
|
||||
|
||||
<h1 className="text-4xl font-light tracking-tight sm:text-5xl lg:text-7xl text-foreground">
|
||||
Find Your Next
|
||||
<br />
|
||||
<span className="font-bold">Customers.</span>
|
||||
</h1>
|
||||
|
||||
<p className="max-w-xl text-lg text-muted-foreground font-light leading-relaxed">
|
||||
Sanati analyzes your product and finds people on Reddit, Hacker News, and forums
|
||||
who are actively expressing needs that your solution solves.
|
||||
</p>
|
||||
|
||||
<div className="flex flex-col sm:flex-row gap-4 pt-2">
|
||||
<Link href="/auth">
|
||||
<Button size="lg" className="gap-2 px-8 text-base">
|
||||
Start Finding Opportunities
|
||||
<ArrowRight className="h-4 w-4" />
|
||||
</Button>
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Right side is reserved for the shader visualization */}
|
||||
<div className="hidden lg:block h-full min-h-[400px]"></div>
|
||||
</div>
|
||||
<section className="relative w-full min-h-[75vh] overflow-hidden">
|
||||
{/* Hero */}
|
||||
<section className="relative w-full min-h-[75vh] overflow-hidden">
|
||||
<HeroShader />
|
||||
<HeroSection />
|
||||
</section>
|
||||
</section>
|
||||
|
||||
{/* Features */}
|
||||
<section className="border-t border-border/40 bg-muted/20 backdrop-blur-sm relative z-10">
|
||||
<div className="container mx-auto max-w-7xl px-4 py-24">
|
||||
<div className="grid md:grid-cols-3 gap-8">
|
||||
<div className="bg-card text-card-foreground p-6 rounded-xl border h-full w-full flex flex-col items-start text-left">
|
||||
<div className="flex h-10 w-10 items-center justify-center rounded-lg bg-primary/10 mb-4">
|
||||
<Zap className="h-5 w-5 text-primary" />
|
||||
</div>
|
||||
<h3 className="text-lg font-semibold mb-2">AI Analysis</h3>
|
||||
<p className="text-muted-foreground text-sm">
|
||||
We scrape your website and use GPT-4 to extract features, pain points, and keywords automatically.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="bg-card text-card-foreground p-6 rounded-xl border h-full w-full flex flex-col items-start text-left">
|
||||
<div className="flex h-10 w-10 items-center justify-center rounded-lg bg-primary/10 mb-4">
|
||||
<Search className="h-5 w-5 text-primary" />
|
||||
</div>
|
||||
<h3 className="text-lg font-semibold mb-2">Smart Dorking</h3>
|
||||
<p className="text-muted-foreground text-sm">
|
||||
Our system generates targeted Google dork queries to find high-intent posts across Reddit, HN, and more.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="bg-card text-card-foreground p-6 rounded-xl border h-full w-full flex flex-col items-start text-left">
|
||||
<div className="flex h-10 w-10 items-center justify-center rounded-lg bg-primary/10 mb-4">
|
||||
<Target className="h-5 w-5 text-primary" />
|
||||
</div>
|
||||
<h3 className="text-lg font-semibold mb-2">Scored Leads</h3>
|
||||
<p className="text-muted-foreground text-sm">
|
||||
Each opportunity is scored by relevance and comes with suggested engagement approaches.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<FeaturesSection />
|
||||
|
||||
{/* CTA */}
|
||||
<section className="container mx-auto max-w-7xl px-4 py-24 relative z-10">
|
||||
|
||||
Reference in New Issue
Block a user