Make an empty public repository of the name <GITHUB_USERNAME>.github.io.git
. The username should be in lowercase.
Clone the repository: git clone https://github.com/Nathen-Smith/nathen-smith.github.io.git my-website
Change homepage
field in web/package.json
to match your github username.
Change CNAME if you have bought a domain, homepage in package.json
. Or remove it for now.
Push the repository to your own GitHub
git remote set-url origin <GITHUB_USERNAME>.github.io.git
git branch -M main
git push -u origin main
Go to the Pages section in Settings of the repo, and set the source branch to gh-pages
.
Run the app locally
cd web/
yarn
yarn start
Start making modifications to constants/index.js
yarn run lint
to run ESLint.
Q: How to change the position indicator color on web mode? A: Change classnames here
Q: How to change column layout?
A: Go to /Web/src/Layout.tsx
, make changes to the amount of grids, the divs with ids, etc.