Files
AgentCompany/landing/components/brand/icon-mark.tsx
T
ZacharyZhang-NY 52937c6c88 Fix stale favicon: version icon URLs and stop immutable-caching brand assets
The old favicon/logo were pinned by `Cache-Control: immutable` (1 year), so
browsers never refetched the new glass-bloom mark.
- _headers: favicon.ico + icon.png now cache for a day (revalidating), not
  immutable; drop dead /screenshots + /assets rules; cache /images for a week
- version icon references (?v=2) so existing immutable caches are busted now
- add a modern PNG icon link (/icon.png) that browsers prefer over the .ico
- remove the dead root _headers duplicate (only public/_headers ships)
2026-07-08 00:00:39 -04:00

16 lines
342 B
TypeScript

/** AgentCompany glass-bloom brand mark. */
export function IconMark({ size = 32 }: { size?: number }) {
return (
<img
src="/icon.png?v=2"
alt=""
aria-hidden="true"
width={size}
height={size}
decoding="async"
className="block shrink-0"
style={{ width: size, height: size }}
/>
);
}