diff --git a/README.md b/README.md index 2b5c1263..489a7365 100644 --- a/README.md +++ b/README.md @@ -27,12 +27,10 @@ npm run deploy # build + push out/ to master (GitHub mirror) ## How it deploys -`npm run deploy` runs `predeploy` (build) then pushes the `out/` directory to `master` via `gh-pages`. That's what feeds the GitHub Pages backup at lerko96.com. +`npm run deploy` runs `predeploy` (build) then pushes the `out/` directory to `master` via `gh-pages`. That's what feeds the GitHub Pages backup mirror. `postbuild` drops `out/.nojekyll` so GitHub Pages doesn't ignore `_next/` assets. -Custom domain is in `public/CNAME` — gets copied into `out/` on build. - --- ## Project layout @@ -51,8 +49,7 @@ src/ data/ projects.ts # all projects, featured + archive split services.ts # homelab services with categories -public/ - CNAME # www.lerko96.com +public/ # static assets copied into out/ on build ``` > Tailwind v4 is CSS-first — no `tailwind.config.ts`. All custom tokens live in `globals.css` under `@theme {}`. diff --git a/src/app/globals.css b/src/app/globals.css index e4d300f4..ad6ef9a6 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -39,10 +39,12 @@ html { font-family: var(--font-mono); } -* { - box-sizing: border-box; - margin: 0; - padding: 0; +@layer base { + * { + box-sizing: border-box; + margin: 0; + padding: 0; + } } /* Default transitions — linear, fast */ diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 8d9f34f5..0f0a8aa2 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -38,11 +38,16 @@ export default function RootLayout({ className={`${sourceCodePro.variable} bg-[var(--color-bg)] text-[var(--color-text)] font-mono min-h-screen`} > + {/* Full-width sticky nav */}