Logo und Favicon hinzugefügt

This commit is contained in:
mathusan
2025-06-20 10:30:22 +02:00
parent 9d0a59a981
commit fc632dd276
5 changed files with 26 additions and 17 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/svg+xml" href="favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Digitaler Produktionsshop</title>
</head>

BIN
01-frontend/public/favicon.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

View File

@@ -22,6 +22,8 @@ import { fetchItemList } from '../query/Queries';
import LoginDialog from './LoginDialog';
import './NavBar.css';
import { useBasket } from '../BasketProvider';
import logo from '../../assets/logo/Blume-logo.png';
export default function NavBar() {
const { t } = useTranslation();
@@ -147,22 +149,29 @@ export default function NavBar() {
}}
>
<Box sx={{ display: "flex", alignItems: "center", minWidth: "0px" }}>
<Typography
variant="h6"
noWrap
component="a"
href="/"
sx={{
fontFamily: "monospace",
fontWeight: 700,
letterSpacing: ".3rem",
color: "white",
textDecoration: "none",
ml: 1,
}}
>
Digitaler Produktionsshop
</Typography>
<Box sx={{ display: 'flex', alignItems: 'center' }}>
<img
src={logo}
alt="DPShop Logo"
style={{ height: '40px', marginRight: '12px' }}
/>
<Typography
variant="h6"
noWrap
component="a"
href="/"
sx={{
fontFamily: "monospace",
fontWeight: 700,
letterSpacing: ".3rem",
color: "white",
textDecoration: "none",
}}
>
Digitaler Produktionsshop
</Typography>
</Box>
</Box>
<Box sx={{ flexGrow: 1, display: "flex", justifyContent: "center", px: 3 }}>