Skip to content

huangsam/huangsam.github.io

Repository files navigation

GitHub Pages for huangsam

GitHub Actions Workflow Status License

Hosts the code for my personal site.

The codebase has went through multiple phases of JavaScript, but here's a high-level overview of what's changed over the years:

Year Javascript Testing Bundler
2017 Vanilla JS Jest, Puppeteer Webpack
2021 React, Gatsby N/A Webpack
2024 Svelte, SvelteKit Vitest Vite

In all of these cases, the site's HTML and CSS were written from the ground up. No CSS libraries and frameworks (think Tailwind and Bootstrap) were used in the process of building this site.

Getting started

Getting started is as simple as:

yarn install
yarn dev

The site is now running at http://localhost:5173/.

Running validations

Running validations is as simple as:

yarn lint
yarn test

The site is now tested with linters and tests.

Deploying site

Deploying the site is as simple as:

yarn deploy

The site is now deployed to the gh-pages branch.