62 lines
2.0 KiB
TypeScript
62 lines
2.0 KiB
TypeScript
"use client";
|
|
|
|
import React from "react";
|
|
import { motion } from "framer-motion";
|
|
import { Card, CardContent } from "@/components/ui/card";
|
|
import {
|
|
Sparkles,
|
|
} from "lucide-react";
|
|
import { atsPageData } from "@/services/Constants";
|
|
|
|
|
|
|
|
|
|
// Overview Section Component
|
|
const OverviewSection: React.FC = () => {
|
|
return (
|
|
<section className="py-20 bg-white">
|
|
<div className="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8">
|
|
<motion.div
|
|
initial={{ opacity: 0, y: 20 }}
|
|
whileInView={{ opacity: 1, y: 0 }}
|
|
viewport={{ once: true }}
|
|
transition={{ duration: 0.6 }}
|
|
className="text-center mb-12"
|
|
>
|
|
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 mb-4">
|
|
{atsPageData.overview.title}
|
|
</h2>
|
|
<p className="text-lg text-gray-600 max-w-3xl mx-auto">
|
|
{atsPageData.overview.description}
|
|
</p>
|
|
</motion.div>
|
|
|
|
<div className="grid md:grid-cols-3 gap-8">
|
|
{atsPageData.overview.items.map((item, index) => (
|
|
<motion.div
|
|
key={index}
|
|
initial={{ opacity: 0, y: 20 }}
|
|
whileInView={{ opacity: 1, y: 0 }}
|
|
viewport={{ once: true }}
|
|
transition={{ delay: index * 0.2, duration: 0.6 }}
|
|
>
|
|
<Card className="h-full hover:shadow-xl transition-shadow duration-300 border-0 shadow-lg">
|
|
<CardContent className="p-8">
|
|
<div className="w-16 h-16 bg-gradient-to-br from-blue-500 to-purple-500 rounded-2xl flex items-center justify-center mb-6">
|
|
<Sparkles className="w-8 h-8 text-white" />
|
|
</div>
|
|
<h3 className="text-xl font-semibold mb-3 text-gray-900">
|
|
{item.title}
|
|
</h3>
|
|
<p className="text-gray-600">{item.description}</p>
|
|
</CardContent>
|
|
</Card>
|
|
</motion.div>
|
|
))}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export default OverviewSection |