@@ -8,7 +8,7 @@ function CoursePagePopup({ isOpen, onClose, course, prerequisiteTree }) {
88 onClick = { onClose }
99 >
1010 < div
11- className = "bg-indigo-300/70 backdrop-blur-lg h-full w-3/4 flex flex-col overflow-auto"
11+ className = "bg-indigo-300/75 backdrop-blur-lg h-full w-3/4 flex flex-col overflow-auto"
1212 onClick = { ( e ) => e . stopPropagation ( ) }
1313 >
1414 < div className = "flex-1" >
@@ -37,32 +37,30 @@ function CoursePagePopup({ isOpen, onClose, course, prerequisiteTree }) {
3737
3838 { /* Description Section */ }
3939 < div >
40- < h3 className = "text-2xl font-bold text-[#3d3d68 ] mb-0" > Course Description</ h3 >
40+ < h3 className = "text-2xl font-bold text-[#2e2e4f ] mb-0.5 " > Course Description</ h3 >
4141 < div className = "mb-3 h-0.5 w-full bg-violet-500" > </ div >
4242 < div
43- className = "text-lg leading-8 text-[#2c2c2c] tracking-wide prose prose-slate max-w-full"
43+ className = "text-lg leading-8 text-[#2e2e4f] font-semibold tracking-wide prose prose-slate max-w-full"
4444 dangerouslySetInnerHTML = { { __html : course . description } }
4545 />
4646
4747 </ div >
4848
4949 { /* Prerequisite Graph Tree Section */ }
5050 < div >
51- < h3 className = "text-2xl font-semibold text-[#2e2e4f]" > Prerequisite Graph Tree</ h3 >
52- < p className = "text-lg text-slate-700 leading-7" > Graph tree or prerequisite info will go here...</ p >
51+ < h3 className = "text-2xl font-semibold text-[#2e2e4f] mb-0.5" > Prerequisite Graph Tree</ h3 >
52+ < div className = "mb-4 h-0.5 w-full bg-violet-500" > </ div >
53+ < div className = "bg-indigo-300/50" >
54+ { prerequisiteTree }
55+ </ div >
5356 </ div >
5457 { /* Reviews Section */ }
5558 < div >
56- < h3 className = "text-2xl font-semibold text-[#2e2e4f]" > Reviews</ h3 >
59+ < h3 className = "text-2xl font-semibold text-[#2e2e4f] mb-0.5" > Reviews</ h3 >
60+ < div className = "mb-4 h-0.5 w-full bg-violet-500" > </ div >
5761 < p className = "text-lg text-slate-700 leading-7" > Here would be some reviews of the course...</ p >
5862 </ div >
5963
60- { /* Prerequisite Graph Tree Section */ }
61- < div style = { { display : 'flex' , flexDirection : 'column' , marginBottom : '20px' } } >
62- < h3 style = { { fontFamily : 'Courier New, monospace' , fontSize : '24px' } } > Prerequisite Graph Tree</ h3 >
63- { /* Placeholder for graph tree */ }
64- { prerequisiteTree }
65- </ div >
6664 </ div >
6765 </ div >
6866 < button
0 commit comments