feat: 左上角品牌图标更换为自定义 logo
- 文本 "gen2d" 替换为 logo.png 图片 - 同时更新浏览器 favicon
This commit is contained in:
@@ -27,13 +27,16 @@ export default function Layout() {
|
||||
<Link
|
||||
to="/"
|
||||
style={{
|
||||
fontSize: 20,
|
||||
fontWeight: 700,
|
||||
color: 'var(--accent)',
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
textDecoration: 'none',
|
||||
}}
|
||||
>
|
||||
gen2d
|
||||
<img
|
||||
src="/logo.png"
|
||||
alt="gen2d"
|
||||
style={{ height: 38, width: 64 }}
|
||||
/>
|
||||
</Link>
|
||||
|
||||
<div style={{ display: 'flex', gap: 12, alignItems: 'center' }}>
|
||||
|
||||
Reference in New Issue
Block a user