techyaditya.xyz built with Gatsby and hosted with Github Pages
Many people have contacted me asking me if they can use this code for their own website, and the answer to that question is usually yes, with attribution.
This site is not built with the intention of being a starter theme, so if you have questions about implementation, please refer to the Gatsby docs.
I have revised this from brittanychiang.com. Thanks to Brittany for publishing the source!
Yes, you can fork this repo. Please give proper credit by linking back to [brittanychiang.com]. Thanks!
-
Install the Gatsby CLI
npm install -g gatsby-cli
-
Install and use the correct version of Node using NVM and update the dependencies in package.json
nvm install
-
Install dependencies
npm install
-
Start the development server
gatsby develop
-
Generate a full static production build
gatsby build
-
I have deployed the website via github pages
npm install gh-pages
The logo is made via svg, so you need to update [logo.js](https://github.com/97k/97k.github.io/blob/source/ src/components/icons/logo.js)
Brittany has done a magnificient job in writing clean code, I am a python guy and new to gatsby js, it took me a while to understand the internsals and hence I am writing my two cents which will save your time in figuring out what to change and where.
- Follow this tutorial series by NetNinja if you literally don't have any idea and want to replicate, this will teach you the project structure and how gatsby as SSR is solving a big problem in the industry.
- run
gatsby clean
and re-reungatsby develop
as sometimes the change you have done is correct but have not reflected on the website - Deploy with github pages, latest gh-pages doesn't have problem with SSR local images
- Make custom thumbains with Adobe Express / Canva
- Be unique and use your mind and AI to write clean content
- If you have any queries feel free to reach out to me!
Color | Hex |
---|---|
Navy | #0a192f |
Light Navy | #112240 |
Lightest Navy | #233554 |
Slate | #8892b0 |
Light Slate | #a8b2d1 |
Lightest Slate | #ccd6f6 |
White | #e6f1ff |
Green | #64ffda |