@@ -188,11 +188,11 @@ export default function PostLayout({
188188 section . lessons . map ( ( lesson ) => (
189189 < li
190190 key = { lesson . _id }
191- className = { `list-none p-2 cursor-pointer hover:bg-primary-200 rounded m-1 flex flex-col justify-between
191+ className = { `list-none cursor-pointer p-1 rounded m-1 flex flex-col justify-between
192192 ${
193193 isActiveLesson ( router , course , lesson )
194- ? 'bg-primary-200 '
195- : 'bg-transparent'
194+ ? 'bg-primary-900 text-basics-50 '
195+ : 'bg-transparent hover:bg-primary-900 hover:text-basics-50 '
196196 }
197197 ` }
198198 >
@@ -202,11 +202,11 @@ export default function PostLayout({
202202 passHref
203203 >
204204 < div className = "flex gap-2" >
205- < a className = "no-underline border-none hover:text-primary-900 " >
205+ < a className = "no-underline border-none hover:text-basics-50 dark:hover:text-basics-50 " >
206206 { lesson . title }
207207 </ a >
208208 { lesson ?. access_mode && (
209- < div className = "no-underline hover:text-primary-900 " >
209+ < div className = "no-underline " >
210210 { lesson ?. access_mode != AccessMode . free && (
211211 < >
212212 { user && user . uid ? (
@@ -279,7 +279,7 @@ export default function PostLayout({
279279 { `Latest Courses` }
280280 </ h2 >
281281
282- < ul className = "grid grid-cols-1 gap-2 p-4 shadow-lg " >
282+ < ul className = "flex flex-col rounded-b rounded-tr grow bg-basics-50 dark:bg-basics-900 dark:text-primary-50 justify-items-stretch " >
283283 < RecentPostsList
284284 router = { router }
285285 posts = { recentPosts [ PostType . course ] }
@@ -290,7 +290,7 @@ export default function PostLayout({
290290 < h2 className = "w-full p-2 m-0 text-2xl font-bold xl:p-4 rounded-t-md xl:shrink-0 bg-secondary-600 text-basics-50" >
291291 { `Latest Tutorials` }
292292 </ h2 >
293- < ul className = "grid grid-cols-1 gap-2 p-4 shadow-lg " >
293+ < ul className = "flex flex-col rounded-b rounded-tr grow bg-basics-50 dark:bg-basics-900 dark:text-primary-50 justify-items-stretch " >
294294 < RecentPostsList
295295 router = { router }
296296 posts = { recentPosts [ PostType . tutorial ] }
@@ -301,7 +301,7 @@ export default function PostLayout({
301301 < h2 className = "w-full p-2 m-0 text-2xl font-bold xl:p-4 rounded-t-md xl:shrink-0 bg-secondary-600 text-basics-50" >
302302 { `Latest Podcasts` }
303303 </ h2 >
304- < ul className = "grid grid-cols-1 gap-2 p-4 shadow-lg " >
304+ < ul className = "flex flex-col rounded-b rounded-tr grow bg-basics-50 dark:bg-basics-900 dark:text-primary-50 justify-items-stretch " >
305305 < RecentPostsList
306306 router = { router }
307307 posts = { recentPosts [ PostType . podcast ] }
@@ -312,7 +312,7 @@ export default function PostLayout({
312312 < h2 className = "w-full p-2 m-0 text-2xl font-bold xl:p-4 rounded-t-md xl:shrink-0 bg-secondary-600 text-basics-50" >
313313 { `Latest Blog` }
314314 </ h2 >
315- < ul className = "grid grid-cols-1 gap-2 p-4 shadow-lg " >
315+ < ul className = "flex flex-col rounded-b rounded-tr grow bg-basics-50 dark:bg-basics-900 dark:text-primary-50 justify-items-stretch " >
316316 < RecentPostsList
317317 router = { router }
318318 posts = { recentPosts [ PostType . post ] }
0 commit comments