serve static assets from local public/ instead of static.officer.dev, simplify gmail history 404/410 handling

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-30 17:07:55 +00:00
co-authored by Claude Opus 4.7
parent 3540d53a00
commit e0bfc3d961
16 changed files with 38 additions and 36 deletions
@@ -7,7 +7,7 @@ export function OfficerIconLogo({ size = 'xl' }: SvgLogoProps) {
return (
<img
src="https://static.officer.dev/officer-logo.svg"
src="/officer-logo.svg"
alt="Officer Icon"
style={{ width: config.width, height: 'auto', transform: 'skew(-15deg, -2deg)' }}
/>
@@ -16,7 +16,7 @@ export function OfficerSvgLogoRegular({ size = 'xl' }: SvgLogoProps) {
return (
<img
src="https://static.officer.dev/officer-logo.svg"
src="/officer-logo.svg"
alt="Officer Logo"
style={{ width: config.width, height: 'auto', transform: 'skew(-15deg, -2deg)' }}
/>
@@ -28,7 +28,7 @@ export function OfficerSvgLogoSquare({ size = 'xl' }: SvgLogoProps) {
return (
<img
src="https://static.officer.dev/officer-logo.svg"
src="/officer-logo.svg"
alt="Officer Logo"
style={{ width: config.width, height: 'auto', transform: 'skew(-15deg, -2deg)' }}
/>
+1 -1
View File
@@ -15,7 +15,7 @@ const Email = ({ invitedBy, url }: EmailProps) => {
<Container className="rounded-lg bg-white p-8 shadow-lg">
<Img
className="mx-auto block"
src="https://static.officer.dev/og-image.jpg"
src="/og-image.jpg"
width="480"
alt="officer.dev"
/>
@@ -10,7 +10,7 @@ const MainLayout = ({ children }: { children: ReactNode }) => {
<Container className="rounded-lg bg-white p-8 shadow-lg">
<Img
className="mx-auto block"
src="https://static.officer.dev/officer-logo.png"
src="/officer-logo.png"
width="240"
alt="Officer Logo"
/>