This is the first version of my portfolio website using TypeScript, JavaScript, React, Bootstrap, jQuery and CCS Animations/Transitions.
I used the gh-pages library to display the page in GitHub Pages but you can use your preferred method.
-
Install
gh-pages
as a development dependency$ npm install gh-pages --save-dev
-
Add the
homepage
property to thepackage.json
with your personal domain or GitHub Page personal domain.{ "homepage": "https://brianelizondo.dev" }
-
Add the following commands in the
script
property of thepackage.json
file.{ "predeploy": "npm run build", "deploy": "gh-pages -d build" }
-
Deploy your website in GitHub Pages with your personal domain, this will create a
gh-pages
branch on your repo and push only the files inside the build directory to it.$ npm run deploy
-
Go to your GitHub repo's Settings then under
Pages
verify that GitHub set the source togh-pages
branch.
Color Name | Hex |
---|---|
Black | #000000 |
White | #ffffff |
Green Yellow | #adff2f |