Skip to content

Open source CapCut alternative.

TypeScript

fix(site): the blog uses the landing's column

David Le6c44ae812553
diff --git a/site/src/app/cut/blog/_components/BlogShell.tsx b/site/src/app/cut/blog/_components/BlogShell.tsx
index f40ddb58..31b4c6c5 100644
--- a/site/src/app/cut/blog/_components/BlogShell.tsx
+++ b/site/src/app/cut/blog/_components/BlogShell.tsx
@@ -3,15 +3,13 @@ import type { ReactNode } from "react";
import { CutFooter } from "@/app/cut/_components/landing/CutFooter";
import { CutTopNav } from "@/app/cut/_components/landing/CutTopNav";
-// The blog's frame: the site nav and footer on the marketing sand, with one
-// measured column between them.
+// The blog's frame: the site nav and footer on the marketing sand, with the
+// landing's column between them so every page on the host lines up.
export function BlogShell({ children }: { children: ReactNode }) {
return (
<main className="min-h-screen bg-background font-system text-ink antialiased">
<CutTopNav />
- <div className="px-[clamp(1rem,4vw,4rem)] pt-4 pb-20 md:pt-10 md:pb-28">
- <div className="mx-auto max-w-[1080px]">{children}</div>
- </div>
+ <div className="mx-auto max-w-[1400px] px-6 pt-4 pb-20 md:px-12 md:pt-10 md:pb-28">{children}</div>
<CutFooter />
</main>
);