Skip to content

Commit a3688a9

Browse files
Merge pull request #317 from DineshSivalanka/dinesh
Enhance hover effects for Features section
2 parents a6e708b + e9558bb commit a3688a9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/Features.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ const Features = () => {
7272
{features.map((feature, index) => {
7373
const IconComponent = feature.icon;
7474
return (
75-
<div key={index} className="bg-gray-50 dark:bg-gray-800 p-8 rounded-2xl transition-all duration-300 hover:-translate-y-2 hover:shadow-2xl hover:bg-blue-100 dark:hover:bg-gray-600">
76-
<div className={`${feature.bgColor} w-12 h-12 rounded-lg flex items-center justify-center mb-6 transition-transform hover:scale-110 duration-300`}>
75+
<div key={index} className={`group h-72 w-full bg-gray-100 dark:bg-gray-800 ${feature.hoverColor} ${feature.borderColor} rounded-2xl shadow-md hover:shadow-2xl hover:shadow-blue-500/20 border dark:border-gray-800 transform hover:-translate-y-3 hover:scale-105 backdrop-blur-sm transition-all duration-300 ease-linear p-6`}>
76+
<div className={`${feature.bgColor} w-12 h-12 rounded-lg flex items-center justify-center mb-6 transition-transform duration-300 group-hover:rotate-6 group-hover:scale-110`}>
7777
<IconComponent className={`h-6 w-6 ${feature.iconColor}`} />
7878
</div>
7979
<h3 className=" text-2xl font-bold text-gray-900 dark:text-gray-100 group-hover:text-black dark:group-hover:text-white transition-colors duration-300">{feature.title}</h3>

0 commit comments

Comments
 (0)