-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from hotungkhanh/kan-92/general-fine-tuning
fix: styling of sidebar + header + footer
- Loading branch information
Showing
7 changed files
with
38 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,36 @@ | ||
import { Box } from "@mui/material"; | ||
import { AppBar, Box, CssBaseline } from "@mui/material"; | ||
import VIT_Logo from '../assets/logo.png'; | ||
|
||
/** | ||
* React component for rendering the header section. | ||
* @returns JSX element representing the header with a logo. | ||
*/ | ||
export default function Header() { | ||
const headerStyle = { | ||
backgroundColor: "#F5F5f5", | ||
color: "white", | ||
padding: "20px", | ||
textAlign: "left", | ||
height: "12vh" | ||
}; | ||
return ( | ||
<Box className="header" sx={headerStyle}> | ||
<img | ||
src={VIT_Logo} | ||
alt="logo.exe" | ||
height="90%" | ||
width="auto" | ||
/> | ||
<Box sx={{ height: "130px", margin: "0" }}> | ||
<CssBaseline /> | ||
<AppBar | ||
position="fixed" | ||
sx={{ | ||
zIndex: (theme) => theme.zIndex.drawer + 1, | ||
height: "130px", | ||
padding: "20px", | ||
backgroundColor: "#F5F5f5", | ||
boxShadow: "none" | ||
}} | ||
> | ||
<img | ||
src={VIT_Logo} | ||
alt="logo.exe" | ||
style={{width: "230px", | ||
height: "auto", | ||
// objectFit: "contain", | ||
// maxHeight: "100%", | ||
// maxWidth: "100%", | ||
// alignSelf: "flex-start", // Aligns left in a flex container | ||
}} | ||
/> | ||
</AppBar> | ||
</Box> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
} | ||
|
||
.description { | ||
margin: 13%; | ||
margin: 5% 10% 10% 10%; | ||
} | ||
|
||
.description span { | ||
|