Skip to content
Suvir0Public

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

suvir.net

Personal site for suvir.net. Next.js App Router, exported as static HTML and served from GitHub Pages.

Local development

Requires Node.js 22.13 or newer.

npm install
npm run dev

Checks:

npm run lint
npm run typecheck
npm test

npm test builds the site and asserts against the real exported HTML in out/.

Structure

Three routes, all statically rendered:

Route File
/ app/page.tsx
/work app/work/page.tsx
/resume app/resume/page.tsx

Prose and project data live in app/content.ts. Page structure lives in the route files. Every visual token and responsive rule is in app/globals.css.

app/last-push.tsx is the only client component. It reads the public GitHub events API for the "Last push" row and falls back to a plain profile link when that request fails or is rate limited.

The résumé PDF is generated from resume-src/resume.html; see the README in that directory. Edit the HTML and regenerate rather than replacing the PDF, and keep the filename public/suvir-potdar-resume.pdf.

Publishing

npm run build writes the static site to out/. Pushing to main runs .github/workflows/pages.yml, which builds and deploys that directory.

The custom domain comes from public/CNAME, which the export copies to out/CNAME. GitHub Pages must stay on the GitHub Actions publishing source.

Temporary redirects

public/about/, public/engineering/, and public/projects/** are meta-refresh stubs for URLs that existed before the 2026 rewrite. GitHub Pages cannot issue a real 302, so each one is a static page that redirects to its closest replacement.

Added 2026-08-21. Delete after 2026-09-21, along with the matching test at the bottom of tests/rendered-html.test.mjs.

Content rules

No private hostnames, IP addresses, admin URLs, credentials, live infrastructure status, or diagrams of the real network. No unverified metrics, no dead links, no placeholders.

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages