11"use client" ;
22
33import { useState } from "react" ;
4- import { SectionWrapper } from "@/components/shared/home" ;
5- import { PhaseDetailsModal } from "@/app/home/(dashboard)/_components/PhaseDetailsModal" ;
64
75const CodevsRoadmapStatic = ( ) => {
86 const [ isModalOpen , setIsModalOpen ] = useState < boolean > ( false ) ;
@@ -59,14 +57,14 @@ const CodevsRoadmapStatic = () => {
5957 } ;
6058
6159 return (
62- < SectionWrapper id = "roadmap" className = "w-full py-20" >
63- < div className = "mx-auto max-w-screen-xl" >
60+ < section id = "roadmap" className = "w-full py-20" >
61+ < div className = "mx-auto max-w-screen-xl px-4 " >
6462 < div className = "mb-12 text-center" >
6563 < h2 className = "mb-4 text-4xl font-bold text-white md:text-5xl" >
6664 Career Progression Roadmap
6765 </ h2 >
6866 < p className = "text-lg text-gray-400" >
69- Your journey from Intern to Mentor at Codebility
67+ Your Journey from Intern to Mentor at Codebility
7068 </ p >
7169 </ div >
7270
@@ -124,7 +122,7 @@ const CodevsRoadmapStatic = () => {
124122 </ linearGradient >
125123 </ defs >
126124 < path
127- d = { `M ${ isLeft ? 200 : 600 } 0 Q ${ isLeft ? 500 : 300 } 60 , ${ ! isLeft ? 200 : 600 } 96` }
125+ d = { `M ${ isLeft ? 200 : 600 } 0 C ${ isLeft ? 200 : 600 } 48, ${ ! isLeft ? 200 : 600 } 48 , ${ ! isLeft ? 200 : 600 } 96` }
128126 stroke = { `url(#gradient-${ phase . id } )` }
129127 strokeWidth = "4"
130128 fill = "none"
@@ -210,13 +208,22 @@ const CodevsRoadmapStatic = () => {
210208 </ div >
211209
212210 { /* Phase Details Modal */ }
213- < PhaseDetailsModal
214- isOpen = { isModalOpen }
215- onClose = { handleCloseModal }
216- phaseId = { selectedPhase }
217- />
218- </ SectionWrapper >
211+ { isModalOpen && (
212+ < div className = "fixed inset-0 bg-black/50 flex items-center justify-center z-50" >
213+ < div className = "bg-gray-800 p-8 rounded-lg max-w-md" >
214+ < h3 className = "text-2xl font-bold text-white mb-4" > Phase { selectedPhase } </ h3 >
215+ < p className = "text-gray-300 mb-6" > Phase details would go here...</ p >
216+ < button
217+ onClick = { handleCloseModal }
218+ className = "px-4 py-2 bg-blue-500 text-white rounded hover:bg-blue-600"
219+ >
220+ Close
221+ </ button >
222+ </ div >
223+ </ div >
224+ ) }
225+ </ section >
219226 ) ;
220227} ;
221228
222- export default CodevsRoadmapStatic ;
229+ export default CodevsRoadmapStatic ;
0 commit comments