mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-06-20 13:00:39 +00:00
feat: add favicon and logo assets, update App component to use logo
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="icon" type="image/png" href="/favicon.ico" />
|
||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
||||
<title>NodeWarden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 863 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 37 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 248 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 257 KiB |
+1
-1
@@ -672,7 +672,7 @@ export default function App() {
|
||||
<div className="app-shell">
|
||||
<header className="topbar">
|
||||
<div className="brand">
|
||||
<Shield size={20} className="brand-icon" />
|
||||
<img src="/logo-64.png" alt="NodeWarden logo" className="brand-logo" />
|
||||
<span>NodeWarden</span>
|
||||
</div>
|
||||
<div className="topbar-actions">
|
||||
|
||||
@@ -235,14 +235,15 @@ body,
|
||||
.brand {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
font-size: 34px;
|
||||
font-weight: 800;
|
||||
color: #1e293b;
|
||||
}
|
||||
|
||||
.brand-icon {
|
||||
color: #334155;
|
||||
.brand-logo {
|
||||
width: 57px;
|
||||
height: 57px;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
.topbar-actions {
|
||||
|
||||
@@ -14,7 +14,7 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
build: {
|
||||
outDir: path.resolve(rootDir, '../public'),
|
||||
outDir: path.resolve(rootDir, '../dist'),
|
||||
emptyOutDir: false,
|
||||
sourcemap: true,
|
||||
},
|
||||
@@ -28,8 +28,6 @@ export default defineConfig({
|
||||
'/config': 'http://127.0.0.1:8787',
|
||||
'/notifications': 'http://127.0.0.1:8787',
|
||||
'/.well-known': 'http://127.0.0.1:8787',
|
||||
'/favicon.ico': 'http://127.0.0.1:8787',
|
||||
'/favicon.svg': 'http://127.0.0.1:8787',
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user