GithubHelp home page GithubHelp logo

subbrat / garimacodes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from garimasingh128/garimacodes

0.0 0.0 0.0 9.15 MB

๐Ÿ’„ My personal Tech Blog website. โš™

Home Page: https://garimasingh.netlify.app/

License: MIT License

JavaScript 76.96% SCSS 23.04%

garimacodes's Introduction

Garima Codes

My Tech Blog Website

Author License Platform Last Commit Maintained

Netlify Status

[Check out this live here.](https://garimasingh.netlify.app/)

In this template...

  • ๐Ÿ’„ Code highlight with Fira Code font
  • ๐Ÿง™ CLI Tool
  • ๐Ÿ˜„ Emoji (emojione)
  • ๐Ÿ—ฃ Social share feature (Twitter, Facebook)
  • ๐Ÿ’ฌ Comment feature (disqus, utterances)
  • โ˜• 'Buy me a coffee' service
  • ๐Ÿค– GA
  • โญ Enhance UX
  • โš™ Configurable

About this Template

Demo

๐Ÿ˜Ž Quick Start

1. Create a Gatsby site

# create a new Gatsby site using the blog starter
npx gatsby new my-blog-starter https://github.com/JaeYeopHan/gatsby-starter-bee

If you are not using npx, following Gatsby Getting Started

npm install -g gatsby-cli
gatsby new my-blog-starter https://github.com/JaeYeopHan/gatsby-starter-bee

2. Start developing

cd my-blog-starter/
npm start
# open localhost:8000

3. Add your content

You can write...

  • contents to blog in content/blog directory.
  • resume content/__about directory.

With markdown syntax and some meta data

Support script for creating new post

cli-tool-example

npm run post

๐Ÿ‘‰ Use gatsby-post-gen (https://github.com/JaeYeopHan/gatsby-post-gen)

4. Fix meta data

You can fix meta data of blog in /gatsby-meta-config.js file.

5. Publish with netlify

Deploy to Netlify

๐Ÿ’ก if you want to deploy github pages, add following script to package.json

"scripts": {
    "deploy": "gatsby build && gh-pages -d public -b master -r '[email protected]:${your github id}/${github page name}.github.io.git'"
}

๐Ÿง Customize

โš™ Gatsby config

/root
โ”œโ”€โ”€ gatsby-browser.js // font, polyfill, onClientRender ...
โ”œโ”€โ”€ gatsby-config.js // Gatsby config
โ”œโ”€โ”€ gatsby-meta-config.js // Template meta config
โ””โ”€โ”€ gatsby-node.js // Gatsby Node config

โ›‘ Structure

src
โ”œโ”€โ”€ components // Just component with styling
โ”œโ”€โ”€ layout // home, post layout
โ”œโ”€โ”€ pages // routing except post: /(home), /about
โ”œโ”€โ”€ styles
โ”‚   โ”œโ”€โ”€ code.scss
โ”‚   โ”œโ”€โ”€ dark-theme.scss
โ”‚   โ”œโ”€โ”€ light-theme.scss
โ”‚   โ””โ”€โ”€ variables.scss
โ””โ”€โ”€ templates
    โ”œโ”€โ”€ blog-post.js
    โ””โ”€โ”€ home.js

๐ŸŽจ Style

You can customize color in src/styles directory.

src/styles
โ”œโ”€โ”€ code.scss
โ”œโ”€โ”€ dark-theme.scss
โ”œโ”€โ”€ light-theme.scss
โ””โ”€โ”€ variables.scss

๐Ÿญ Tips (You can change...)

  • Profile image! (replace file in /content/assets/profile.png)
  • Favicon image! (replace file in /content/assets/felog.png)
  • Header gradient! ($theme-gradient /styles/variables.scss)
  • Utterances repository! (replace repository address in /gatsby-meta-config.js)

โ˜• Like it?

Buy Me A Coffee

๐Ÿค” If...

If you are currently writing in the Medium, consider migration with medium-to-own-blog!

๐Ÿ› Bug reporting

Issue

๐ŸŽ Contributing

Contributing guide

LICENSE

MIT

garimacodes's People

Contributors

garimasingh128 avatar

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.