11import React , { useState } from 'react' ;
22import { Link } from 'react-router-dom' ;
33import {
4- ArrowLeft ,
5- Lock ,
6- Info ,
7- BellSlash ,
8- Funnel ,
9- XCircle ,
10- CalendarBlank ,
11- CheckCircle ,
4+ ArrowLeftIcon ,
5+ LockIcon ,
6+ InfoIcon ,
7+ BellSlashIcon ,
8+ FunnelIcon ,
9+ XCircleIcon ,
10+ CalendarBlankIcon ,
11+ CheckCircleIcon ,
1212} from '@phosphor-icons/react' ;
1313import { motion , AnimatePresence } from 'framer-motion' ;
1414import Seo from '../../components/Seo' ;
@@ -68,13 +68,18 @@ const LuxeAchievementsPage = () => {
6868
6969 < div className = "max-w-[1400px] mx-auto px-6 md:px-12 relative z-10" >
7070
71- { /* Header */ }
72- < header className = "mb-20 pt-12 border-b border-[#1A1A1A]/10 pb-12" >
73- < Link to = "/" className = "inline-flex items-center gap-2 mb-8 font-outfit text-xs uppercase tracking-widest text-[#1A1A1A]/40 hover:text-[#8D4004] transition-colors" >
74- < ArrowLeft /> FZCX Index
75- </ Link >
71+ { /* Header */ }
72+
73+ < header className = "mb-20 pt-12 border-b border-[#1A1A1A]/10 pb-12" >
74+
75+ < Link to = "/" className = "inline-flex items-center gap-2 mb-8 font-outfit text-xs uppercase tracking-widest text-[#1A1A1A]/40 hover:text-[#8D4004] transition-colors" >
76+
77+ < ArrowLeftIcon /> FZCX Index
78+
79+ </ Link >
80+
81+ < div className = "flex flex-col lg:flex-row lg:items-end justify-between gap-12" >
7682
77- < div className = "flex flex-col lg:flex-row lg:items-end justify-between gap-12" >
7883 < div >
7984 < h1 className = "font-playfairDisplay text-7xl md:text-9xl text-[#1A1A1A] mb-6" >
8085 Milestones
@@ -108,7 +113,7 @@ const LuxeAchievementsPage = () => {
108113 { /* Filters */ }
109114 < div className = "flex flex-wrap items-center gap-4 mb-16" >
110115 < div className = "flex items-center gap-2 text-[#1A1A1A]/30 font-outfit text-[10px] uppercase tracking-widest mr-4" >
111- < Funnel size = { 14 } /> < span > Filter Archives:</ span >
116+ < FunnelIcon size = { 14 } /> < span > Filter Archives:</ span >
112117 </ div >
113118 { uniqueCategories . map ( ( category ) => {
114119 const isSelected =
@@ -137,7 +142,7 @@ const LuxeAchievementsPage = () => {
137142 onClick = { clearFilters }
138143 className = "flex items-center gap-2 text-[10px] font-outfit uppercase tracking-widest text-rose-600 hover:text-rose-800 transition-colors ml-4"
139144 >
140- < XCircle size = { 16 } /> Reset Filters
145+ < XCircleIcon size = { 16 } /> Reset Filters
141146 </ motion . button >
142147 ) }
143148 </ AnimatePresence >
@@ -153,7 +158,7 @@ const LuxeAchievementsPage = () => {
153158 < div className = { `w-10 h-10 flex items-center justify-center rounded-full ${
154159 showAchievementToast ? 'bg-emerald-500 text-white shadow-lg shadow-emerald-500/20' : 'bg-[#1A1A1A]/5'
155160 } `} >
156- { showAchievementToast ? < Info size = { 20 } weight = "fill" /> : < BellSlash size = { 20 } /> }
161+ { showAchievementToast ? < InfoIcon size = { 20 } weight = "fill" /> : < BellSlashIcon size = { 20 } /> }
157162 </ div >
158163 < div className = "flex flex-col" >
159164 < span className = "font-outfit text-[9px] uppercase tracking-[0.3em] opacity-50" > Discovery Protocol</ span >
@@ -187,9 +192,9 @@ const LuxeAchievementsPage = () => {
187192 { /* Status Marker */ }
188193 < div className = "absolute top-4 right-4" >
189194 { isUnlocked ? (
190- < CheckCircle size = { 16 } weight = "fill" className = "text-emerald-600" />
195+ < CheckCircleIcon size = { 16 } weight = "fill" className = "text-emerald-600" />
191196 ) : (
192- < Lock size = { 16 } weight = "light" className = "text-[#1A1A1A]/20" />
197+ < LockIcon size = { 16 } weight = "light" className = "text-[#1A1A1A]/20" />
193198 ) }
194199 </ div >
195200
@@ -211,7 +216,7 @@ const LuxeAchievementsPage = () => {
211216 : 'bg-transparent text-[#1A1A1A]/10 border border-dashed border-[#1A1A1A]/10'
212217 } `} >
213218 < div className = "scale-[1.8]" >
214- { isUnlocked ? achievement . icon : < Lock size = { 20 } weight = "light" /> }
219+ { isUnlocked ? achievement . icon : < LockIcon size = { 20 } weight = "light" /> }
215220 </ div >
216221 </ div >
217222 </ div >
@@ -231,7 +236,7 @@ const LuxeAchievementsPage = () => {
231236 { /* Unlocked Date Footer */ }
232237 { isUnlocked && (
233238 < div className = "mt-8 pt-6 border-t border-[#1A1A1A]/5 w-full flex items-center justify-center gap-2 text-[9px] font-outfit uppercase tracking-widest text-[#1A1A1A]/30" >
234- < CalendarBlank size = { 12 } />
239+ < CalendarBlankIcon size = { 12 } />
235240 < span > Synchronized: { unlockedDate . toLocaleDateString ( 'en-US' , { month : 'short' , day : 'numeric' , year : 'numeric' } ) } </ span >
236241 </ div >
237242 ) }
0 commit comments