This is a template for a simple personal website. It's easy to customise and deploy, and looks fantastic.
Made with React, TypeScript, and pure CSS 💪
Live demo: https://alexbr.dev/personal-website-template
- Responsive design - looks great on all devices
- Easy to customize - quickly change the content and theme
- Easy to deploy - deploy to GitHub Pages with a single command
- Easy to maintain - once you set it up, you literally just edit a json file and run a command to add new projects
Click the "Use this template" button at the top of the page. This will create a new repository with the same files as this one.
Name your repository as "username.github.io" where "username" is your GitHub username. This is necessary for GitHub Pages to work.
git clone https://github.com/<username>/<username>.github.io.git
cd <username>.github.io
npm installnpm run devThe website will be updated in real-time as you make changes.
Here are some things you might want to change:
- Favicon
- Upload your favicon to the
publicfolder and change thelink'shrefinindex.htmlif necessary
- Upload your favicon to the
- Manifest:
- Update the
public/manifest.jsonfile
- Update the
- Meta tags and title:
- Update the
index.htmlfile
- Update the
- About me:
- Update the
src/customisation/aboutme.tsfile
- Update the
- Background image:
- Replace the
public/background.svgfile. If you want to use a different file format, update thesrc/customisation/theme.cssfile too
- Replace the
- Theme:
- Update the
src/customisation/theme.cssfile
- Update the
- Socials:
- Update the
src/customisation/socials.tsxfile
- Update the
- Package.json:
- Update the
nameandhomepagefields with your GitHub username
- Update the
- Projects
- Update the
src/customisation/projects.jsonfile - Add project images to the
src/customisation/imagesfolder
- Update the
- Deploy to GitHub Pages
npm run deployMake sure that GitHub pages is deployed from the gh-pages branch in your repository settings.
You can do this by going to your repository settings, scrolling down to the "Pages" section, and selecting the gh-pages branch as the source branch.
- Add a new object to the array in the
src/customisation/projects.jsonfile - Add the project image to the
src/customisation/imagesfolder - Run the following command to redeploy the website:
npm run deploy