49 lines
1.7 KiB
TypeScript
49 lines
1.7 KiB
TypeScript
"use client";
|
|
|
|
import React from "react";
|
|
import { motion } from "framer-motion";
|
|
import { Card, CardContent } from "@/components/ui/card";
|
|
import { atsPageData } from "@/services/Constants";
|
|
|
|
|
|
// Workflow Section Component
|
|
const WorkflowSection: React.FC = () => {
|
|
return (
|
|
<section className="py-20 bg-gradient-to-b from-gray-50 to-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.workflow.title}
|
|
</motion.h2>
|
|
|
|
<div className="grid md:grid-cols-2 lg:grid-cols-4 gap-8">
|
|
{atsPageData.workflow.steps.map((step, index) => (
|
|
<motion.div
|
|
key={index}
|
|
initial={{ opacity: 0, y: 20 }}
|
|
whileInView={{ opacity: 1, y: 0 }}
|
|
viewport={{ once: true }}
|
|
transition={{ delay: index * 0.15, duration: 0.6 }}
|
|
>
|
|
<Card className="h-full hover:shadow-xl transition-shadow duration-300 border-0 shadow-lg text-center">
|
|
<CardContent className="p-8">
|
|
<div className="text-6xl mb-4">{step.emoji}</div>
|
|
<h3 className="text-xl font-semibold mb-3 text-gray-900">
|
|
{step.title}
|
|
</h3>
|
|
<p className="text-gray-600">{step.description}</p>
|
|
</CardContent>
|
|
</Card>
|
|
</motion.div>
|
|
))}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export default WorkflowSection |