DocHub/frontend/public/favicon.svg
Tianyang 08a1211341 feat: favicon, sidebar tooltip, fix Meilisearch auth and test warnings
- Add SVG favicon using pine/paper design tokens; wire into index.html
- Add SidebarLabel component with ResizeObserver overflow detection and
  CSS-only tooltip (pine-deep bg, IBM Plex Mono, 0.08s fade, no delay)
- Fix Meilisearch invalid_api_key: default api key to None instead of ''
  so no Authorization header is sent when auth is disabled
- Stub ResizeObserver in test setup for jsdom compatibility
- Wrap async renders in act() and advance fake timers inside act() to
  eliminate all act() warnings in App.test.tsx
2026-08-01 18:44:32 +08:00

18 lines
979 B
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32">
<!-- Parchment background -->
<rect width="32" height="32" rx="7" fill="#faf9f6"/>
<!-- Document shape in pine -->
<rect x="7" y="5" width="13" height="17" rx="2" fill="#2f5d50"/>
<!-- Folded corner -->
<path d="M20 5 L25 10 L20 10 Z" fill="#e7efec"/>
<rect x="20" y="5" width="5" height="5" rx="1" fill="#234840"/>
<path d="M20 5 L25 10 H20 Z" fill="#e7efec"/>
<!-- Text lines on doc -->
<rect x="9.5" y="13" width="8" height="1.5" rx="0.75" fill="#e7efec" opacity="0.85"/>
<rect x="9.5" y="16" width="6" height="1.5" rx="0.75" fill="#e7efec" opacity="0.6"/>
<rect x="9.5" y="19" width="7" height="1.5" rx="0.75" fill="#e7efec" opacity="0.6"/>
<!-- Magnifier circle -->
<circle cx="21" cy="23" r="5" fill="none" stroke="#2f5d50" stroke-width="2.5"/>
<line x1="24.8" y1="26.8" x2="27.5" y2="29.5" stroke="#2f5d50" stroke-width="2.5" stroke-linecap="round"/>
</svg>