@@ -65,7 +65,7 @@ const EmrTrainingComponent = () => {
6565 } ;
6666
6767 const getLevelColor = ( level ) => {
68- switch ( level ) {
68+ switch ( level ) {
6969 case 'Beginner' : return 'bg-green-100 text-green-800' ;
7070 case 'Intermediate' : return 'bg-yellow-100 text-yellow-800' ;
7171 case 'Advanced' : return 'bg-red-100 text-red-800' ;
@@ -83,7 +83,7 @@ const EmrTrainingComponent = () => {
8383 </ span >
8484 </ div >
8585 </ div >
86-
86+
8787 < div className = "space-y-3 mb-6 flex-grow" >
8888 < div className = "flex items-center gap-2 text-sm text-gray-600" >
8989 < Clock className = "h-4 w-4 text-[#169AB4]" />
@@ -94,7 +94,7 @@ const EmrTrainingComponent = () => {
9494 < span > { recording . instructor } • { recording . views } views</ span >
9595 </ div >
9696 </ div >
97-
97+
9898 < div className = "flex justify-end items-center mt-auto" >
9999 < button className = "flex items-center gap-2 px-6 py-2 bg-[#169AB4] text-white rounded-lg hover:bg-[#147a8f] transition-colors font-medium" >
100100 < Play className = "h-4 w-4" />
@@ -119,11 +119,11 @@ const EmrTrainingComponent = () => {
119119 </ div >
120120 </ div >
121121 </ div >
122-
122+
123123 < p className = "text-gray-600 text-sm mb-4 leading-relaxed flex-grow" >
124124 { registration . description }
125125 </ p >
126-
126+
127127 < div className = "space-y-3 mb-6" >
128128 < div className = "flex items-center gap-2 text-sm text-gray-600" >
129129 < Calendar className = "h-4 w-4 text-[#169AB4]" />
@@ -134,7 +134,7 @@ const EmrTrainingComponent = () => {
134134 < span > Registered on { registration . registeredDate } </ span >
135135 </ div >
136136 </ div >
137-
137+
138138 < div className = "flex justify-end items-center mt-auto" >
139139 < button
140140 onClick = { ( ) => handleCancelRegistration ( registration . id ) }
@@ -176,36 +176,33 @@ const EmrTrainingComponent = () => {
176176 </ div >
177177 </ div >
178178 ) }
179-
179+
180180 < div className = "flex border-b border-gray-200 mb-8" >
181181 < button
182182 onClick = { handleShowBookingTab }
183- className = { `px-6 py-3 font-medium border-b-2 transition-colors ${
184- activeTab === 'book'
185- ? 'border-[#169AB4] text-[#169AB4]'
183+ className = { `px-6 py-3 font-medium border-b-2 transition-colors ${ activeTab === 'book'
184+ ? 'border-[#169AB4] text-[#169AB4]'
186185 : 'border-transparent text-gray-500 hover:text-gray-700'
187- } `}
186+ } `}
188187 >
189188 Book Training
190189 { ! hasAgreedToTerms && < span className = "ml-2 text-xs text-red-500" > *</ span > }
191190 </ button >
192191 < button
193192 onClick = { ( ) => setActiveTab ( 'recordings' ) }
194- className = { `px-6 py-3 font-medium border-b-2 transition-colors ${
195- activeTab === 'recordings'
196- ? 'border-[#169AB4] text-[#169AB4]'
193+ className = { `px-6 py-3 font-medium border-b-2 transition-colors ${ activeTab === 'recordings'
194+ ? 'border-[#169AB4] text-[#169AB4]'
197195 : 'border-transparent text-gray-500 hover:text-gray-700'
198- } `}
196+ } `}
199197 >
200198 Virtual Training
201199 </ button >
202200 < button
203201 onClick = { ( ) => setActiveTab ( 'registrations' ) }
204- className = { `px-6 py-3 font-medium border-b-2 transition-colors ${
205- activeTab === 'registrations'
206- ? 'border-[#169AB4] text-[#169AB4]'
202+ className = { `px-6 py-3 font-medium border-b-2 transition-colors ${ activeTab === 'registrations'
203+ ? 'border-[#169AB4] text-[#169AB4]'
207204 : 'border-transparent text-gray-500 hover:text-gray-700'
208- } `}
205+ } `}
209206 >
210207 Your Registrations ({ registrations . length } )
211208 </ button >
@@ -221,11 +218,10 @@ const EmrTrainingComponent = () => {
221218 < button
222219 key = { month }
223220 onClick = { ( ) => setSelectedMonth ( month ) }
224- className = { `px-4 py-2 rounded-lg font-medium transition-colors ${
225- selectedMonth === month
226- ? 'bg-[#169AB4] text-white'
221+ className = { `px-4 py-2 rounded-lg font-medium transition-colors ${ selectedMonth === month
222+ ? 'bg-[#169AB4] text-white'
227223 : 'bg-gray-100 text-gray-700 hover:bg-gray-200'
228- } `}
224+ } `}
229225 >
230226 { month }
231227 </ button >
@@ -259,15 +255,21 @@ const EmrTrainingComponent = () => {
259255
260256 { activeTab === 'recordings' && (
261257 < div >
262- < h2 className = "text-xl font-semibold text-[#04445E] mb-6" > Available Recordings</ h2 >
263- < div className = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6" >
264- { recordings . map ( ( recording ) => (
265- < RecordingCard key = { recording . id } recording = { recording } />
266- ) ) }
267- </ div >
258+ < h2 className = "text-xl font-semibold text-[#04445E] mb-6" >
259+ Available Recordings
260+ </ h2 >
261+ < a
262+ href = "https://app.nextstepscareer.com/"
263+ target = "_blank"
264+ rel = "noopener noreferrer"
265+ className = "bg-[#04445E] text-white px-4 py-2 rounded-lg shadow hover:bg-[#06617f] transition"
266+ >
267+ Click here to access NextSteps App
268+ </ a >
268269 </ div >
269270 ) }
270271
272+
271273 { activeTab === 'registrations' && (
272274 < div >
273275 < h2 className = "text-xl font-semibold text-[[#04445E] mb-6" > Your Registrations</ h2 >
0 commit comments