Skip to content

johncai117/johncai117.github.io

 
 

Repository files navigation

johnc.ai

The second iteration of johnc.ai built with Gatsby and hosted with Netlify. All credit goes to Brittany Chiang for coding up the fourth iteration of her website, which is the base for this website.

Previous iterations by Britanny: v1, v2, v3

Netlify Status

demo

🚨 Forking this repo (please read!)

This is forked from Brittany's repo. She has kindly given permission to fork her repo as long as credit is given. Again, thanks Brittany for the permission and please kindly credit her if you decide to fork the repo too.

Edits that I have made

Having had relatively little experience with the latest tools in web development, I decided to try it out for myself so that I can learn some useful frontend web dev skills. This started off with spending 2 afternoons going through Gatsby tutorial, which quickly got me up to speed with the basics of the language.

Following which, I spent another afternoon looking at Brittany Chiang's code and modifying the parts that needed to be changed. It's a fairly intuitive process, especially as she comments her code well. A difficulty came in changing the logos, which my good friend Shiv Gunter did warn me about. Thankfully, after learning about what he did with the Scalable Vector Graphics, it was not too diffuclt to change the logos.

Deploying had a handy guide here that is rather well written so as long as you follow it, it is quite simple to deploy on Github Pages: deployment tutorial.

Finally, I realized that there was some problem rendering the website preview on LinkedIn. To resolve this, I had to change the metadata of the website's image to point to where the image is stored in the website ("johnc.ai/og.png"). After recompiling the website and deploying it - it rendered properly on LinkedIn.

Some next steps

Implement slide show within the website. Combine mixed media - video + images for some of the projects being showcased.

TL;DR

Yes, you can fork the repo. Please give proper credit to brittanychiang.com. Thanks!

🛠 Installation & Set Up

  1. Install the Gatsby CLI

    npm install -g gatsby-cli
  2. Install and use the correct version of Node using NVM

    nvm install
  3. Install dependencies

    yarn
  4. Start the development server

    npm start

🚀 Building and Running for Production

  1. Generate a full static production build

    npm run build
  2. Preview the site as it will appear once deployed

    npm run serve

🎨 Color Reference

Color Hex
Navy #0a192f #0a192f
Light Navy #172a45 #172a45
Lightest Navy #303C55 #303C55
Slate #8892b0 #8892b0
Light Slate #a8b2d1 #a8b2d1
Lightest Slate #ccd6f6 #ccd6f6
White #e6f1ff #e6f1ff
Green #64ffda #64ffda

About

Second iteration of my personal website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%