File tree Expand file tree Collapse file tree 6 files changed +11
-10
lines changed Expand file tree Collapse file tree 6 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ const DashboardPage = () => {
25
25
return (
26
26
< div className = "dashboard flex" >
27
27
28
- < div className = "flex flex-col max-md:w-full max-md:ml-0 ml-[20%] w-[80%] p-4 py-6 bg-gray-100" >
28
+ < div className = "flex flex-col max-md:w-full max-md:ml-0 w-screen p-4 py-6 bg-gray-100" >
29
29
30
30
< div className = "flex w-[100%] items-center justify-between mb-6" >
31
31
< h1 className = "text-xl max-md:ml-1 max-md:w-[90%] font-semibold text-gray-800" >
Original file line number Diff line number Diff line change @@ -15,12 +15,12 @@ See the License for the specific language governing permissions and
15
15
limitations under the License.
16
16
*/
17
17
18
- import React from "react" ;
18
+
19
19
const Logo = ( ) => {
20
20
return (
21
- < div className = "flex items-center gap-2 " > { /* Removed styling classes and w-full */ }
22
- < img src = "/logo/EduMatrix2.png" className = "h-14 w-auto object-contain" alt = "EduMatrix Logo" /> { /* Increased height to h-14 */ }
23
- < p className = "font-bold text-2xl text-gray-800 " > EduMatrix</ p > { /* Increased text size to text-2xl */ }
21
+ < div className = "flex justify-center items-center gap-1 " > { /* Removed styling classes and w-full */ }
22
+ < img src = "/logo/EduMatrix2.png" className = "h-12 rounded-full object-contain" alt = "EduMatrix Logo" /> { /* Increased height to h-14 */ }
23
+ < p className = "font-bold text-4xl text-white " > EduMatrix</ p > { /* Increased text size to text-2xl */ }
24
24
</ div >
25
25
) ;
26
26
} ;
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ function Students() {
217
217
</ form >
218
218
</ div >
219
219
</ div >
220
- < / d i v >
220
+
221
221
) ;
222
222
}
223
223
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ const Sidebar = () => {
77
77
< ul className = "flex flex-col px-3 w-full h-full" > { /* Removed md:ml-10, added px-3 */ }
78
78
{ /* Fixed Logo */ }
79
79
{ /* Added p-4 and background to this sticky div. Note: p-4 on this div inside a px-3 ul means logo area has more effective padding. This could be adjusted if needed. */ }
80
- < div className = "sticky top-0 z-20 p-4 bg-gradient-to-tr from-indigo-800 to-blue-700 -mx-3 " > { /* Added -mx-3 to make this div full-bleed against parent's px-3 */ }
80
+ < div className = "sticky top-3 z-20 p-3 max-md:mt-10 max-md:w-[300px] rounded-full mb-8 border-blue-500 border " > { /* Added -mx-3 to make this div full-bleed against parent's px-3 */ }
81
81
< Logo />
82
82
</ div >
83
83
{ /* Scrollable nav items */ }
@@ -285,7 +285,7 @@ const Sidebar = () => {
285
285
onClick = { toggleMobileMenu }
286
286
className = "p-2 rounded-md bg-blue-700 text-white"
287
287
>
288
- { isMobileMenuOpen ? < CloseIcon /> : < MenuIcon /> }
288
+ { isMobileMenuOpen ? < CloseIcon className = "text-white bg-red-700 rounded-md w-6 h-6" /> : < MenuIcon className = "text-white" /> }
289
289
</ button >
290
290
</ div >
291
291
Original file line number Diff line number Diff line change @@ -100,8 +100,8 @@ const HomePage = () => {
100
100
101
101
< div className = "flex gap-5 max-md:flex-col-reverse justify-center items-center" >
102
102
< div className = "flex flex-col gap-3 cursor-pointer" >
103
- { CardUtils . map ( ( props ) => (
104
- < CardComponent { ...props } />
103
+ { CardUtils . map ( ( props , index ) => (
104
+ < CardComponent key = { index } { ...props } />
105
105
) ) }
106
106
</ div >
107
107
Original file line number Diff line number Diff line change
1
+
You can’t perform that action at this time.
0 commit comments