108 lines
4.6 KiB
Text
108 lines
4.6 KiB
Text
import Link from 'next/link'
|
|
import { Button } from '@/components/ui/button'
|
|
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'
|
|
import { Badge } from '@/components/ui/badge'
|
|
import { StripeStatus } from '@/components/stripe-status'
|
|
import { HeroSection } from "@/components/hero-section"
|
|
import { StatsSection } from "@/components/stats-section"
|
|
import { FeaturesSection } from "@/components/features-section"
|
|
import { ProductShowcaseSection } from "@/components/product-showcase-section"
|
|
import { HowItWorksSection } from "@/components/how-it-works-section"
|
|
import { ServicesSection } from "@/components/services-section"
|
|
import { ServiceAreasSection } from "@/components/service-areas-section"
|
|
import { ReviewsSection } from "@/components/reviews-section"
|
|
import { RequestMachineSection } from "@/components/request-machine-section"
|
|
import { ContactSection } from "@/components/contact-section"
|
|
import { Package, ShoppingCart, Settings, Zap } from 'lucide-react'
|
|
|
|
export default function Home() {
|
|
return (
|
|
<>
|
|
{/* Stripe Setup Section */}
|
|
<section className="py-12 bg-gradient-to-r from-blue-50 to-indigo-50">
|
|
<div className="container mx-auto px-4">
|
|
<div className="text-center space-y-4 mb-8">
|
|
<div className="flex items-center justify-center gap-2">
|
|
<Zap className="h-8 w-8 text-blue-600" />
|
|
<h2 className="text-3xl font-bold tracking-tight">Ready for Stripe Products!</h2>
|
|
</div>
|
|
<p className="text-lg text-muted-foreground max-w-2xl mx-auto">
|
|
Your Stripe integration is active. Add products to your Stripe account and they'll automatically appear in your store.
|
|
</p>
|
|
</div>
|
|
|
|
<div className="grid grid-cols-1 lg:grid-cols-3 gap-6">
|
|
<Link href="https://dashboard.stripe.com/products/new">
|
|
<Card className="h-full hover:shadow-lg transition-shadow cursor-pointer">
|
|
<CardContent className="p-6 flex flex-col items-center text-center">
|
|
<Package className="h-12 w-12 text-blue-600 mb-4" />
|
|
<h3 className="font-semibold mb-2">Add Products</h3>
|
|
<p className="text-sm text-muted-foreground mb-4">
|
|
Create products in Stripe Dashboard
|
|
</p>
|
|
<Button className="w-full">
|
|
Add Products Now
|
|
</Button>
|
|
</CardContent>
|
|
</Card>
|
|
</Link>
|
|
|
|
<Link href="/products">
|
|
<Card className="h-full hover:shadow-lg transition-shadow cursor-pointer">
|
|
<CardContent className="p-6 flex flex-col items-center text-center">
|
|
<ShoppingCart className="h-12 w-12 text-green-600 mb-4" />
|
|
<h3 className="font-semibold mb-2">View Store</h3>
|
|
<p className="text-sm text-muted-foreground mb-4">
|
|
Browse your catalog and test checkout
|
|
</p>
|
|
<Button className="w-full">
|
|
View Store
|
|
</Button>
|
|
</CardContent>
|
|
</Card>
|
|
</Link>
|
|
|
|
<Link href="/stripe-setup">
|
|
<Card className="h-full hover:shadow-lg transition-shadow cursor-pointer">
|
|
<CardContent className="p-6 flex flex-col items-center text-center">
|
|
<Settings className="h-12 w-12 text-purple-600 mb-4" />
|
|
<h3 className="font-semibold mb-2">Setup Guide</h3>
|
|
<p className="text-sm text-muted-foreground mb-4">
|
|
Complete setup checklist and view status
|
|
</p>
|
|
<Button className="w-full">
|
|
Setup Guide
|
|
</Button>
|
|
</CardContent>
|
|
</Card>
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
{/* Live Stripe Status */}
|
|
<section className="py-12">
|
|
<div className="container mx-auto px-4">
|
|
<div className="mb-8">
|
|
<h2 className="text-2xl font-bold tracking-tight mb-2">Stripe Integration Status</h2>
|
|
<p className="text-muted-foreground">
|
|
Real-time status of your Stripe connection and store readiness
|
|
</p>
|
|
</div>
|
|
<StripeStatus />
|
|
</div>
|
|
</section>
|
|
|
|
<HeroSection />
|
|
<StatsSection />
|
|
<FeaturesSection />
|
|
<ProductShowcaseSection />
|
|
<HowItWorksSection />
|
|
<ServicesSection />
|
|
<ServiceAreasSection />
|
|
<ReviewsSection />
|
|
<RequestMachineSection />
|
|
<ContactSection />
|
|
</>
|
|
)
|
|
}
|