File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ type imgProps = {
44 sizes ?: string ;
55 priority ?: boolean ;
66 height ?: string ;
7+ width ?: string ;
78} ;
89
910export default function RespImage ( props : imgProps ) {
@@ -13,7 +14,7 @@ export default function RespImage(props: imgProps) {
1314 src = { props . src }
1415 sizes = { props . sizes }
1516 style = { {
16- width : "100%" ,
17+ width : props . width ?? "100%" ,
1718 height : props . height ?? "auto" ,
1819 } }
1920 loading = { props . loading }
Original file line number Diff line number Diff line change @@ -53,7 +53,9 @@ export default function TeamAppBar() {
5353 setOpen ( open ) ;
5454 } ;
5555
56- const logoImage = < RespImage src = { logo . src } height = "30px" priority = { true } /> ;
56+ const logoImage = (
57+ < RespImage src = { logo . src } height = "30px" width = "70px" priority = { true } />
58+ ) ;
5759
5860 return (
5961 < AppBar position = "fixed" style = { { background : "secondary" } } >
@@ -88,7 +90,7 @@ export default function TeamAppBar() {
8890 primary = { page . title }
8991 primaryTypographyProps = { {
9092 fontSize : 18 ,
91- fontWeight : page . path === pathname ? "800" : "" ,
93+ fontWeight : page . path === pathname ? "800" : "400 " ,
9294 color : "text.secondary" ,
9395 } }
9496 sx = { {
@@ -162,7 +164,7 @@ export default function TeamAppBar() {
162164 color : "white" ,
163165 display : "block" ,
164166 textAlign : "center" ,
165- fontWeight : page . path == pathname ? "800" : "100 " ,
167+ fontWeight : page . path == pathname ? "800" : "400 " ,
166168 textDecoration :
167169 page . path === pathname ? "underline" : "none" ,
168170 } }
You can’t perform that action at this time.
0 commit comments