Skip to content

Commit b8532f2

Browse files
Add max-width and center-align layout containers
1 parent bb17677 commit b8532f2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/web/src/app/(home)/_components/footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Link from "next/link";
44
const Footer = () => {
55
return (
66
<footer className="relative w-full border-border border-t font-mono">
7-
<div className="px-4 py-12 sm:px-6">
7+
<div className="mx-auto max-w-7xl px-4 py-12 sm:px-6">
88
<div className="mb-12 grid gap-8 md:grid-cols-3">
99
<div>
1010
<h3 className="mb-4 flex items-center gap-2 font-semibold text-base text-foreground">

apps/web/src/app/(home)/_components/navbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export default function Navbar() {
9494
: "border-transparent border-b bg-transparent",
9595
)}
9696
>
97-
<div className="flex h-16 items-center justify-between px-4 sm:px-6 lg:px-8">
97+
<div className="mx-auto flex h-16 max-w-7xl items-center justify-between px-4 sm:px-6 lg:px-8">
9898
<Link href="/" className="flex flex-shrink-0 items-center gap-2">
9999
<Image
100100
src="/logo.svg"

apps/web/src/app/(home)/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export default function HomePage() {
133133
return (
134134
<div className="terminal-scanlines min-h-screen bg-background font-mono">
135135
<Navbar />
136-
<main className="terminal-matrix-bg p-6 pt-28">
136+
<main className="terminal-matrix-bg mx-auto max-w-7xl p-6 pt-28">
137137
<div className="mb-8 flex items-center justify-center">
138138
<div className="flex flex-wrap items-center justify-center gap-2 sm:gap-4 md:gap-6">
139139
<pre className="ascii-art terminal-glow text-primary text-xs leading-tight sm:text-sm">

0 commit comments

Comments
 (0)