new pages created
This commit is contained in:
@@ -1,46 +1,77 @@
|
||||
"use client"
|
||||
import React from 'react';
|
||||
import { motion } from 'framer-motion';
|
||||
import { CONTACT_DATA } from '@/services/Constants';
|
||||
"use client";
|
||||
import React from "react";
|
||||
import { motion } from "framer-motion";
|
||||
import { CONTACT_DATA } from "@/services/Constants";
|
||||
|
||||
const GetInTouch: React.FC = () => {
|
||||
return (
|
||||
<section className="relative py-24 px-6 overflow-hidden">
|
||||
|
||||
{/* Background Gradient Blobs */}
|
||||
<motion.div
|
||||
className="absolute inset-0 pointer-events-none opacity-30"
|
||||
animate={{ scale: [1, 1.08, 1] }}
|
||||
transition={{ duration: 18, repeat: Infinity }}
|
||||
>
|
||||
|
||||
</motion.div>
|
||||
|
||||
|
||||
// Get In Touch Component
|
||||
const GetInTouch: React.FC = () => (
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true }}
|
||||
className="bg-gray-50 rounded-3xl p-8 md:p-12 mb-20"
|
||||
>
|
||||
<div className="text-center mb-12">
|
||||
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 mb-4">
|
||||
{CONTACT_DATA.getInTouch.title}
|
||||
</h2>
|
||||
<p className="text-gray-600 max-w-2xl mx-auto">
|
||||
{CONTACT_DATA.getInTouch.description}
|
||||
</p>
|
||||
</div>
|
||||
<div className="grid md:grid-cols-3 gap-8">
|
||||
{CONTACT_DATA.getInTouch.methods.map((method, index) => (
|
||||
<motion.div
|
||||
key={index}
|
||||
<div className="relative z-10 max-w-6xl mx-auto text-center">
|
||||
{/* Title */}
|
||||
<motion.h2
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true }}
|
||||
transition={{ delay: index * 0.1 }}
|
||||
className="text-center"
|
||||
className="text-4xl md:text-5xl font-extrabold text-gray-900"
|
||||
>
|
||||
<div className={`w-16 h-16 mx-auto mb-4 bg-white rounded-2xl shadow-md flex items-center justify-center ${method.color}`}>
|
||||
<method.icon className="w-8 h-8" />
|
||||
</div>
|
||||
<h3 className="text-xl font-bold text-gray-900 mb-2">{method.title}</h3>
|
||||
<p className="text-gray-600 text-sm mb-2">{method.description}</p>
|
||||
<p className={`font-semibold ${method.color}`}>{method.contact}</p>
|
||||
</motion.div>
|
||||
))}
|
||||
</div>
|
||||
</motion.div>
|
||||
);
|
||||
{CONTACT_DATA.getInTouch.title}
|
||||
<span className="block mt-2 bg-gradient-to-r from-purple-600 to-pink-600 bg-clip-text text-transparent">
|
||||
Let’s Connect
|
||||
</span>
|
||||
</motion.h2>
|
||||
|
||||
export default GetInTouch
|
||||
<motion.p
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true }}
|
||||
className="mt-6 text-lg text-gray-600 max-w-2xl mx-auto"
|
||||
>
|
||||
{CONTACT_DATA.getInTouch.description}
|
||||
</motion.p>
|
||||
|
||||
{/* Contact Methods */}
|
||||
<div className="grid sm:grid-cols-2 md:grid-cols-3 gap-8 mt-16">
|
||||
{CONTACT_DATA.getInTouch.methods.map((method, index) => (
|
||||
<motion.div
|
||||
key={index}
|
||||
initial={{ opacity: 0, y: 25 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true }}
|
||||
transition={{ delay: index * 0.15 }}
|
||||
whileHover={{ scale: 1.05 }}
|
||||
className="p-8 bg-white/70 backdrop-blur-lg rounded-2xl shadow-lg hover:shadow-2xl transition-all cursor-pointer"
|
||||
>
|
||||
{/* Icon */}
|
||||
<div
|
||||
className={`w-14 h-14 mx-auto mb-5 rounded-xl flex items-center justify-center shadow-md ${method.color} `}
|
||||
>
|
||||
<method.icon className="w-7 h-7" />
|
||||
</div>
|
||||
|
||||
<h3 className="text-xl font-bold text-gray-900 mb-2">
|
||||
{method.title}
|
||||
</h3>
|
||||
|
||||
<p className="text-gray-600 text-sm mb-2">{method.description}</p>
|
||||
|
||||
<p className="font-semibold text-purple-700">{method.contact}</p>
|
||||
</motion.div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default GetInTouch;
|
||||
Reference in New Issue
Block a user