@@ -2,24 +2,24 @@ import React from 'react';
22
33function CoursePagePopup ( { isOpen, onClose, course, prerequisiteTree } ) {
44 if ( ! isOpen || ! course ) return null ; // Don't render if not open or course not selected
5-
65 return (
76 < div
87 className = "fixed backdrop-blur-sm inset-0 bg-transparent flex justify-end z-50"
98 onClick = { onClose }
109 >
1110 < div
12- className = "bg-indigo-400 /70 backdrop-blur-sm h-full w-3/4 flex flex-col overflow-auto"
11+ className = "bg-indigo-300 /70 backdrop-blur-lg h-full w-3/4 flex flex-col overflow-auto"
1312 onClick = { ( e ) => e . stopPropagation ( ) }
1413 >
1514 < div className = "flex-1" >
1615 < div className = "px-10 py-10 md:px-20 md:py-16 text-slate-900 space-y-12 font-sans" >
1716 { /* Course Title Section */ }
1817 < div >
19- < h2 className = "text-5xl font-extrabold text-[#2e2e4f]" >
20- { course . code } - { course . name }
21- < span className = "ml-4 text-lg text-violet-900 " > ({ course . credits } Credits)</ span > { /* Display Credits */ }
18+ < h2 className = "text-5xl font-extrabold text-[#2e2e4f] " >
19+ < span className = "text-violet-700" > { course . code } </ span > - { course . name }
20+ < span className = "ml-4 text-lg text-violet-700 " > ({ course . credits } Credits)</ span >
2221 </ h2 >
22+ < div className = "my-6 h-1.5 w-full bg-violet-500" > </ div >
2323 </ div >
2424 < div >
2525 < button
@@ -37,11 +37,13 @@ function CoursePagePopup({ isOpen, onClose, course, prerequisiteTree }) {
3737
3838 { /* Description Section */ }
3939 < div >
40- < h3 className = "text-2xl font-bold text-[#3d3d68] mb-4" > Course Description</ h3 >
40+ < h3 className = "text-2xl font-bold text-[#3d3d68] mb-0" > Course Description</ h3 >
41+ < div className = "mb-3 h-0.5 w-full bg-violet-500" > </ div >
4142 < div
4243 className = "text-lg leading-8 text-[#2c2c2c] tracking-wide prose prose-slate max-w-full"
4344 dangerouslySetInnerHTML = { { __html : course . description } }
4445 />
46+
4547 </ div >
4648
4749 { /* Prerequisite Graph Tree Section */ }
0 commit comments