Code Monkey home page Code Monkey logo

that-it-guy-tech-blog's Introduction

Technical Blog using Gatsby

CircleCI Netlify Status

A technical Blog created by Gatsby. You can use it to write non tech blogs as well

Screenshot

🎁 Features

  1. gatsby-plugin-mdx

To convert md files to websites

  1. gatsby-source-filesystem

To access files in this folder using a graphQL api

  1. gatsby-image, gatsby-plugin-sharp, gatsby-transformer-sharp

Its about making the saved images to different formats And also loads the images lazily while webpage is refreshed

  1. gatsby-plugin-styled-components

Without this plugin all your styled components will become messy in gatsby. Here is the gatsby bug that you kill using this gatsbyjs/gatsby#9911 (comment)

  1. jquery to add hash links

This allows you to have urls like this https://that-it-guy.netlify.app/blogs/jquery-react#the-problem

  1. Themes to change to dark mode

Done using Context. useContext. Context.Provider Context.Consumer

  1. Code Syntax
  • Code syntax highlighting using Highlight.js
  • Adding a copy button for each code block
  1. Lazy loading
  • If you have too many posts it will try to load them one by one based on your screen scroll position
  1. Some other hooks

useState, useContext, useCallback

  1. gatsby-plugin-playground

You can use a nice UI for running graphql queries. Lot better than the default graphql UI.

  1. gatsby-plugin-react-helmet

SEO. Create special meta for your root html website that helps BOTs detect your website and understand its purpose.

  1. gatsby-plugin-offline, gatsby-plugin-manifest

2 Steps for making your website Progressive Web App:

  • gatsby-plugin-manifest:

https://www.gatsbyjs.org/docs/progressive-web-app/#it-must-include-a-web-app-manifest Gatsby provides a plugin interface to add support for shipping a manifest with your site.

  • gatsby-plugin-offline:

https://www.gatsbyjs.org/docs/progressive-web-app/#it-must-implement-a-service-worker Gatsby also provides a plugin interface to create and load a service worker into your site

πŸ’― Lighthouse Score

Lighthouse Score

πŸ–Ό Screenshot and Design

🎨 Theming

Themes

Syntax highlighting with Code copy

SyntaxHighlight

Filter by Post Tags

Filter

πŸ’„ Styles

  1. Mostly are Styled Components
  2. Filterbox: react-select, Theme Toggle: react-switch, Icons: react-icons
  3. Some pure css styles

πŸš€ Deploy

Deploy to Netlify

that-it-guy-tech-blog's People

Contributors

ayonious avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

that-it-guy-tech-blog's Issues

Lazy loading of all the posts

Currently the homepage is getting very slow because there are too many images. Even gatsby image lazy loading is not helping here.

Would be good if only first three posts are loaded at a time and then next three loaded only when people scrolls below.

remove CodeDivWrapper

This one is not necessary. Somehow this can be automatically detected.
Maybe using some jquery.

PWA

progressive web app

Fix Lazy loading

The laxy loading of posts
that is there currently is not the perfect one. It does not work for many other sizes.

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.