Multi-Agent Collaboration for Team and Friends
TypeScript agent-automationagent-orchestrationagent-workflowai-agentsai-collaborationai-memoryai-workforceautonomous-agentsclaude-codeclaude-code-skillscodexcoding-agentmulti-agentmultiple-agentone-person-businessone-person-companyone-person-teamopencodesolopreneur
fix(blog): simplify document typography and reading layout (#917)
Gustavo Ye0188bbf1b2f3
diff --git a/src/web/blog/src/app/blog/(index)/page.tsx b/src/web/blog/src/app/blog/(index)/page.tsxindex 4cf93553b..a5b99947b 100644--- a/src/web/blog/src/app/blog/(index)/page.tsx+++ b/src/web/blog/src/app/blog/(index)/page.tsx@@ -55,7 +55,7 @@ export default async function BlogPage() {/><div className="mx-auto max-w-270 px-4 pb-24 pt-12 sm:px-6 sm:pt-20"><header>- <h1 className="font-news text-3xl font-semibold leading-none tracking-tight sm:text-[2.5rem] sm:leading-12">+ <h1 className="font-sans text-3xl font-semibold leading-none tracking-tight sm:text-[2.5rem] sm:leading-12">Blog</h1></header>@@ -77,18 +77,15 @@ export default async function BlogPage() {/></span><span className="flex flex-col justify-center pt-6 sm:py-4">- <span className="flex flex-wrap items-center gap-x-3 gap-y-1 font-sans text-sm text-muted-foreground">- <span>{featured.topicLabel}</span>- <span aria-hidden="true">- ·- </span>+ <h2 className="font-sans text-3xl font-semibold leading-tight tracking-tight">+ {featured.title}+ </h2>+ <span className="mt-3 flex flex-wrap items-center gap-x-3 gap-y-2 font-sans text-sm text-muted-foreground">+ <span className="rounded-md bg-muted px-2 py-1 text-foreground">{featured.topicLabel}</span><time dateTime={featured.date}>{formatBlogPostDate(featured.date)}</time></span>- <h2 className="mt-3 font-news text-3xl font-semibold leading-tight tracking-tight">- {featured.title}- </h2><span className="mt-3 line-clamp-3 font-sans leading-relaxed text-foreground/70">{featured.excerpt}</span>diff --git a/src/web/blog/src/app/blog/(index)/recent-posts.tsx b/src/web/blog/src/app/blog/(index)/recent-posts.tsxindex 048240fcd..48098f404 100644--- a/src/web/blog/src/app/blog/(index)/recent-posts.tsx+++ b/src/web/blog/src/app/blog/(index)/recent-posts.tsx@@ -89,7 +89,7 @@ export function RecentPosts({ posts, topics }: RecentPostsProps) {<section aria-labelledby="recent-posts-heading" className="mt-12 sm:mt-20"><h2id="recent-posts-heading"- className="font-news text-2xl font-semibold tracking-tight sm:text-3xl"+ className="font-sans text-2xl font-semibold tracking-tight sm:text-3xl">Recent posts</h2>@@ -147,7 +147,7 @@ export function RecentPosts({ posts, topics }: RecentPostsProps) {className="object-cover transition-transform duration-200 group-hover:scale-[1.015] motion-reduce:transform-none"/></span>- <h3 className="mt-4 font-news text-lg font-semibold leading-snug tracking-tight">+ <h3 className="mt-4 font-sans text-lg font-semibold leading-snug tracking-tight">{post.title}</h3><span className="mt-1 flex flex-wrap items-center gap-x-2 gap-y-1 font-sans text-sm text-muted-foreground">diff --git a/src/web/blog/src/app/blog/[slug]/article-meta.tsx b/src/web/blog/src/app/blog/[slug]/article-meta.tsxindex ce7567149..fe82d3730 100644--- a/src/web/blog/src/app/blog/[slug]/article-meta.tsx+++ b/src/web/blog/src/app/blog/[slug]/article-meta.tsx@@ -46,7 +46,7 @@ export function BlogPostByline({post: Pick<BlogPost, "author" | "date" | "dateModified" | "readingTime">;}) {return (- <div className="mt-6 flex flex-wrap items-center gap-x-3 gap-y-1 text-sm text-muted-foreground">+ <div className="mt-4 flex flex-wrap items-center gap-x-3 gap-y-1 text-sm text-muted-foreground"><span className="font-medium text-foreground/70">{post.author}</span><span className="text-muted-foreground/40">/</span><time dateTime={post.date}>{formatArticleDate(post.date)}</time>diff --git a/src/web/blog/src/app/blog/[slug]/page.tsx b/src/web/blog/src/app/blog/[slug]/page.tsxindex ea769f135..1b7e1b198 100644--- a/src/web/blog/src/app/blog/[slug]/page.tsx+++ b/src/web/blog/src/app/blog/[slug]/page.tsx@@ -73,44 +73,42 @@ export default async function BlogPostPage({}}/>)}- <article className="mx-auto max-w-3xl px-6 pt-12 sm:pt-24 pb-28">+ <article className="blog-article mx-auto max-w-3xl px-6 py-12 sm:py-16"><Linkhref="/blog"- className="inline-flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground transition-colors mb-8 sm:mb-14"+ className="inline-flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground transition-colors mb-8"><ArrowLeft className="size-3.5" />All posts</Link>- <header className="mb-10 sm:mb-16">+ <header className="mb-10">+ <h1 className="font-sans text-3xl sm:text-[2.5rem] font-semibold tracking-tight leading-tight text-balance">+ {post.title}+ </h1>{topic && (<Linkhref={`/blog#${topic.id}`}- className="mb-4 inline-block font-mono text-[11px] uppercase tracking-[0.16em] text-muted-foreground transition-colors hover:text-foreground"+ className="mt-4 inline-flex rounded-md bg-muted px-2 py-1 text-sm font-medium text-foreground transition-colors hover:bg-accent">{topic.label}</Link>)}- <h1 className="font-news text-4xl sm:text-5xl font-semibold tracking-tight leading-[1.12]">- {post.title}- </h1><BlogPostByline post={post} /></header>- <div className="blog-content blog-content-editorial font-sans text-lg leading-[1.7] text-foreground max-w-[65ch] [&_h2]:font-sans [&_h2]:text-[1.625rem] [&_h2]:font-semibold [&_h2]:tracking-tight [&_h2]:mt-16 [&_h2]:mb-6 [&_p]:mb-8 [&_blockquote]:border-l-[3px] [&_blockquote]:border-foreground/20 [&_blockquote]:pl-6 [&_blockquote]:italic [&_blockquote]:text-foreground/70 [&_blockquote]:my-10 [&_blockquote]:text-xl [&_blockquote]:leading-relaxed [&_code]:font-mono [&_code]:bg-muted [&_code]:px-2 [&_code]:py-1 [&_code]:rounded [&_code]:text-[0.875em] [&_pre]:bg-muted [&_pre]:rounded-lg [&_pre]:px-4 [&_pre]:py-4 [&_pre]:my-10 [&_pre]:overflow-x-auto [&_pre]:text-[0.875rem] [&_pre]:leading-relaxed [&_pre]:max-w-none [&_pre_code]:bg-transparent [&_pre_code]:p-0 [&_img]:rounded-lg [&_img]:my-12 [&_img]:w-full [&_img]:max-w-none [&_ul]:list-disc [&_ul]:pl-6 [&_ul]:mb-8 [&_ul]:-mt-1 [&_li]:mb-3 [&_li]:leading-[1.7] [&_strong]:font-semibold [&_em]:italic [&_a]:underline [&_a]:underline-offset-3 [&_a]:decoration-foreground/30 [&_a]:hover:decoration-foreground/60 [&_a]:transition-colors [&_table]:w-full [&_table]:my-10 [&_table]:border-collapse [&_table]:text-[0.9rem] [&_th]:text-left [&_th]:font-semibold [&_th]:py-3 [&_th]:px-4 [&_th]:border-b-2 [&_th]:border-border [&_td]:py-3 [&_td]:px-4 [&_td]:border-b [&_td]:border-border [&_tr:hover]:bg-muted/50">+ <div className="blog-content blog-prose"><PostContent /></div>{topic && (relatedPosts.length > 0 || nextTopicBridge) && (- <aside className="mt-20 border-t border-border pt-10">- <div className="flex flex-col gap-3 sm:flex-row sm:items-end sm:justify-between">+ <aside className="mt-16 border-t border-border pt-8">+ <div className="flex flex-col gap-4 sm:flex-row sm:items-end sm:justify-between"><div>- <p className="font-mono text-[11px] uppercase tracking-[0.16em] text-muted-foreground/60">+ <h2 className="font-sans text-2xl font-semibold tracking-tight">Keep exploring- </p>- <h2 className="mt-2 font-news text-2xl sm:text-3xl font-semibold tracking-tight">- {topic.label}</h2>+ <p className="mt-2 text-sm text-muted-foreground">{topic.label}</p></div><Linkhref={`/blog#${topic.id}`}@@ -123,23 +121,24 @@ export default async function BlogPostPage({{relatedPosts.length > 0 && (<navaria-label={`More in ${topic.label}`}- className="mt-7 grid gap-px overflow-hidden rounded-xl border border-border bg-border sm:grid-cols-3"+ className="mt-6 divide-y divide-border border-t border-border">{relatedPosts.map((relatedPost) => (<Linkkey={relatedPost.slug}href={`/blog/${relatedPost.slug}`}- className="group flex min-h-44 flex-col bg-background p-5 transition-colors hover:bg-muted/50"+ className="group grid grid-cols-[minmax(0,1fr)_auto] gap-x-6 py-6 focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-ring">- <span className="font-mono text-[10px] uppercase tracking-[0.13em] text-muted-foreground/60">- {getBlogTopicEntryBySlug(relatedPost.slug)?.userJob}- </span>- <span className="mt-3 font-news text-lg font-semibold leading-snug tracking-tight group-hover:translate-x-0.5 transition-transform duration-200">+ <span className="col-start-1 font-sans text-lg font-semibold leading-snug group-hover:underline underline-offset-4">{relatedPost.title}</span>- <span className="mt-auto pt-4 text-xs text-muted-foreground">+ <span className="col-start-1 mt-2 text-sm leading-relaxed text-muted-foreground">+ {getBlogTopicEntryBySlug(relatedPost.slug)?.userJob}+ </span>+ <span className="col-start-1 mt-2 text-sm text-muted-foreground">{relatedPost.readingTime}</span>+ <ArrowRight aria-hidden="true" className="col-start-2 row-start-1 row-span-3 size-5 self-center text-muted-foreground group-hover:text-foreground" /></Link>))}</nav>@@ -148,20 +147,18 @@ export default async function BlogPostPage({{nextTopicBridge && (<Linkhref={`/blog/${nextTopicBridge.post.slug}`}- className="group mt-5 grid gap-3 rounded-xl border border-border p-5 transition-colors hover:bg-muted/40 sm:grid-cols-[9rem_1fr_auto] sm:items-center sm:gap-6"+ className="group mt-8 flex items-center justify-between gap-4 border-t border-border pt-6">- <span className="font-mono text-[10px] uppercase tracking-[0.14em] text-muted-foreground/60">- Next topic- </span><span>- <span className="block text-xs text-muted-foreground">- {nextTopicBridge.topic.label}- </span>- <span className="mt-1 block font-news text-lg font-semibold leading-snug tracking-tight">+ <span className="block text-sm text-muted-foreground">Next Blog</span>+ <span className="mt-2 block font-sans text-lg font-semibold leading-snug group-hover:text-muted-foreground transition-colors">{nextTopicBridge.post.title}</span>+ <span className="mt-2 block text-sm text-muted-foreground">+ {nextTopicBridge.topic.label}+ </span></span>- <ArrowRight className="hidden size-4 text-muted-foreground transition-transform duration-200 group-hover:translate-x-1 sm:block" />+ <ArrowRight className="size-4 shrink-0 text-muted-foreground" /></Link>)}</aside>diff --git a/src/web/blog/src/app/blog/blog-footer.dom.test.tsx b/src/web/blog/src/app/blog/blog-footer.dom.test.tsxnew file mode 100644index 000000000..66c98cb22--- /dev/null+++ b/src/web/blog/src/app/blog/blog-footer.dom.test.tsx@@ -0,0 +1,20 @@+import { render } from "@/test/react-dom-harness";+import { describe, expect, it, vi } from "vitest";+import { BlogFooter } from "./blog-footer";+import { PublicLayout } from "@/components/public-layout";++vi.mock("@/components/github-outbound-link", () => ({+ GithubOutboundLink: ({ children }: { children: React.ReactNode }) => <a href="https://github.com/alookai/alook">{children}</a>,+}));++describe("Blog footer", () => {+ it("keeps footer navigation outside main and preserves document links across Workers", () => {+ const { container: doc } = render(<PublicLayout zone="blog" footer={<BlogFooter />}>Article</PublicLayout>);+ expect(doc.querySelectorAll("footer")).toHaveLength(1);+ expect(doc.querySelector("main footer")).toBeNull();+ expect(doc.querySelector("main")?.nextElementSibling?.tagName).toBe("FOOTER");+ expect([...doc.querySelectorAll("footer nav a")].map((a) => a.getAttribute("href"))).toEqual(["/templates", "/blog", "/llms.txt", "/privacy"]);+ expect(doc.querySelectorAll(".blog-footer-socials a")).toHaveLength(3);+ expect(doc.querySelector(".blog-footer-slogan")?.textContent).toContain("Share your agents");+ });+});diff --git a/src/web/blog/src/app/blog/blog-footer.tsx b/src/web/blog/src/app/blog/blog-footer.tsxnew file mode 100644index 000000000..990fcf569--- /dev/null+++ b/src/web/blog/src/app/blog/blog-footer.tsx@@ -0,0 +1,33 @@+import Image from "next/image";+import { ZoneLink } from "@/components/public-layout";+import { SiGithub, SiDiscord, SiX } from "@icons-pack/react-simple-icons";+import { GithubOutboundLink } from "@/components/github-outbound-link";+import { BRAND_SLOGAN } from "@/lib/brand-copy";++export function BlogFooter() {+ return (+ <footer className="blog-footer">+ <div className="mx-auto max-w-5xl px-6">+ <div className="blog-footer-primary">+ <ZoneLink href="/" zone="blog" className="inline-flex items-center gap-2">+ <Image src="/alook.svg" alt="" width={28} height={28} />+ <span className="font-brand text-2xl font-bold">Alook</span>+ </ZoneLink>+ <p className="blog-footer-slogan">{BRAND_SLOGAN}</p>+ <div className="blog-footer-socials" aria-label="Alook social links">+ <GithubOutboundLink surface="public_footer" target="_blank" rel="noopener noreferrer" aria-label="GitHub"><SiGithub size={18} /></GithubOutboundLink>+ <a href="https://discord.alook.ai" target="_blank" rel="noopener noreferrer" aria-label="Discord"><SiDiscord size={18} /></a>+ <a href="https://x.com/alook_ai" target="_blank" rel="noopener noreferrer" aria-label="Follow us on X"><SiX size={16} /></a>+ </div>+ </div>+ <nav className="blog-footer-navigation" aria-label="Footer navigation">+ <ZoneLink href="/templates" zone="blog">Templates</ZoneLink>+ <ZoneLink href="/blog" zone="blog">Blog</ZoneLink>+ <ZoneLink href="/llms.txt" zone="blog">llms.txt</ZoneLink>+ <ZoneLink href="/privacy" zone="blog">Privacy</ZoneLink>+ </nav>+ <p className="blog-footer-copyright">© {new Date().getFullYear()} Alook AI</p>+ </div>+ </footer>+ );+}diff --git a/src/web/blog/src/app/blog/layout.test.ts b/src/web/blog/src/app/blog/layout.test.tsindex db1837181..5ca3969b6 100644--- a/src/web/blog/src/app/blog/layout.test.ts+++ b/src/web/blog/src/app/blog/layout.test.ts@@ -1,6 +1,8 @@import { createElement } from "react";import { describe, expect, it, vi } from "vitest";+vi.mock("./blog-footer", () => ({ BlogFooter: "blog-footer" }));+vi.mock("@/components/theme-toggle", () => ({ThemeToggle: "theme-toggle",}));@@ -24,7 +26,7 @@ describe("BlogLayout", () => {expect(layout.props).toMatchObject({zone: "blog",breadcrumb: "Blog",- footer: "rich",+ footer: expect.objectContaining({ type: "blog-footer" }),});expect(layout.props.rightSlot.type).toBe("theme-toggle");expect(layout.props.children.type).toBe("github-outbound-boundary");diff --git a/src/web/blog/src/app/blog/layout.tsx b/src/web/blog/src/app/blog/layout.tsxindex 02d892d74..fbfbadb4c 100644--- a/src/web/blog/src/app/blog/layout.tsx+++ b/src/web/blog/src/app/blog/layout.tsx@@ -1,3 +1,4 @@+import { BlogFooter } from "./blog-footer";import { ThemeToggle } from "@/components/theme-toggle";import { PublicLayout } from "@/components/public-layout";import { GithubOutboundBoundary } from "@/components/github-outbound-link";@@ -8,7 +9,7 @@ export default function BlogLayout({children: React.ReactNode;}) {return (- <PublicLayout zone="blog" breadcrumb="Blog" rightSlot={<ThemeToggle />} footer="rich">+ <PublicLayout zone="blog" breadcrumb="Blog" rightSlot={<ThemeToggle />} footer={<BlogFooter />}><GithubOutboundBoundary surface="blog">{children}</GithubOutboundBoundary>diff --git a/src/web/blog/src/app/blog/observability.dom.test.tsx b/src/web/blog/src/app/blog/observability.dom.test.tsxindex 144216e82..c11948260 100644--- a/src/web/blog/src/app/blog/observability.dom.test.tsx+++ b/src/web/blog/src/app/blog/observability.dom.test.tsx@@ -144,3 +144,15 @@ it("settles actual content mounted before the URL only after the independent rouawait act(async () => { commitNavigation(window.location.pathname, "page"); });expect(ready(second.id)).toHaveLength(1);});++it("renders a related article title before its summary and retains its destination", async () => {+ const related = { ...posts[1]!, slug: "ai-agent-vs-chatbot", title: "AI agent vs chatbot" };+ loaders.all.mockResolvedValueOnce([...posts, related]);+ render(await BlogPostPage({ params: Promise.resolve({ slug: "local-ai-agents" }) }));+ expect(screen.getByRole("heading", { name: "Keep exploring", level: 2 })).toBeVisible();+ const link = screen.getByRole("link", { name: /AI agent vs chatbot/ });+ expect(link).toHaveAttribute("href", "/blog/ai-agent-vs-chatbot");+ expect([...link.querySelectorAll("span")].map(child => child.textContent)).toEqual([+ related.title, "Decide whether I need an agent or a chatbot", related.readingTime,+ ]);+});diff --git a/src/web/blog/src/app/globals.css b/src/web/blog/src/app/globals.cssindex 9a67fb7d3..96a50b7ef 100644--- a/src/web/blog/src/app/globals.css+++ b/src/web/blog/src/app/globals.css@@ -1,3 +1,90 @@@import "../../../src/app/globals.css";@source "../**/*.{ts,tsx,mdx}";@source "../../../src/**/*.{ts,tsx,mdx}";++.blog-prose {+ font-family: var(--font-dm-sans);+ font-size: 1rem;+ line-height: 1.7;+ overflow-wrap: anywhere;+}+.blog-prose :where(p, ul, ol, blockquote, pre, table, figure) { margin-block: 1rem; }+.blog-prose p, .blog-prose li { line-height: 1.7; }+.blog-prose > :first-child { margin-top: 0; }+.blog-prose :where(h2, h3, h4, h5, h6) {+ font-family: var(--font-dm-sans);+ font-weight: 600;+ line-height: 1.3;+ letter-spacing: -0.02em;+ margin: 2.5rem 0 1rem;+ scroll-margin-top: 5rem;+}+.blog-prose h2 { font-size: 1.5rem; }+.blog-prose h3 { font-size: 1.25rem; margin-top: 2rem; }+.blog-prose :where(h4, h5, h6) { font-size: 1.125rem; margin-top: 2rem; }+.blog-prose a { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: color-mix(in oklch, var(--foreground) 40%, transparent); }+.blog-prose a:hover { text-decoration-color: currentColor; }+.blog-prose :where(h2, h3, h4, h5, h6) a { text-decoration: none; }+.blog-shell a:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; border-radius: 2px; }+.blog-prose ul { list-style: disc; padding-left: 1.5rem; }+.blog-prose ol { list-style: decimal; padding-left: 1.5rem; }+.blog-prose li { margin-block: 0.5rem; }+.blog-prose li > :where(p, ul, ol) { margin-block: 0.5rem; }+.blog-prose blockquote { border-left: 1px solid var(--border); padding-left: 1rem; color: var(--foreground); }+.blog-prose blockquote > :first-child { margin-top: 0; }+.blog-prose blockquote > :last-child { margin-bottom: 0; }+.blog-prose code { font-family: var(--font-dm-mono); font-size: 0.875em; background: var(--muted); border-radius: 0.25rem; padding: 0.125rem 0.25rem; }+.blog-prose pre { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent; border-radius: 0.5rem; background: var(--muted); padding: 1rem; }+.blog-prose pre code { padding: 0; background: transparent; }+.blog-prose img { width: 100%; height: auto; border-radius: 0.5rem; margin-block: 2rem; }+.blog-prose table { display: block; max-width: 100%; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent; border-collapse: collapse; font-size: 0.875rem; }+.blog-prose :where(th, td) { border: 1px solid var(--border); padding: 0.5rem 1rem; text-align: left; }+.blog-prose th { background: var(--muted); font-weight: 600; }+.blog-prose hr { margin-block: 2rem; border-color: var(--border); }+.blog-prose [data-footnote-ref] { padding-inline: 0.125rem; scroll-margin-top: 5rem; }+.blog-prose [data-footnotes] {+ margin-top: 3rem;+ padding-top: 1.5rem;+ border-top: 1px solid var(--border);+ font-size: 0.875rem;+ font-style: italic;+ color: var(--muted-foreground);+}+.blog-prose [data-footnotes] h2 {+ position: static;+ width: auto;+ height: auto;+ padding: 0;+ margin: 0 0 1rem;+ overflow: visible;+ clip: auto;+ clip-path: none;+ white-space: normal;+ font-size: 1rem;+ font-style: normal;+ letter-spacing: normal;+ color: var(--foreground);+}+.blog-prose [data-footnotes] :where(p, li) { line-height: 1.6; }+.blog-prose [data-footnotes] ol { margin: 0; }+.blog-prose [data-footnotes] li { padding-left: 0.25rem; scroll-margin-top: 5rem; }+.blog-prose [data-footnote-backref] { display: inline-block; padding: 0.25rem; font-style: normal; }+.blog-prose [data-footnotes] li:target { background: var(--muted); border-radius: 0.25rem; }++.blog-footer { padding-block: 2rem; border-top: 1px solid var(--border); }+.blog-footer-primary { display: grid; grid-template-columns: 1fr; justify-items: center; align-items: center; gap: 1rem; }+.blog-footer-slogan, .blog-footer-copyright { font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); text-align: center; }+.blog-footer-socials { display: flex; gap: 1rem; }+.blog-footer-socials a { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; color: var(--muted-foreground); }+.blog-footer-navigation { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; margin-top: 1rem; font-size: 0.875rem; }+.blog-footer-navigation a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--muted-foreground); }+.blog-footer a:hover { color: var(--foreground); }+.blog-footer-copyright { margin-top: 1rem; }+@media (min-width: 640px) {+ .blog-prose { font-size: 1.125rem; }+ .blog-prose h2 { font-size: 1.75rem; }+ .blog-prose h3 { font-size: 1.375rem; }+ .blog-footer-primary { grid-template-columns: 1fr auto 1fr; gap: 1.5rem; }+ .blog-footer-primary > a { justify-self: start; }+ .blog-footer-socials { justify-self: end; gap: 0.5rem; }+}diff --git a/src/web/blog/src/app/layout.tsx b/src/web/blog/src/app/layout.tsxindex 3b4496cc6..b9b372e77 100644--- a/src/web/blog/src/app/layout.tsx+++ b/src/web/blog/src/app/layout.tsx@@ -26,7 +26,7 @@ export default function BlogRootLayout({<meta name="mobile-web-app-capable" content="yes" /><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /></head>- <body className="min-h-full flex flex-col">+ <body className="blog-shell min-h-full flex flex-col"><scripttype="application/ld+json"dangerouslySetInnerHTML={{ __html: JSON.stringify(siteStructuredData) }}diff --git a/src/web/src/components/public-layout.tsx b/src/web/src/components/public-layout.tsxindex 54e09a415..b3af66fe6 100644--- a/src/web/src/components/public-layout.tsx+++ b/src/web/src/components/public-layout.tsx@@ -21,7 +21,7 @@ export function isCrossZoneNavigation(href: string, zone: PublicZone): boolean {return zone === "main" ? blogOwned : !blogOwned;}-function ZoneLink({+export function ZoneLink({href,zone,className,@@ -56,7 +56,7 @@ export function PublicLayout({leftSlot?: React.ReactNode;centerSlot?: React.ReactNode;rightSlot?: React.ReactNode;- footer?: "simple" | "rich" | "none";+ footer?: "simple" | "rich" | "none" | React.ReactElement;mainClassName?: string;children: React.ReactNode;}) {@@ -100,6 +100,8 @@ export function PublicLayout({<main className={mainClassName ? `flex-1 ${mainClassName}` : "flex-1"}>{children}</main>+ {typeof footer !== "string" && footer}+{footer === "simple" && (<footer className="border-t border-border px-6 py-12"><div className={`mx-auto flex ${maxWClass} items-center justify-center`}>