Live at https://utsabshiwakoti.com
My personal site: the projects I've built, a short about section, and a one-page resume.
- Home page (
index.html): intro, four project case studies with screenshots, live links and source links, my work at UGEC Canada, skills, education and contact links. - Resume page (
resume.html): the same content laid out as a one-page resume. It prints cleanly to a single Letter page, and that print is the downloadable PDF.
- React 19 + Vite 8, plain CSS (no UI framework or icon library)
- oxlint for linting
- GitHub Pages, deployed by GitHub Actions on every push to
main
npm install
npm run dev # http://localhost:5173npm run lint
npm run build # static site in dist/
npm run preview # serve the built siteEverything the site says lives in src/content.js: projects, skills, education, links. The home page and the resume both read from it, so they never disagree. An empty email or linkedin value is simply hidden.
After changing resume content, regenerate the PDF: open /resume.html, print, "Save as PDF", and save it over public/Utsab-Shiwakoti-Resume.pdf.
- Two static pages, no router.
index.htmlandresume.htmlshare one entry point; each page's<body data-page>says which component to render. That keeps the site fully static, andbase: './'invite.config.jsmakes it work at a domain root or under a sub-path. - One source of content. The resume is not a separate document to keep in sync. It is a second view of
content.js. - Print stylesheet.
@pagesets Letter size and margins, the print rules shrink type and spacing, and the mobile layout rules are scoped toscreenso a printed page (narrow in CSS pixels) doesn't pick up the stacked mobile layout. - Live API card. The terminal in the hero makes a real request to my StatDay API and shows the response and how long it took. The API's free host sleeps when idle, so the card says it is waking the server, and after a timeout falls back to a sample response that is labelled as a sample.
- Light and dark. A small inline script picks the theme before the first paint (saved choice, otherwise the system setting), so there is no flash; the toggle saves the choice. Print always uses the light palette.
- Motion is optional. Sections fade in with an
IntersectionObserver; people who ask for reduced motion get no animation, and without JavaScript nothing is hidden. - Fonts are self-hosted (Inter and JetBrains Mono via Fontsource), so there are no third-party requests for them. Icons are a few inline SVGs, not a library.
- Accessibility: skip link, semantic landmarks, visible focus outlines, alt text on screenshots, reduced-motion respected.
- Screenshots are 1200px-wide WebP to keep the page light.
The workflow in .github/workflows/deploy.yml lints, builds and publishes dist/ to GitHub Pages. In the repo settings, set Pages → Source to GitHub Actions. The custom domain (utsabshiwakoti.com) is set under Pages → Custom domain, with DNS pointing at GitHub Pages.
- A short write-up page per project (problem, approach, trade-offs), linked from each card
- Generate the resume PDF in CI so it can never go stale
- Lighthouse check in CI to keep performance and accessibility scores up