54 lines
1.7 KiB
TypeScript
54 lines
1.7 KiB
TypeScript
"use client";
|
|
|
|
import React from "react";
|
|
import { motion } from "framer-motion";
|
|
import { Button } from "@/components/ui/button";
|
|
import {
|
|
ArrowRight,
|
|
Sparkles,
|
|
} from "lucide-react";
|
|
import { atsPageData } from "@/services/Constants";
|
|
|
|
|
|
// CTA Section Component
|
|
const CtaSection: React.FC = () => {
|
|
return (
|
|
<section className="py-20 bg-gradient-to-br from-blue-600 via-purple-600 to-pink-600">
|
|
<div className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
|
|
<motion.div
|
|
initial={{ opacity: 0, y: 20 }}
|
|
whileInView={{ opacity: 1, y: 0 }}
|
|
viewport={{ once: true }}
|
|
transition={{ duration: 0.6 }}
|
|
>
|
|
<h2 className="text-3xl md:text-4xl lg:text-5xl font-bold text-white mb-6">
|
|
{atsPageData.cta.title}
|
|
</h2>
|
|
<p className="text-lg md:text-xl text-white/90 mb-10 max-w-2xl mx-auto">
|
|
{atsPageData.cta.description}
|
|
</p>
|
|
|
|
<div className="flex flex-col sm:flex-row gap-4 justify-center">
|
|
<Button
|
|
size="lg"
|
|
className="bg-white text-blue-700 hover:bg-gray-100 font-semibold px-8 py-6 text-lg shadow-xl"
|
|
>
|
|
{atsPageData.cta.primaryButton}
|
|
<Sparkles className="ml-2 w-5 h-5" />
|
|
</Button>
|
|
<Button
|
|
size="lg"
|
|
variant="outline"
|
|
className="border-2 border-white hover:bg-white/10 font-semibold px-8 py-6 text-lg"
|
|
>
|
|
{atsPageData.cta.secondaryButton}
|
|
<ArrowRight className="ml-2 w-5 h-5" />
|
|
</Button>
|
|
</div>
|
|
</motion.div>
|
|
</div>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export default CtaSection |