new pages created
This commit is contained in:
51
app/(public)/ats/_components/Features.tsx
Normal file
51
app/(public)/ats/_components/Features.tsx
Normal file
@@ -0,0 +1,51 @@
|
||||
"use client";
|
||||
|
||||
import React from "react";
|
||||
import { motion } from "framer-motion";
|
||||
import { Card, CardContent } from "@/components/ui/card";
|
||||
import { atsPageData } from "@/services/Constants";
|
||||
|
||||
|
||||
|
||||
// Features Section Component
|
||||
const FeaturesSection: 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.h2
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true }}
|
||||
className="text-3xl md:text-4xl font-bold text-gray-900 text-center mb-14"
|
||||
>
|
||||
{atsPageData.features.title}
|
||||
</motion.h2>
|
||||
|
||||
<div className="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
|
||||
{atsPageData.features.items.map((feature, index) => (
|
||||
<motion.div
|
||||
key={index}
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true }}
|
||||
transition={{ delay: index * 0.1, duration: 0.6 }}
|
||||
whileHover={{ y: -8, scale: 1.02 }}
|
||||
>
|
||||
<Card className="h-full hover:shadow-xl transition-all duration-300 border-0 shadow-lg">
|
||||
<CardContent className="p-8">
|
||||
<div className="text-5xl mb-4">{feature.icon}</div>
|
||||
<h3 className="text-xl font-semibold mb-3 text-gray-900">
|
||||
{feature.title}
|
||||
</h3>
|
||||
<p className="text-gray-600">{feature.description}</p>
|
||||
</CardContent>
|
||||
</Card>
|
||||
</motion.div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default FeaturesSection
|
||||
Reference in New Issue
Block a user