From 565b02c4867e3cad9a2f477d654dad90aabfa205 Mon Sep 17 00:00:00 2001
From: Lawrence Chen <54008264+lawrencecchen@users.noreply.github.com>
Date: Tue, 10 Feb 2026 16:00:18 -0800
Subject: [PATCH] Widen page max-width and remove theme transition on change
Bump navbar, docs, legal, and community layouts from max-w-5xl to
max-w-6xl. Widen docs content from max-w-2xl to max-w-3xl. Home and
blog pages unchanged. Disable next-themes transition on change.
---
web/app/(legal)/layout.tsx | 2 +-
web/app/community/page.tsx | 2 +-
web/app/components/nav-links.tsx | 2 --
web/app/components/site-header.tsx | 21 ++++++++++++---------
web/app/docs/docs-nav.tsx | 4 ++--
web/app/providers.tsx | 2 +-
6 files changed, 17 insertions(+), 16 deletions(-)
diff --git a/web/app/(legal)/layout.tsx b/web/app/(legal)/layout.tsx
index fa8a1862..e8e828ad 100644
--- a/web/app/(legal)/layout.tsx
+++ b/web/app/(legal)/layout.tsx
@@ -8,7 +8,7 @@ export default function LegalLayout({
return (
diff --git a/web/app/community/page.tsx b/web/app/community/page.tsx
index f0add642..15311689 100644
--- a/web/app/community/page.tsx
+++ b/web/app/community/page.tsx
@@ -44,7 +44,7 @@ export default function CommunityPage() {
return (
-
+
Community
diff --git a/web/app/components/nav-links.tsx b/web/app/components/nav-links.tsx
index b19bcad9..116ceed3 100644
--- a/web/app/components/nav-links.tsx
+++ b/web/app/components/nav-links.tsx
@@ -1,5 +1,4 @@
import Link from "next/link";
-import { DownloadButton } from "./download-button";
export function NavLinks() {
return (
@@ -36,7 +35,6 @@ export function NavLinks() {
>
GitHub
-
>
);
}
diff --git a/web/app/components/site-header.tsx b/web/app/components/site-header.tsx
index e650dc33..05a5aa8b 100644
--- a/web/app/components/site-header.tsx
+++ b/web/app/components/site-header.tsx
@@ -22,8 +22,9 @@ export function SiteHeader({
return (
<>
-
-
+
+ {/* Left: logo + section */}
+
{!hideLogo && (
<>
@@ -48,15 +49,17 @@ export function SiteHeader({
)}
-
- {/* Desktop nav */}
-
+ {/* Center: nav links */}
+
+ {/* Right: Download + theme + mobile */}
+
+
+
+
-
- {/* Mobile hamburger */}
+
{/* Mobile menu button */}