feat: 重设计品牌与 AI 助手图标——猫头融合 git 分支图,AI 气泡+火花
4 个文件变更
+44
-27
fqh@example.com
| •webroot/static/favicon.svg | +12 -7 |
| •webroot/templates/install.html | +6 -3 |
| •webroot/templates/layout.html | +20 -14 |
| •webroot/templates/login.html | +6 -3 |
变更内容
diff --git a/webroot/static/favicon.svg b/webroot/static/favicon.svg
index b87f8d0..971689a 100644
--- a/webroot/static/favicon.svg
+++ b/webroot/static/favicon.svg
@@ -6,11 +6,16 @@
</linearGradient>
</defs>
<rect width="32" height="32" rx="9" fill="url(#g)"/>
- <g fill="none" stroke="#fff" stroke-width="2.1" stroke-linecap="round" stroke-linejoin="round">
- <path d="M7 13.2 12 7l4 3 4-3 5 6.2"/>
- <path d="M9.5 17h13v2.8a4.2 4.2 0 0 1-4.2 4.2h-4.6A4.2 4.2 0 0 1 9.5 19.8z"/>
- <path d="M15.2 24.2c.8.9 1.6.9 2.4 0"/>
+ <g fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
+ <path d="M8.2 13.8 10 6.9l5.2 3.3"/>
+ <path d="M23.8 13.8 22 6.9l-5.2 3.3"/>
+ <path d="M8.2 13.2v3.4c0 5 3.5 7.9 7.8 7.9s7.8-2.9 7.8-7.9v-3.4"/>
+ <path d="M4.4 18.4h2.4M4.4 21h2.4M27.6 18.4h-2.4M27.6 21h-2.4"/>
+ <path d="M16 13.1v1.7m0 0c0 1.9-3 1.6-3 3.4m3-3.4c0 1.9 3 1.6 3 3.4"/>
+ <path d="M14.9 23c.5.6 1.7.6 2.2 0"/>
</g>
- <circle cx="13.2" cy="20" r=".95" fill="#fff"/>
- <circle cx="18.8" cy="20" r=".95" fill="#fff"/>
-</svg>
\ No newline at end of file
+ <circle cx="16" cy="11.3" r="1.75" fill="#fff"/>
+ <circle cx="13" cy="18.9" r="1.5" fill="#fff"/>
+ <circle cx="19" cy="18.9" r="1.5" fill="#fff"/>
+ <path d="M15 21.2h2l-1 1.2z" fill="#fff"/>
+</svg>
diff --git a/webroot/templates/install.html b/webroot/templates/install.html
index b1190d4..2b36f8d 100644
--- a/webroot/templates/install.html
+++ b/webroot/templates/install.html
@@ -4,9 +4,12 @@
<div class="brand big">
<span class="brand-mark lg" aria-hidden="true">
<svg viewBox="0 0 24 24" width="30" height="30" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
- <path d="M4 8.5 8 4l4 3 4-3 4 4.5"/><path d="M6 12h12v4.5a3.5 3.5 0 0 1-3.5 3.5h-5A3.5 3.5 0 0 1 6 16.5z"/>
- <circle cx="10" cy="15" r="0.6" fill="currentColor" stroke="none"/><circle cx="14" cy="15" r="0.6" fill="currentColor" stroke="none"/>
- <path d="M12 18.2c.7.7 1.6.7 2.3 0"/>
+ <path d="M6.2 10.4 7.5 5.2l3.9 2.5"/>
+ <path d="M17.8 10.4 16.5 5.2l-3.9 2.5"/>
+ <path d="M6.2 9.9v2.6c0 3.7 2.6 5.9 5.8 5.9s5.8-2.2 5.8-5.9V9.9"/>
+ <path d="M3.3 13.8h1.8M3.3 15.8h1.8M20.7 13.8h-1.8M20.7 15.8h-1.8"/>
+ <path d="M12 9.9v1.2m0 0c0 1.4-2.2 1.2-2.2 2.6m2.2-2.6c0 1.4 2.2 1.2 2.2 2.6"/>
+ <path d="M11.2 17.2c.4.45 1.2.45 1.6 0"/>
</svg>
</span>
<span>gitcat</span>
diff --git a/webroot/templates/layout.html b/webroot/templates/layout.html
index 5111bda..486c1ee 100644
--- a/webroot/templates/layout.html
+++ b/webroot/templates/layout.html
@@ -83,9 +83,12 @@
<a class="brand" href="/">
<span class="brand-mark" aria-hidden="true">
<svg viewBox="0 0 24 24" width="20" height="20" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round">
- <path d="M4 8.5 8 4l4 3 4-3 4 4.5"/><path d="M6 12h12v4.5a3.5 3.5 0 0 1-3.5 3.5h-5A3.5 3.5 0 0 1 6 16.5z"/>
- <circle cx="10" cy="15" r="0.6" fill="currentColor" stroke="none"/><circle cx="14" cy="15" r="0.6" fill="currentColor" stroke="none"/>
- <path d="M12 18.2c.7.7 1.6.7 2.3 0"/>
+ <path d="M6.2 10.4 7.5 5.2l3.9 2.5"/>
+ <path d="M17.8 10.4 16.5 5.2l-3.9 2.5"/>
+ <path d="M6.2 9.9v2.6c0 3.7 2.6 5.9 5.8 5.9s5.8-2.2 5.8-5.9V9.9"/>
+ <path d="M3.3 13.8h1.8M3.3 15.8h1.8M20.7 13.8h-1.8M20.7 15.8h-1.8"/>
+ <path d="M12 9.9v1.2m0 0c0 1.4-2.2 1.2-2.2 2.6m2.2-2.6c0 1.4 2.2 1.2 2.2 2.6"/>
+ <path d="M11.2 17.2c.4.45 1.2.45 1.6 0"/>
</svg>
</span>
<span class="brand-name">{{.SiteName}}</span>
@@ -154,12 +157,13 @@
<button class="ai-fab" id="ai-fab" type="button" aria-label="打开 AI 项目助手" aria-expanded="false" aria-controls="ai-panel">
<span class="ai-fab-cat" aria-hidden="true">
<svg viewBox="0 0 24 24" width="27" height="27" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round">
- <path d="M6.4 9.3 5.5 5a.55.55 0 0 1 .87-.6l3 2.2"/>
- <path d="M17.6 9.3 18.5 5a.55.55 0 0 0-.87-.6l-3 2.2"/>
- <path d="M5.5 12.4A6.5 6.5 0 0 1 12 6.2a6.5 6.5 0 0 1 6.5 6.2v1.9A5.2 5.2 0 0 1 13.3 19h-2.6a5.2 5.2 0 0 1-5.2-5.2z"/>
- <circle cx="9.6" cy="12.4" r=".95" fill="currentColor" stroke="none"/>
- <circle cx="14.4" cy="12.4" r=".95" fill="currentColor" stroke="none"/>
- <path d="M10.5 15.4c.9.8 2.1.8 3 0"/>
+ <path d="M8.6 6.9 10 3.6l2.3 2.2"/>
+ <path d="M12.9 5.8 15.2 3.6 16.6 6.9"/>
+ <path d="M20 13.3a3.8 3.8 0 0 1-3.8 3.8h-4.1l-3.8 3v-3h-.5A3.8 3.8 0 0 1 4 13.3V9.9A3.8 3.8 0 0 1 7.8 6.1h8.4A3.8 3.8 0 0 1 20 9.9z"/>
+ <g fill="currentColor" stroke="none">
+ <path d="M11.6 9.4l.87 2.23 2.23.87-2.23.87-.87 2.23-.87-2.23-2.23-.87 2.23-.87z"/>
+ <path d="M16.5 8l.5 1.2 1.2.5-1.2.5-.5 1.2-.5-1.2-1.2-.5 1.2-.5z"/>
+ </g>
</svg>
</span>
<span class="ai-fab-spark" aria-hidden="true">
@@ -171,11 +175,13 @@
<header class="ai-head">
<span class="ai-ava" aria-hidden="true">
<svg viewBox="0 0 24 24" width="19" height="19" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
- <path d="M6.4 9.3 5.5 5a.55.55 0 0 1 .87-.6l3 2.2"/>
- <path d="M17.6 9.3 18.5 5a.55.55 0 0 0-.87-.6l-3 2.2"/>
- <path d="M5.5 12.4A6.5 6.5 0 0 1 12 6.2a6.5 6.5 0 0 1 6.5 6.2v1.9A5.2 5.2 0 0 1 13.3 19h-2.6a5.2 5.2 0 0 1-5.2-5.2z"/>
- <circle cx="9.6" cy="12.4" r=".95" fill="currentColor" stroke="none"/>
- <circle cx="14.4" cy="12.4" r=".95" fill="currentColor" stroke="none"/>
+ <path d="M8.6 6.9 10 3.6l2.3 2.2"/>
+ <path d="M12.9 5.8 15.2 3.6 16.6 6.9"/>
+ <path d="M20 13.3a3.8 3.8 0 0 1-3.8 3.8h-4.1l-3.8 3v-3h-.5A3.8 3.8 0 0 1 4 13.3V9.9A3.8 3.8 0 0 1 7.8 6.1h8.4A3.8 3.8 0 0 1 20 9.9z"/>
+ <g fill="currentColor" stroke="none">
+ <path d="M11.6 9.6l.8 2.05 2.05.8-2.05.8-.8 2.05-.8-2.05-2.05-.8 2.05-.8z"/>
+ <path d="M16.3 8.2l.45 1.1 1.1.45-1.1.45-.45 1.1-.45-1.1-1.1-.45 1.1-.45z"/>
+ </g>
</svg>
</span>
<div class="ai-head-txt">
diff --git a/webroot/templates/login.html b/webroot/templates/login.html
index a798d22..ba01351 100644
--- a/webroot/templates/login.html
+++ b/webroot/templates/login.html
@@ -4,9 +4,12 @@
<div class="auth-brand">
<span class="brand-mark" aria-hidden="true">
<svg viewBox="0 0 24 24" width="22" height="22" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
- <path d="M4 8.5 8 4l4 3 4-3 4 4.5"/><path d="M6 12h12v4.5a3.5 3.5 0 0 1-3.5 3.5h-5A3.5 3.5 0 0 1 6 16.5z"/>
- <circle cx="10" cy="15" r="0.6" fill="currentColor" stroke="none"/><circle cx="14" cy="15" r="0.6" fill="currentColor" stroke="none"/>
- <path d="M12 18.2c.7.7 1.6.7 2.3 0"/>
+ <path d="M6.2 10.4 7.5 5.2l3.9 2.5"/>
+ <path d="M17.8 10.4 16.5 5.2l-3.9 2.5"/>
+ <path d="M6.2 9.9v2.6c0 3.7 2.6 5.9 5.8 5.9s5.8-2.2 5.8-5.9V9.9"/>
+ <path d="M3.3 13.8h1.8M3.3 15.8h1.8M20.7 13.8h-1.8M20.7 15.8h-1.8"/>
+ <path d="M12 9.9v1.2m0 0c0 1.4-2.2 1.2-2.2 2.6m2.2-2.6c0 1.4 2.2 1.2 2.2 2.6"/>
+ <path d="M11.2 17.2c.4.45 1.2.45 1.6 0"/>
</svg>
</span>
<div>