Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions frontend/src/pages/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,16 +119,13 @@ const Home = () => {
{features.map((feature, index) => {
const Icon = feature.icon;
return (
<div
key={index}
className={`text-center p-6 ${classes.cardBg} border rounded-xl shadow-soft hover:shadow-lg hover:scale-105 transition-transform duration-300 cursor-pointer`}
>
<div key={index} className={`group text-center p-6 ${classes.cardBg} border rounded-xl shadow-soft transition-all duration-300 hover:shadow-strong hover:-translate-y-1 `}>
<div className={`${
isDark ? 'bg-blue-900/40' : 'bg-blue-100'
} w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4`}>
} w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4 transition-transform duration-300 group-hover:scale-110`}>
<Icon className="h-8 w-8 text-blue-600" />
</div>
<h3 className={`text-lg font-semibold ${classes.textPrimary} mb-2`}>
<h3 className={`text-lg font-semibold ${classes.textPrimary} mb-2 group-hover:text-blue-600 transition-colors`}>
{feature.title}
</h3>
<p className={classes.textSecondary}>
Expand Down
Loading