Front page: set the featured cards' grid by hand, columns and a size per card (migration 073)

Front page editor: Featured Content > Columns (2, 3 or 4 across on a
wide screen) and a Size on each card (normal, wide, tall, large).
Blank keeps today's layout: 3 across, the first of three or more
large. Regions and the Community blog stay automatic.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aidan Dona 2026-10-07 17:24:10 -05:00
parent 910aef78b5
commit 31d9f78120
11 changed files with 130 additions and 23 deletions

View file

@ -233,6 +233,8 @@ home.get("/front-page", (c) => {
stats,
paths,
featured: loadFeaturedCards(db, "front_page", PAGE_ID),
// 2, 3 or 4 across (073); null is the grid's own default.
featured_columns: page.featured_columns,
countdown: shapeCountdown(next),
},
});