This is the source code for my portfolio website!
- Have
nodejs. - Clone this repo.
yarnto install dependencies.
Use yarn run dev to start a development server.
Before commit, make sure to format, (yarn run format / yarn run writeFormat) lint, (yarn run lint /
yarn run writeLint) and type-check. (yarn run typecheck)
yarn run build and yarn run start. (because it is a static site, you can use any static server to serve the files in
the out directory)
This website is currently deployed to Cloudflare Pages at https://cyrusyiu.com
- URL redirects (
/github,/linkedin, etc.) are inpublic/_redirects(deployed on Cloudflare Pages), also add them tonext.config.tswhile at it. - URLs for GitHub link, LinkedIn link, etc. are not centralized yet, do full code search for all URLs if replacing.