style: change the visual

This commit is contained in:
RiO
2024-12-25 06:29:45 +05:30
parent c752d9417c
commit 5128cf55df
3 changed files with 64 additions and 33 deletions

View File

@@ -22,22 +22,24 @@ const teamStructure = [
export function TeamSection() {
return (
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
{teamStructure.map((team, index) => (
<motion.div
key={team.title}
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
transition={{ delay: index * 0.1 }}
className="bg-white/80 backdrop-blur-sm p-6 rounded-lg shadow-sm"
className="bg-white/80 backdrop-blur-sm p-8 rounded-lg shadow-xl hover:scale-105 hover:shadow-2xl transition-all duration-300"
>
<div className="flex items-center gap-3 mb-3">
<Users className="h-5 w-5 text-cornflower-blue" />
<h3 className="text-lg font-semibold text-gray-900">{team.title}</h3>
<div className="flex items-center justify-center gap-4 mb-6">
<div className="p-3 bg-cornflower-blue/20 rounded-full">
<Users className="h-8 w-8 text-cornflower-blue" />
</div>
<h3 className="text-xl font-bold text-gray-900">{team.title}</h3>
</div>
<p className="text-gray-600">{team.description}</p>
<p className="text-gray-600 text-lg leading-relaxed">{team.description}</p>
</motion.div>
))}
</div>
);
}
}