Created
March 2, 2025 06:37
-
-
Save awaismirza/e0d265df74a36e4ed368d905d8b57a45 to your computer and use it in GitHub Desktop.
Modren Landing Page React
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@tailwind base; | |
@tailwind components; | |
@tailwind utilities; | |
@layer base { | |
:root { | |
--background: 0 0% 100%; | |
--foreground: 222.2 84% 4.9%; | |
--card: 0 0% 100%; | |
--card-foreground: 222.2 84% 4.9%; | |
--popover: 0 0% 100%; | |
--popover-foreground: 222.2 84% 4.9%; | |
--primary: 221.2 83.2% 53.3%; | |
--primary-foreground: 210 40% 98%; | |
--secondary: 210 40% 96.1%; | |
--secondary-foreground: 222.2 47.4% 11.2%; | |
--muted: 210 40% 96.1%; | |
--muted-foreground: 215.4 16.3% 46.9%; | |
--accent: 210 40% 96.1%; | |
--accent-foreground: 222.2 47.4% 11.2%; | |
--destructive: 0 84.2% 60.2%; | |
--destructive-foreground: 210 40% 98%; | |
--border: 214.3 31.8% 91.4%; | |
--input: 214.3 31.8% 91.4%; | |
--ring: 221.2 83.2% 53.3%; | |
--radius: 0.5rem; | |
} | |
.dark { | |
--background: 222.2 84% 4.9%; | |
--foreground: 210 40% 98%; | |
--card: 222.2 84% 4.9%; | |
--card-foreground: 210 40% 98%; | |
--popover: 222.2 84% 4.9%; | |
--popover-foreground: 210 40% 98%; | |
--primary: 217.2 91.2% 59.8%; | |
--primary-foreground: 222.2 47.4% 11.2%; | |
--secondary: 217.2 32.6% 17.5%; | |
--secondary-foreground: 210 40% 98%; | |
--muted: 217.2 32.6% 17.5%; | |
--muted-foreground: 215 20.2% 65.1%; | |
--accent: 217.2 32.6% 17.5%; | |
--accent-foreground: 210 40% 98%; | |
--destructive: 0 62.8% 30.6%; | |
--destructive-foreground: 210 40% 98%; | |
--border: 217.2 32.6% 17.5%; | |
--input: 217.2 32.6% 17.5%; | |
--ring: 224.3 76.3% 48%; | |
} | |
} | |
@layer base { | |
* { | |
@apply border-border; | |
} | |
body { | |
@apply bg-background text-foreground; | |
} | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Button } from "@/components/ui/button" | |
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@/components/ui/card" | |
import { Badge } from "@/components/ui/badge" | |
import { | |
CheckCircle, | |
ArrowRight, | |
Zap, | |
BarChart2, | |
Clock, | |
Users, | |
Github, | |
Twitter, | |
Linkedin, | |
Facebook, | |
} from "lucide-react" | |
import Image from "next/image" | |
import Link from "next/link" | |
export default function LandingPage() { | |
return ( | |
<div className="flex min-h-screen flex-col"> | |
{/* Header */} | |
<header className="sticky top-0 z-50 w-full border-b bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60"> | |
<div className="container flex h-16 items-center justify-between"> | |
<div className="flex items-center gap-2"> | |
<Image src="/placeholder.svg?height=32&width=32" alt="StreamLine Logo" width={32} height={32} /> | |
<span className="text-xl font-bold">StreamLine</span> | |
</div> | |
<nav className="hidden md:flex gap-6"> | |
<Link href="#features" className="text-sm font-medium hover:text-primary"> | |
Features | |
</Link> | |
<Link href="#testimonials" className="text-sm font-medium hover:text-primary"> | |
Testimonials | |
</Link> | |
<Link href="#pricing" className="text-sm font-medium hover:text-primary"> | |
Pricing | |
</Link> | |
<Link href="#contact" className="text-sm font-medium hover:text-primary"> | |
Contact | |
</Link> | |
</nav> | |
<div className="flex items-center gap-4"> | |
<Button variant="ghost" size="sm" asChild> | |
<Link href="/login">Log in</Link> | |
</Button> | |
<Button size="sm" asChild> | |
<Link href="/signup">Sign up</Link> | |
</Button> | |
</div> | |
</div> | |
</header> | |
<main className="flex-1"> | |
{/* Hero Section */} | |
<section className="w-full py-12 md:py-24 lg:py-32 xl:py-48"> | |
<div className="container px-4 md:px-6"> | |
<div className="grid gap-6 lg:grid-cols-[1fr_400px] lg:gap-12 xl:grid-cols-[1fr_500px]"> | |
<div className="flex flex-col justify-center space-y-4"> | |
<div className="space-y-2"> | |
<Badge className="inline-flex">New Release</Badge> | |
<h1 className="text-3xl font-bold tracking-tighter sm:text-5xl xl:text-6xl/none"> | |
Streamline Your Workflow, Amplify Your Productivity | |
</h1> | |
<p className="max-w-[600px] text-muted-foreground md:text-xl"> | |
The all-in-one platform that helps teams collaborate, automate, and deliver results faster than ever | |
before. | |
</p> | |
</div> | |
<div className="flex flex-col gap-2 min-[400px]:flex-row"> | |
<Button size="lg" asChild> | |
<Link href="/signup">Get Started for Free</Link> | |
</Button> | |
<Button variant="outline" size="lg" asChild> | |
<Link href="/demo"> | |
Request Demo | |
<ArrowRight className="ml-2 h-4 w-4" /> | |
</Link> | |
</Button> | |
</div> | |
</div> | |
<div className="flex items-center justify-center"> | |
<Image | |
src="/placeholder.svg?height=500&width=500" | |
alt="StreamLine Dashboard" | |
width={500} | |
height={500} | |
className="rounded-lg object-cover" | |
/> | |
</div> | |
</div> | |
</div> | |
</section> | |
{/* Features Section */} | |
<section id="features" className="w-full py-12 md:py-24 lg:py-32 bg-muted"> | |
<div className="container px-4 md:px-6"> | |
<div className="flex flex-col items-center justify-center space-y-4 text-center"> | |
<div className="space-y-2"> | |
<h2 className="text-3xl font-bold tracking-tighter sm:text-5xl">Powerful Features</h2> | |
<p className="max-w-[900px] text-muted-foreground md:text-xl/relaxed lg:text-base/relaxed xl:text-xl/relaxed"> | |
Everything you need to optimize your workflow and boost productivity | |
</p> | |
</div> | |
</div> | |
<div className="grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-4 mt-12"> | |
<Card> | |
<CardHeader> | |
<Zap className="h-10 w-10 text-primary mb-2" /> | |
<CardTitle>Automation</CardTitle> | |
</CardHeader> | |
<CardContent> | |
<p className="text-muted-foreground"> | |
Automate repetitive tasks and workflows to save time and reduce errors. | |
</p> | |
</CardContent> | |
</Card> | |
<Card> | |
<CardHeader> | |
<BarChart2 className="h-10 w-10 text-primary mb-2" /> | |
<CardTitle>Analytics</CardTitle> | |
</CardHeader> | |
<CardContent> | |
<p className="text-muted-foreground"> | |
Gain valuable insights with comprehensive analytics and reporting tools. | |
</p> | |
</CardContent> | |
</Card> | |
<Card> | |
<CardHeader> | |
<Clock className="h-10 w-10 text-primary mb-2" /> | |
<CardTitle>Time Tracking</CardTitle> | |
</CardHeader> | |
<CardContent> | |
<p className="text-muted-foreground"> | |
Track time spent on tasks and projects to improve productivity and billing. | |
</p> | |
</CardContent> | |
</Card> | |
<Card> | |
<CardHeader> | |
<Users className="h-10 w-10 text-primary mb-2" /> | |
<CardTitle>Collaboration</CardTitle> | |
</CardHeader> | |
<CardContent> | |
<p className="text-muted-foreground"> | |
Work together seamlessly with real-time collaboration and communication tools. | |
</p> | |
</CardContent> | |
</Card> | |
</div> | |
</div> | |
</section> | |
{/* Testimonials Section */} | |
<section id="testimonials" className="w-full py-12 md:py-24 lg:py-32"> | |
<div className="container px-4 md:px-6"> | |
<div className="flex flex-col items-center justify-center space-y-4 text-center"> | |
<div className="space-y-2"> | |
<h2 className="text-3xl font-bold tracking-tighter sm:text-5xl">What Our Customers Say</h2> | |
<p className="max-w-[900px] text-muted-foreground md:text-xl/relaxed lg:text-base/relaxed xl:text-xl/relaxed"> | |
Don't just take our word for it. Here's what our customers have to say about StreamLine. | |
</p> | |
</div> | |
</div> | |
<div className="grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3 mt-12"> | |
<Card> | |
<CardHeader> | |
<div className="flex items-center gap-4"> | |
<Image | |
src="/placeholder.svg?height=60&width=60" | |
alt="Sarah Johnson" | |
width={60} | |
height={60} | |
className="rounded-full" | |
/> | |
<div> | |
<CardTitle className="text-lg">Sarah Johnson</CardTitle> | |
<CardDescription>Marketing Director, TechCorp</CardDescription> | |
</div> | |
</div> | |
</CardHeader> | |
<CardContent> | |
<p className="text-muted-foreground"> | |
"StreamLine has transformed how our marketing team operates. We've reduced our campaign launch time | |
by 40% and improved our collaboration across departments." | |
</p> | |
</CardContent> | |
</Card> | |
<Card> | |
<CardHeader> | |
<div className="flex items-center gap-4"> | |
<Image | |
src="/placeholder.svg?height=60&width=60" | |
alt="Michael Chen" | |
width={60} | |
height={60} | |
className="rounded-full" | |
/> | |
<div> | |
<CardTitle className="text-lg">Michael Chen</CardTitle> | |
<CardDescription>CTO, InnovateCo</CardDescription> | |
</div> | |
</div> | |
</CardHeader> | |
<CardContent> | |
<p className="text-muted-foreground"> | |
"The automation capabilities in StreamLine have saved our development team countless hours. The ROI | |
was evident within the first month of implementation." | |
</p> | |
</CardContent> | |
</Card> | |
<Card> | |
<CardHeader> | |
<div className="flex items-center gap-4"> | |
<Image | |
src="/placeholder.svg?height=60&width=60" | |
alt="Emily Rodriguez" | |
width={60} | |
height={60} | |
className="rounded-full" | |
/> | |
<div> | |
<CardTitle className="text-lg">Emily Rodriguez</CardTitle> | |
<CardDescription>Project Manager, DesignHub</CardDescription> | |
</div> | |
</div> | |
</CardHeader> | |
<CardContent> | |
<p className="text-muted-foreground"> | |
"As a project manager, I need visibility across all our initiatives. StreamLine provides exactly | |
that, plus the analytics help me make data-driven decisions." | |
</p> | |
</CardContent> | |
</Card> | |
</div> | |
</div> | |
</section> | |
{/* Pricing Section */} | |
<section id="pricing" className="w-full py-12 md:py-24 lg:py-32 bg-muted"> | |
<div className="container px-4 md:px-6"> | |
<div className="flex flex-col items-center justify-center space-y-4 text-center"> | |
<div className="space-y-2"> | |
<h2 className="text-3xl font-bold tracking-tighter sm:text-5xl">Simple, Transparent Pricing</h2> | |
<p className="max-w-[900px] text-muted-foreground md:text-xl/relaxed lg:text-base/relaxed xl:text-xl/relaxed"> | |
Choose the plan that's right for your team. All plans include a 14-day free trial. | |
</p> | |
</div> | |
</div> | |
<div className="grid grid-cols-1 gap-6 md:grid-cols-3 mt-12"> | |
<Card> | |
<CardHeader> | |
<CardTitle>Starter</CardTitle> | |
<div className="flex items-baseline gap-1"> | |
<span className="text-3xl font-bold">$9</span> | |
<span className="text-muted-foreground">/month per user</span> | |
</div> | |
</CardHeader> | |
<CardContent> | |
<ul className="space-y-2"> | |
<li className="flex items-center gap-2"> | |
<CheckCircle className="h-4 w-4 text-primary" /> | |
<span>Basic automation</span> | |
</li> | |
<li className="flex items-center gap-2"> | |
<CheckCircle className="h-4 w-4 text-primary" /> | |
<span>5 projects</span> | |
</li> | |
<li className="flex items-center gap-2"> | |
<CheckCircle className="h-4 w-4 text-primary" /> | |
<span>Basic reporting</span> | |
</li> | |
<li className="flex items-center gap-2"> | |
<CheckCircle className="h-4 w-4 text-primary" /> | |
<span>Email support</span> | |
</li> | |
</ul> | |
</CardContent> | |
<CardFooter> | |
<Button className="w-full" asChild> | |
<Link href="/signup?plan=starter">Get Started</Link> | |
</Button> | |
</CardFooter> | |
</Card> | |
<Card className="border-primary"> | |
<CardHeader> | |
<Badge className="absolute right-4 top-4">Popular</Badge> | |
<CardTitle>Professional</CardTitle> | |
<div className="flex items-baseline gap-1"> | |
<span className="text-3xl font-bold">$29</span> | |
<span className="text-muted-foreground">/month per user</span> | |
</div> | |
</CardHeader> | |
<CardContent> | |
<ul className="space-y-2"> | |
<li className="flex items-center gap-2"> | |
<CheckCircle className="h-4 w-4 text-primary" /> | |
<span>Advanced automation</span> | |
</li> | |
<li className="flex items-center gap-2"> | |
<CheckCircle className="h-4 w-4 text-primary" /> | |
<span>Unlimited projects</span> | |
</li> | |
<li className="flex items-center gap-2"> | |
<CheckCircle className="h-4 w-4 text-primary" /> | |
<span>Advanced analytics</span> | |
</li> | |
<li className="flex items-center gap-2"> | |
<CheckCircle className="h-4 w-4 text-primary" /> | |
<span>Priority support</span> | |
</li> | |
<li className="flex items-center gap-2"> | |
<CheckCircle className="h-4 w-4 text-primary" /> | |
<span>Team collaboration</span> | |
</li> | |
</ul> | |
</CardContent> | |
<CardFooter> | |
<Button className="w-full" asChild> | |
<Link href="/signup?plan=professional">Get Started</Link> | |
</Button> | |
</CardFooter> | |
</Card> | |
<Card> | |
<CardHeader> | |
<CardTitle>Enterprise</CardTitle> | |
<div className="flex items-baseline gap-1"> | |
<span className="text-3xl font-bold">$79</span> | |
<span className="text-muted-foreground">/month per user</span> | |
</div> | |
</CardHeader> | |
<CardContent> | |
<ul className="space-y-2"> | |
<li className="flex items-center gap-2"> | |
<CheckCircle className="h-4 w-4 text-primary" /> | |
<span>Custom automation</span> | |
</li> | |
<li className="flex items-center gap-2"> | |
<CheckCircle className="h-4 w-4 text-primary" /> | |
<span>Unlimited everything</span> | |
</li> | |
<li className="flex items-center gap-2"> | |
<CheckCircle className="h-4 w-4 text-primary" /> | |
<span>Advanced security</span> | |
</li> | |
<li className="flex items-center gap-2"> | |
<CheckCircle className="h-4 w-4 text-primary" /> | |
<span>Dedicated support</span> | |
</li> | |
<li className="flex items-center gap-2"> | |
<CheckCircle className="h-4 w-4 text-primary" /> | |
<span>Custom integrations</span> | |
</li> | |
<li className="flex items-center gap-2"> | |
<CheckCircle className="h-4 w-4 text-primary" /> | |
<span>SLA guarantees</span> | |
</li> | |
</ul> | |
</CardContent> | |
<CardFooter> | |
<Button className="w-full" asChild> | |
<Link href="/signup?plan=enterprise">Get Started</Link> | |
</Button> | |
</CardFooter> | |
</Card> | |
</div> | |
</div> | |
</section> | |
{/* Final CTA Section */} | |
<section id="contact" className="w-full py-12 md:py-24 lg:py-32"> | |
<div className="container px-4 md:px-6"> | |
<div className="flex flex-col items-center justify-center space-y-4 text-center"> | |
<div className="space-y-2"> | |
<h2 className="text-3xl font-bold tracking-tighter sm:text-5xl">Ready to Transform Your Workflow?</h2> | |
<p className="max-w-[600px] text-muted-foreground md:text-xl/relaxed lg:text-base/relaxed xl:text-xl/relaxed"> | |
Join thousands of teams that use StreamLine to boost productivity and streamline their operations. | |
</p> | |
</div> | |
<div className="flex flex-col gap-2 min-[400px]:flex-row"> | |
<Button size="lg" asChild> | |
<Link href="/signup">Start Your Free Trial</Link> | |
</Button> | |
<Button variant="outline" size="lg" asChild> | |
<Link href="/contact">Talk to Sales</Link> | |
</Button> | |
</div> | |
</div> | |
</div> | |
</section> | |
</main> | |
{/* Footer */} | |
<footer className="w-full border-t bg-background py-6 md:py-12"> | |
<div className="container px-4 md:px-6"> | |
<div className="grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-4"> | |
<div className="space-y-4"> | |
<div className="flex items-center gap-2"> | |
<Image src="/placeholder.svg?height=32&width=32" alt="StreamLine Logo" width={32} height={32} /> | |
<span className="text-xl font-bold">StreamLine</span> | |
</div> | |
<p className="text-sm text-muted-foreground">Streamline your workflow, amplify your productivity.</p> | |
</div> | |
<div className="space-y-4"> | |
<h4 className="text-sm font-bold">Product</h4> | |
<ul className="space-y-2 text-sm"> | |
<li> | |
<Link href="#features" className="text-muted-foreground hover:text-foreground"> | |
Features | |
</Link> | |
</li> | |
<li> | |
<Link href="#pricing" className="text-muted-foreground hover:text-foreground"> | |
Pricing | |
</Link> | |
</li> | |
<li> | |
<Link href="/integrations" className="text-muted-foreground hover:text-foreground"> | |
Integrations | |
</Link> | |
</li> | |
<li> | |
<Link href="/roadmap" className="text-muted-foreground hover:text-foreground"> | |
Roadmap | |
</Link> | |
</li> | |
</ul> | |
</div> | |
<div className="space-y-4"> | |
<h4 className="text-sm font-bold">Resources</h4> | |
<ul className="space-y-2 text-sm"> | |
<li> | |
<Link href="/blog" className="text-muted-foreground hover:text-foreground"> | |
Blog | |
</Link> | |
</li> | |
<li> | |
<Link href="/docs" className="text-muted-foreground hover:text-foreground"> | |
Documentation | |
</Link> | |
</li> | |
<li> | |
<Link href="/guides" className="text-muted-foreground hover:text-foreground"> | |
Guides | |
</Link> | |
</li> | |
<li> | |
<Link href="/support" className="text-muted-foreground hover:text-foreground"> | |
Support | |
</Link> | |
</li> | |
</ul> | |
</div> | |
<div className="space-y-4"> | |
<h4 className="text-sm font-bold">Company</h4> | |
<ul className="space-y-2 text-sm"> | |
<li> | |
<Link href="/about" className="text-muted-foreground hover:text-foreground"> | |
About | |
</Link> | |
</li> | |
<li> | |
<Link href="/careers" className="text-muted-foreground hover:text-foreground"> | |
Careers | |
</Link> | |
</li> | |
<li> | |
<Link href="/privacy" className="text-muted-foreground hover:text-foreground"> | |
Privacy | |
</Link> | |
</li> | |
<li> | |
<Link href="/terms" className="text-muted-foreground hover:text-foreground"> | |
Terms | |
</Link> | |
</li> | |
</ul> | |
</div> | |
</div> | |
<div className="mt-8 flex flex-col items-center justify-between gap-4 border-t pt-8 md:flex-row"> | |
<p className="text-xs text-muted-foreground"> | |
© {new Date().getFullYear()} StreamLine. All rights reserved. | |
</p> | |
<div className="flex gap-4"> | |
<Link href="https://twitter.com" className="text-muted-foreground hover:text-foreground"> | |
<Twitter className="h-5 w-5" /> | |
<span className="sr-only">Twitter</span> | |
</Link> | |
<Link href="https://github.com" className="text-muted-foreground hover:text-foreground"> | |
<Github className="h-5 w-5" /> | |
<span className="sr-only">GitHub</span> | |
</Link> | |
<Link href="https://linkedin.com" className="text-muted-foreground hover:text-foreground"> | |
<Linkedin className="h-5 w-5" /> | |
<span className="sr-only">LinkedIn</span> | |
</Link> | |
<Link href="https://facebook.com" className="text-muted-foreground hover:text-foreground"> | |
<Facebook className="h-5 w-5" /> | |
<span className="sr-only">Facebook</span> | |
</Link> | |
</div> | |
</div> | |
</div> | |
</footer> | |
</div> | |
) | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @type {import('tailwindcss').Config} */ | |
module.exports = { | |
darkMode: ["class"], | |
content: [ | |
"./pages/**/*.{ts,tsx}", | |
"./components/**/*.{ts,tsx}", | |
"./app/**/*.{ts,tsx}", | |
"./src/**/*.{ts,tsx}", | |
"*.{js,ts,jsx,tsx,mdx}", | |
], | |
theme: { | |
container: { | |
center: true, | |
padding: "2rem", | |
screens: { | |
"2xl": "1400px", | |
}, | |
}, | |
extend: { | |
colors: { | |
border: "hsl(var(--border))", | |
input: "hsl(var(--input))", | |
ring: "hsl(var(--ring))", | |
background: "hsl(var(--background))", | |
foreground: "hsl(var(--foreground))", | |
primary: { | |
DEFAULT: "hsl(var(--primary))", | |
foreground: "hsl(var(--primary-foreground))", | |
}, | |
secondary: { | |
DEFAULT: "hsl(var(--secondary))", | |
foreground: "hsl(var(--secondary-foreground))", | |
}, | |
destructive: { | |
DEFAULT: "hsl(var(--destructive))", | |
foreground: "hsl(var(--destructive-foreground))", | |
}, | |
muted: { | |
DEFAULT: "hsl(var(--muted))", | |
foreground: "hsl(var(--muted-foreground))", | |
}, | |
accent: { | |
DEFAULT: "hsl(var(--accent))", | |
foreground: "hsl(var(--accent-foreground))", | |
}, | |
popover: { | |
DEFAULT: "hsl(var(--popover))", | |
foreground: "hsl(var(--popover-foreground))", | |
}, | |
card: { | |
DEFAULT: "hsl(var(--card))", | |
foreground: "hsl(var(--card-foreground))", | |
}, | |
}, | |
borderRadius: { | |
lg: "var(--radius)", | |
md: "calc(var(--radius) - 2px)", | |
sm: "calc(var(--radius) - 4px)", | |
}, | |
keyframes: { | |
"accordion-down": { | |
from: { height: 0 }, | |
to: { height: "var(--radix-accordion-content-height)" }, | |
}, | |
"accordion-up": { | |
from: { height: "var(--radix-accordion-content-height)" }, | |
to: { height: 0 }, | |
}, | |
}, | |
animation: { | |
"accordion-down": "accordion-down 0.2s ease-out", | |
"accordion-up": "accordion-up 0.2s ease-out", | |
}, | |
}, | |
}, | |
plugins: [require("tailwindcss-animate")], | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment