Newsletter drafts with content blocks, a footer and Post as blog post; Home has no header dropdown
Tools → Newsletter saves drafts (migration 057: newsletters, with content blocks owned 'newsletter'), adds blocks written for the issue and an editable footer (no unsubscribe link: Mailchimp adds one), and turns a draft into an unpublished blog post. The admin engine binds child owner ids as text, so an auto-numbered record's blocks are owned by '1', not '1.0'. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
9daf7b1a4f
commit
e8ac242e6d
8 changed files with 575 additions and 34 deletions
|
|
@ -166,10 +166,12 @@ export default function Layout() {
|
|||
|
||||
{/* Each page, and under it on hover or keyboard focus its
|
||||
sections (navSections.ts): the sections live in these
|
||||
dropdowns rather than a strip of their own. */}
|
||||
dropdowns rather than a strip of their own. Home has
|
||||
none: it's the logo's link too, and its bands are one
|
||||
scroll away. */}
|
||||
<div className="hidden lg:flex items-center gap-6">
|
||||
{PAGE_LINKS.map((page) => {
|
||||
const pageSections = sectionsOf(page.path);
|
||||
const pageSections = page.path === "/" ? [] : sectionsOf(page.path);
|
||||
return (
|
||||
<div key={page.path} className="group relative">
|
||||
<NavLink
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue