feat: 左上角品牌图标更换为自定义 logo
- 文本 "gen2d" 替换为 logo.png 图片 - 同时更新浏览器 favicon
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<link rel="icon" type="image/png" href="/favicon.png" />
|
<link rel="icon" type="image/png" href="/logo.png" />
|
||||||
<title>gen2d</title>
|
<title>gen2d</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
@@ -27,13 +27,16 @@ export default function Layout() {
|
|||||||
<Link
|
<Link
|
||||||
to="/"
|
to="/"
|
||||||
style={{
|
style={{
|
||||||
fontSize: 20,
|
display: 'flex',
|
||||||
fontWeight: 700,
|
alignItems: 'center',
|
||||||
color: 'var(--accent)',
|
|
||||||
textDecoration: 'none',
|
textDecoration: 'none',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
gen2d
|
<img
|
||||||
|
src="/logo.png"
|
||||||
|
alt="gen2d"
|
||||||
|
style={{ height: 38, width: 64 }}
|
||||||
|
/>
|
||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
<div style={{ display: 'flex', gap: 12, alignItems: 'center' }}>
|
<div style={{ display: 'flex', gap: 12, alignItems: 'center' }}>
|
||||||
|
|||||||
Reference in New Issue
Block a user