139 lines
5.2 KiB
TypeScript
139 lines
5.2 KiB
TypeScript
"use client";
|
|
import React, { } from "react";
|
|
import { motion } from "framer-motion";
|
|
import {
|
|
Check,
|
|
ArrowRight,
|
|
PlayCircle,
|
|
} from "lucide-react";
|
|
import { Button } from "@/components/ui/button";
|
|
import { home } from "@/services/Constants";
|
|
|
|
const Hero = () => {
|
|
return (
|
|
<section className="relative pt-32 pb-20 px-4 overflow-hidden bg-gradient-to-br from-purple-50 via-pink-50 to-blue-50">
|
|
{/* Animated Background Elements */}
|
|
<div className="absolute inset-0 overflow-hidden">
|
|
<motion.div
|
|
animate={{
|
|
scale: [1, 1.2, 1],
|
|
rotate: [0, 90, 0],
|
|
}}
|
|
transition={{ duration: 20, repeat: Infinity }}
|
|
className="absolute -top-20 -left-20 w-72 h-72 bg-purple-300 rounded-full mix-blend-multiply filter blur-3xl opacity-30"
|
|
/>
|
|
<motion.div
|
|
animate={{
|
|
scale: [1.2, 1, 1.2],
|
|
rotate: [90, 0, 90],
|
|
}}
|
|
transition={{ duration: 25, repeat: Infinity }}
|
|
className="absolute top-40 -right-20 w-96 h-96 bg-pink-300 rounded-full mix-blend-multiply filter blur-3xl opacity-30"
|
|
/>
|
|
<motion.div
|
|
animate={{
|
|
scale: [1, 1.3, 1],
|
|
rotate: [0, -90, 0],
|
|
}}
|
|
transition={{ duration: 30, repeat: Infinity }}
|
|
className="absolute -bottom-20 left-1/2 w-96 h-96 bg-blue-300 rounded-full mix-blend-multiply filter blur-3xl opacity-30"
|
|
/>
|
|
</div>
|
|
|
|
<div className="max-w-7xl mx-auto relative z-10">
|
|
<div className="text-center max-w-4xl mx-auto">
|
|
<motion.div
|
|
initial={{ opacity: 0, y: 20 }}
|
|
animate={{ opacity: 1, y: 0 }}
|
|
transition={{ duration: 0.6 }}
|
|
>
|
|
<span className="inline-block px-4 py-2 bg-purple-100 text-purple-700 rounded-full text-sm font-semibold mb-6">
|
|
✨ AI-Powered Recruitment Platform
|
|
</span>
|
|
</motion.div>
|
|
|
|
<motion.h1
|
|
initial={{ opacity: 0, y: 20 }}
|
|
animate={{ opacity: 1, y: 0 }}
|
|
transition={{ duration: 0.6, delay: 0.1 }}
|
|
className="text-5xl md:text-7xl font-bold mb-6 leading-tight"
|
|
>
|
|
Hire Top Talent{" "}
|
|
<span className="bg-gradient-to-r from-purple-600 via-pink-600 to-blue-600 bg-clip-text text-transparent">
|
|
10x Faster
|
|
</span>
|
|
</motion.h1>
|
|
|
|
<motion.p
|
|
initial={{ opacity: 0, y: 20 }}
|
|
animate={{ opacity: 1, y: 0 }}
|
|
transition={{ duration: 0.6, delay: 0.2 }}
|
|
className="text-xl md:text-2xl text-gray-600 mb-10 leading-relaxed"
|
|
>
|
|
The world's most intelligent ATS that automates screening,
|
|
scheduling, and hiring. Join 10,000+ companies who trust TalentFlow.
|
|
</motion.p>
|
|
|
|
<motion.div
|
|
initial={{ opacity: 0, y: 20 }}
|
|
animate={{ opacity: 1, y: 0 }}
|
|
transition={{ duration: 0.6, delay: 0.3 }}
|
|
className="flex flex-col sm:flex-row gap-4 justify-center items-center"
|
|
>
|
|
<Button
|
|
size="lg"
|
|
className="bg-gradient-to-r from-purple-600 to-pink-600 hover:from-purple-700 hover:to-pink-700 text-white px-8 py-6 text-lg font-semibold rounded-xl shadow-xl hover:shadow-2xl transform hover:scale-105 transition-all"
|
|
>
|
|
Start Free Trial
|
|
<ArrowRight className="ml-2 w-5 h-5" />
|
|
</Button>
|
|
<Button
|
|
size="lg"
|
|
variant="outline"
|
|
className="px-8 py-6 text-lg font-semibold rounded-xl border-2 hover:bg-gray-50"
|
|
>
|
|
<PlayCircle className="mr-2 w-5 h-5" />
|
|
Watch Demo
|
|
</Button>
|
|
</motion.div>
|
|
|
|
<motion.div
|
|
initial={{ opacity: 0 }}
|
|
animate={{ opacity: 1 }}
|
|
transition={{ duration: 0.6, delay: 0.4 }}
|
|
className="mt-8 flex items-center justify-center gap-2 text-sm text-gray-600"
|
|
>
|
|
<Check className="w-5 h-5 text-green-500" />
|
|
<span>No credit card required</span>
|
|
<span className="mx-2">•</span>
|
|
<Check className="w-5 h-5 text-green-500" />
|
|
<span>14-day free trial</span>
|
|
</motion.div>
|
|
</div>
|
|
|
|
{/* Stats Section */}
|
|
<motion.div
|
|
initial={{ opacity: 0, y: 40 }}
|
|
animate={{ opacity: 1, y: 0 }}
|
|
transition={{ duration: 0.8, delay: 0.5 }}
|
|
className="mt-20 grid grid-cols-2 md:grid-cols-4 gap-8"
|
|
>
|
|
{home.stats.map((stat, index) => (
|
|
<motion.div
|
|
key={index}
|
|
whileHover={{ scale: 1.05 }}
|
|
className="text-center p-6 rounded-2xl bg-white/80 backdrop-blur-sm shadow-lg"
|
|
>
|
|
<div className="text-4xl md:text-5xl font-bold bg-gradient-to-r from-purple-600 to-pink-600 bg-clip-text text-transparent mb-2">
|
|
{stat.value}
|
|
</div>
|
|
<div className="text-gray-600 font-medium">{stat.label}</div>
|
|
</motion.div>
|
|
))}
|
|
</motion.div>
|
|
</div>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export default Hero |