Giter Site home page Giter Site logo

portfolio-website-v2's Introduction

Portfolio Website V2 (2022 - Current)

Deployment Status

This is the second version of my portfolio website built using Gatsby and hosted on Firebase hosting. This repository also includes a GitHub workflow that enables continuous deployment.

This takes inspiration from one of my favourite portfolio websites by Brittany Chiang found at https://brittanychiang.com/ in terms of professionally structuring a Gatsby project.

Plugins and Dependencies Used

  1. gatsby-plugin-react-svg
  2. gatsby-source-filesystem
  3. gatsby-transformer-remark
  4. gatsby-plugin-react-helmet
  5. AOS

Colour Scheme

Colour Hex
Primary Blue #18223C #18223C
Secondary Blue #233554 #233554
Light Purple #9DAAF2 #9DAAF2
Yellow #F4DB7D #F4DB7D
Purplish White #e6f1ff #E6F1FF
White #FFFFFF #FFFFFF

Running the Site Locally

For personal reference and/or for whoever who would like to run this site locally, use the following commands.

  1. Assuming the repository is initially cloned, navigate into the project directory and install the dependencies:
    npm install
    
  2. Run the development server:
    gatsby develop
    

Note: Bugs when working in development mode

  • Multiple "root" queries found. When working with VSCode and the Powershell terminal, sometimes the case of the directory is, for some reason, inaccurate, eg. Desktop -> desktop. This can cause an issue when building and hence, to fix it, cd out and into the project directory with the correct casing and run gatsby clean, gatsby develop.
  • The result of this StaticQuery could not be fetched. To fix this issue, first run gatsby clean to remove build cache and rerun gatsby develop.

References

  1. How to use useRef and the difference with useState
  2. Gatsby SEO component
  3. GitHub actions for deploying to Firebase
  4. Deploying a Gatsby application to Firebase
  5. Guide on GitHub actions for Gatsby Build + Firebase Deploy
  6. Fixing SSL issues with Firebase .web.app URLs
  7. Multiple Root Query Issue with Terminal Casing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.