efix navbar icon

This commit is contained in:
Tim
2025-06-22 12:14:46 +02:00
parent fc632dd276
commit ae0f02565b
2 changed files with 22 additions and 26 deletions

View File

@@ -14,11 +14,9 @@
/* Logo styles */ /* Logo styles */
.navbar-logo { .navbar-logo {
font-family: 'Roboto', sans-serif;
font-weight: bold;
color: white;
text-decoration: none; text-decoration: none;
margin-right: auto; margin-right: 1rem;
height: 3rem;
} }
/* Menu styles */ /* Menu styles */

View File

@@ -149,28 +149,26 @@ export default function NavBar() {
}} }}
> >
<Box sx={{ display: "flex", alignItems: "center", minWidth: "0px" }}> <Box sx={{ display: "flex", alignItems: "center", minWidth: "0px" }}>
<Box sx={{ display: 'flex', alignItems: 'center' }}> <img
<img src={logo}
src={logo} alt="Logo"
alt="DPShop Logo" className="navbar-logo"
style={{ height: '40px', marginRight: '12px' }} />
/> <Typography
<Typography variant="h6"
variant="h6" noWrap
noWrap component="a"
component="a" href="/"
href="/" sx={{
sx={{ fontFamily: "monospace",
fontFamily: "monospace", fontWeight: 700,
fontWeight: 700, letterSpacing: ".3rem",
letterSpacing: ".3rem", color: "white",
color: "white", textDecoration: "none",
textDecoration: "none", }}
}} >
> Digitaler Produktionsshop
Digitaler Produktionsshop </Typography>
</Typography>
</Box>
</Box> </Box>