diff --git a/src/components/ui/HowItWorksModal.jsx b/src/components/ui/HowItWorksModal.jsx index e1f78a9..21c1d40 100644 --- a/src/components/ui/HowItWorksModal.jsx +++ b/src/components/ui/HowItWorksModal.jsx @@ -36,7 +36,7 @@ export const HowItWorksModal = ({ onClose }) => { { num: "05", title: "Climb Leaderboards & Mint Badges", - desc: "Compare your ratings globally, locally, or in specialized tracks like RankHer. Unlock verified developer badges and showcase your achievements. Soon, badges will be minted as Polygon blockchain tokens for profile verification.", + desc: "Compare your ratings globally, locally, or in specialized tracks like RankHer. Unlock verified developer badges and showcase your achievements. Soon, badges builds will be minted as Polygon blockchain tokens for profile verification.", icon: Trophy, color: "from-amber-600 to-yellow-500 text-amber-400" } @@ -50,7 +50,7 @@ export const HowItWorksModal = ({ onClose }) => { animate={{ opacity: 1 }} exit={{ opacity: 0 }} onClick={onClose} - className="absolute inset-0 bg-slate-950/70 backdrop-blur-md" + className="absolute inset-0 bg-slate-900/40 dark:bg-slate-950/70 backdrop-blur-md" /> {/* Modal Box */} @@ -58,31 +58,31 @@ export const HowItWorksModal = ({ onClose }) => { initial={{ opacity: 0, scale: 0.95, y: 20 }} animate={{ opacity: 1, scale: 1, y: 0 }} exit={{ opacity: 0, scale: 0.95, y: 20 }} - className="relative w-full max-w-3xl max-h-[85vh] bg-slate-900 border border-slate-800 rounded-3xl shadow-2xl overflow-y-auto scrollbar-thin scrollbar-thumb-slate-800 p-6 md:p-8 text-slate-100 flex flex-col gap-6" + className="relative w-full max-w-3xl max-h-[85vh] bg-white dark:bg-slate-900 border border-slate-200 dark:border-slate-800 rounded-3xl shadow-2xl overflow-y-auto scrollbar-thin scrollbar-thumb-slate-300 dark:scrollbar-thumb-slate-800 p-6 md:p-8 text-slate-800 dark:text-slate-100 flex flex-col gap-6" > {/* Close Button */} {/* Header */}
- + Platform Lifecycle -

+

How RankerHub Works

-

+

Follow these steps to synchronize your metrics, conquer challenges, and unlock verified achievements.

{/* Steps Vertical Timeline Layout */} -
+
{steps.map((step, idx) => { const Icon = step.icon; return ( @@ -94,16 +94,16 @@ export const HowItWorksModal = ({ onClose }) => {
- + STEP {step.num} -

+

{step.title}

{/* Detailed Description */} -

+

{step.desc}

@@ -113,9 +113,9 @@ export const HowItWorksModal = ({ onClose }) => {
{/* Footer info banner */} - -

- + +

+ Ready to climb? Link your profile, start coding, and watch your developer standings rise!

@@ -124,4 +124,4 @@ export const HowItWorksModal = ({ onClose }) => { ); }; -export default HowItWorksModal; +export default HowItWorksModal; \ No newline at end of file