diff --git a/app/pages/[slug]/page.tsx b/app/pages/[slug]/page.tsx index acb73d7..9b2e7ec 100644 --- a/app/pages/[slug]/page.tsx +++ b/app/pages/[slug]/page.tsx @@ -76,11 +76,11 @@ export default async function StaticPage({ params }: Props) { <> - -
+ +
-
+
{page.published_at && (

{new Date(page.published_at).toLocaleDateString( diff --git a/components/dev-env-device-hero.tsx b/components/dev-env-device-hero.tsx index 09eb48f..1cd739d 100644 --- a/components/dev-env-device-hero.tsx +++ b/components/dev-env-device-hero.tsx @@ -9,7 +9,7 @@ import { SiArchlinux, SiUbuntu, SiLinux } from 'react-icons/si'; export function DevEnvDeviceHero() { return (

diff --git a/components/post-layout.tsx b/components/post-layout.tsx index da30429..2800800 100644 --- a/components/post-layout.tsx +++ b/components/post-layout.tsx @@ -11,7 +11,7 @@ const PostToc = dynamic(() => import('./post-toc').then(mod => ({ default: mod.P ssr: false, }); -export function PostLayout({ children, hasToc = true, contentKey }: { children: React.ReactNode; hasToc?: boolean; contentKey?: string }) { +export function PostLayout({ children, hasToc = true, contentKey, wide }: { children: React.ReactNode; hasToc?: boolean; contentKey?: string; wide?: boolean }) { const [isTocOpen, setIsTocOpen] = useState(false); // Default closed on mobile const [isDesktopTocOpen, setIsDesktopTocOpen] = useState(hasToc); // Separate state for desktop const [mounted, setMounted] = useState(false); @@ -116,7 +116,7 @@ export function PostLayout({ children, hasToc = true, contentKey }: { children: )}> {/* Main Content Area */}
-
+
{children}
diff --git a/styles/globals.css b/styles/globals.css index 0b8ffdd..e34ee1d 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -111,10 +111,10 @@ margin-top: 40px; } -/* Large screen: scale up proportionally */ +/* Large screen: scale up proportionally to fill space */ @media (min-width: 1024px) { .dev-env-monitor { - width: min(420px, 32vw); + width: min(520px, 42vw); } .dev-env-monitor + .dev-env-desk { margin-top: 48px; @@ -123,7 +123,7 @@ @media (min-width: 1280px) { .dev-env-monitor { - width: min(480px, 28vw); + width: min(600px, 40vw); } .dev-env-monitor + .dev-env-desk { margin-top: 56px; @@ -132,7 +132,7 @@ @media (min-width: 1536px) { .dev-env-monitor { - width: min(540px, 26vw); + width: min(700px, 42vw); } .dev-env-monitor + .dev-env-desk { margin-top: 64px; @@ -552,7 +552,7 @@ @media (min-width: 1024px) { .dev-env-desk { - width: min(460px, 34vw); + width: min(560px, 45vw); height: 66px; padding: 0 16px; gap: 16px; @@ -561,7 +561,7 @@ @media (min-width: 1280px) { .dev-env-desk { - width: min(520px, 30vw); + width: min(640px, 43vw); height: 76px; padding: 0 20px; gap: 20px; @@ -570,7 +570,7 @@ @media (min-width: 1536px) { .dev-env-desk { - width: min(600px, 28vw); + width: min(760px, 46vw); height: 86px; padding: 0 24px; gap: 24px;