Code Monkey home page Code Monkey logo

kontrolqa's Introduction

๐Ÿ˜Ž Quick Start

1. Development

cd my-blog-starter/
yarn dev
# 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 github pages

๐Ÿ’ก 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)

LICENSE

MIT

Org project by @JbeeโœŒ

kontrolqa's People

Contributors

kostyrko avatar

Watchers

 avatar  avatar

kontrolqa's Issues

Add UP redirection arrow

Add arrow within sticky categories container that upon clicking would redirect user to the first article

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.