Skip to content

Commit fa9ec47

Browse files
committed
feat: add modern cards to how it works section
1 parent 7a15543 commit fa9ec47

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/HowItWorks.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const HowItWorks = () => {
2020

2121
return (
2222
<section id="how-it-works" className="px-6 py-10 bg-gray-50 dark:bg-gray-800 transition-colors duration-300">
23-
<div className="mx-auto">
23+
<div className="max-w-7xl mx-auto">
2424
<div className="text-center mb-16">
2525
<h2 className="text-3xl font-bold text-gray-900 dark:text-white mb-4">How It Works</h2>
2626
<p className="text-xl text-gray-600 dark:text-gray-300 max-w-2xl mx-auto">
@@ -30,7 +30,7 @@ const HowItWorks = () => {
3030

3131
<div className="grid md:grid-cols-3 gap-8">
3232
{steps.map((step, index) => (
33-
<div key={index} className="text-center">
33+
<div key={index} className="text-center bg-white dark:bg-gray-900 p-8 rounded-2xl shadow-md hover:shadow-2xl hover:-translate-y-2 transition-all duration-300 border border-gray-100 dark:border-gray-700">
3434
<div className="bg-blue-600 text-white w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-6 text-2xl font-bold">
3535
{step.number}
3636
</div>

0 commit comments

Comments
 (0)