Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/marketing/NotFoundPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export const NotFoundPage = ({ thinkingImage }: NotFoundPageProps) => {
<div className="absolute inset-0 overflow-hidden border border-ink/15 bg-paper-mid p-2.5">
<img
src={thinkingImage}
alt="Classical artwork depicting contemplation"
alt="Paul Delaroche, Napoleon at Fontainebleau (1845)"
className="h-full w-full object-cover outline outline-1 outline-ink/10"
/>
</div>
Expand Down
7 changes: 4 additions & 3 deletions src/pages/404.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
import { getImage } from 'astro:assets';
import MarketingLayout from '@/layouts/MarketingLayout.astro';
import { NotFoundPage } from '@/components/marketing/NotFoundPage';
const imgThinker = { src: "https://assets.rivet.dev/website/images/thinking/thinker-rodin-closeup.jpg", width: 2673, height: 3722, format: "jpg" };
// Paul Delaroche, "Napoleon I at Fontainebleau on March 31, 1814" (1845). Public domain.
const imgNapoleon = { src: "https://assets.rivet.dev/website/images/thinking/napoleon-fontainebleau-delaroche.jpg", width: 602, height: 800, format: "jpg" };
const optimizedImage = await getImage({
src: imgThinker,
width: 800,
src: imgNapoleon,
width: 600,
format: 'webp',
quality: 80
});
Expand Down
Loading