Files
cube/apps/llm-proxy/web/favicon.svg
T
Fam Zheng a8e5100380
deploy llm-proxy / build-and-deploy (push) Successful in 1m46s
llm-proxy(ui): 修 placeholder token 泄漏 + UI 重做 + λ favicon
- 修:token 输入框 placeholder 之前硬编码了真实 token (`e.g.
  famzheng-llm-2026`),等于明文泄露。改成 `your auth token`
- UI 重做 — 100dvh 锁 viewport(处理移动软键盘)+ grid 布局
  让 thread 永远占中间、footer 永远贴底
- textarea autogrow(最高 200px,超出内部滚)
- 复制按钮 / smooth scroll-to-bottom (double rAF) /
  iOS momentum scroll / safe-area padding
- 错误状态独立 row,monospace + 红底
- λ favicon(紫蓝渐变 + 绿色在线点 + glow)— SVG include_str!
  进 binary,`/favicon.svg` + `/favicon.ico` 同源响应
2026-05-18 00:34:49 +01:00

19 lines
756 B
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
<defs>
<linearGradient id="bg" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#7c3aed"/>
<stop offset="100%" stop-color="#06b6d4"/>
</linearGradient>
<filter id="glow">
<feGaussianBlur stdDeviation="1.2"/>
</filter>
</defs>
<rect x="2" y="2" width="60" height="60" rx="14" fill="url(#bg)"/>
<text x="32" y="46" text-anchor="middle"
font-family="ui-serif, Georgia, 'Times New Roman', serif"
font-size="42" font-weight="700" fill="white"
style="font-style: italic;">λ</text>
<circle cx="49" cy="49" r="6.5" fill="#4ade80" filter="url(#glow)" opacity="0.5"/>
<circle cx="49" cy="49" r="4.5" fill="#4ade80"/>
</svg>