Skip to content

Commit

Permalink
Update Skills.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
aniruddhaadak80 authored Nov 9, 2024
1 parent 3bdc389 commit 249627c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/components/Skills.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ const Skills: React.FC = () => {
default: return 'from-gray-500 to-gray-700';
}
};

return (
<section id="skills" className="py-20 bg-gradient-to-r from-indigo-50 via-purple-50 to-pink-50">
<div className="container mx-auto px-4">
Expand All @@ -56,12 +55,12 @@ const Skills: React.FC = () => {
<button
key={category}
onClick={() => setFilter(category)}
className={m-2 px-4 py-2 rounded-full transition-all duration-300 transform hover:scale-105 ${
className={`m-2 px-4 py-2 rounded-full transition-all duration-300 transform hover:scale-105 ${
filter === category
? bg-gradient-to-r ${getCategoryColor(category)} text-white shadow-lg
? `bg-gradient-to-r ${getCategoryColor(category)} text-white shadow-lg`
: 'bg-white text-gray-800 hover:bg-gray-100'
}}
style={{animationDelay: ${index * 0.1}s}}
}`}
style={{animationDelay: `${index * 0.1}s`}}
>
{category}
</button>
Expand Down

0 comments on commit 249627c

Please sign in to comment.