From 9bfec573e2d730dd43bebdba0364979a81e42673 Mon Sep 17 00:00:00 2001 From: jay Date: Sun, 21 Jun 2026 15:48:58 -0400 Subject: [PATCH] /art v1: single featured piece, framed (look-overhaul testbed) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A calm "walk up to one piece on a quiet wall" page for the Daily Art engine. Bright, modern, cream canvas (not a dim brown gallery) so the artwork's own colors are the pop — the new look prototyped, scoped to /art so it doesn't touch the rest of the site yet. - Fetches /api/art/today; large soft-shadowed frame (click -> lightbox), a museum "placard" (serif title, artist · date, medium, "from The Met · Public Domain (CC0)", View-at-museum link). Calm loading/empty states. Unlinked from the homepage (safe to iterate). Ships the (Codex-cleared) art backend too. Co-Authored-By: Claude Opus 4.8 --- frontend/src/routes/art/+page.svelte | 158 +++++++++++++++++++++++++++ 1 file changed, 158 insertions(+) create mode 100644 frontend/src/routes/art/+page.svelte diff --git a/frontend/src/routes/art/+page.svelte b/frontend/src/routes/art/+page.svelte new file mode 100644 index 0000000..600edbb --- /dev/null +++ b/frontend/src/routes/art/+page.svelte @@ -0,0 +1,158 @@ + + + + Daily Art · upbeatBytes + + + +
+
+ upbeatBytes + +
+ +
+
+

Daily Art

+

A masterwork a day, from the world's open collections.

+
+ + {#if state === 'ready'} +
+ +
+

{art.title}

+

{art.artist || 'Unknown artist'}{#if art.date_text} · {art.date_text}{/if}

+ {#if art.medium}

{art.medium}

{/if} +

+ from {art.museum}{#if art.license} · {art.license}{/if} + {#if art.source_url}View at {art.museum} →{/if} +

+
+
+ {:else if state === 'empty'} +

The gallery's resting — a new piece is hung each morning. Check back soon.

+ {:else} +

Hanging today's piece…

+ {/if} +
+ +
upbeatBytes — no ads, no paywalls, no doomscrolling.
+
+ +{#if zoom && art} + +{/if} + +