Coder Social home page Coder Social logo

spiesinorbit / gatsby-starter-theme Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gatsbyjs/gatsby-starter-theme

0.0 0.0 0.0 10.11 MB

A Gatsby theme starter using the official blog theme, and the official notes theme

License: BSD Zero Clause License

JavaScript 100.00%

gatsby-starter-theme's Introduction

Gatsby

Starter for the official Gatsby blog and notes themes.

Quickly get started using the Gatsby blog theme, and notes theme, together! This starter creates a new Gatsby site that is preconfigured to work with the blog theme and the notes theme, in harmony.

πŸš€ Quick start

  1. Create a Gatsby site.

    Use the Gatsby CLI to create a new site, specifying this theme starter.

    # create a new Gatsby site using this theme starter
    gatsby new my-themed-site https://github.com/gatsbyjs/gatsby-starter-theme
  2. Start developing.

    Navigate into your new site’s directory and start it up.

    cd my-themed-site/
    gatsby develop
  3. Open the code and start customizing!

    Your site is now running at http://localhost:8000!

    To get started, check out the guide to getting started with using multiple themes, or the general themes docs.

πŸš€ Quick start (Gatsby Cloud)

Deploy this starter with one click on Gatsby Cloud:

Deploy to Gatsby Cloud

🧐 What's inside?

Here are the top-level files and directories you'll see in a site created using this theme starter.

gatsby-starter-theme
β”œβ”€β”€ content
β”‚   β”œβ”€β”€ assets
β”‚   β”‚   └── avatar.jpg
β”‚   β”œβ”€β”€ notes
β”‚   β”‚   β”œβ”€β”€ example-dir
β”‚   β”‚   β”‚   └── hi.mdx
β”‚   β”‚   └── hello.mdx
β”‚   └── posts
β”‚       β”œβ”€β”€ hello-world.mdx
β”‚       β”œβ”€β”€ my-second-post.mdx
β”‚       └── new-beginnings.mdx
β”œβ”€β”€ src
β”‚   β”œβ”€β”€ gatsby-theme-blog
β”‚   β”‚   └── components
β”‚   β”‚       └── header.js
β”‚   └── gatsby-theme-notes
β”‚       └── components
β”‚           └── layout.js
β”œβ”€β”€ .gitignore
β”œβ”€β”€ .prettierrc
β”œβ”€β”€ gatsby-config.js
β”œβ”€β”€ LICENSE
└── package.json
  1. /content: A content folder holding assets that the blog and notes themes expect to exist. Check out the README for each theme to learn more about the demo content.

  2. /src: You will probably want to customize your site to personalize it. The files under /src/gatsby-theme-blog and /src/gatsby-theme-notes shadow, or override the files of the same name in their respective packages. To learn more about this, check out the guide to getting started with using the blog theme starter.

  3. .gitignore: This file tells git which files it should not track / not maintain a version history for.

  4. .prettierrc: This file tells Prettier which configuration it should use to lint files.

  5. gatsby-config.js: This is the main configuration file for a Gatsby site. This is where you can specify information about your site (metadata) like the site title and description, which Gatsby plugins you’d like to include, etc. When using themes, it's where you'll include the theme plugin, and any customization options the theme provides.

  6. LICENSE: This Gatsby starter is licensed under the 0BSD license. This means that you can see this file as a placeholder and replace it with your own license.

  7. package-lock.json (See package.json below, first). This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. (You won’t change this file directly).

  8. package.json: A manifest file for Node.js projects, which includes things like metadata (the project’s name, author, etc). This manifest is how npm knows which packages to install for your project.

  9. README.md: A text file containing useful reference information about your project.

πŸŽ“ Learning Gatsby

Looking for more guidance? Full documentation for Gatsby lives on the website.

Here are some places to start:

Themes

  • To learn more about Gatsby themes specifically, we recommend checking out the theme docs.

General

  • For most developers, we recommend starting with our in-depth tutorial for creating a site with Gatsby. It starts with zero assumptions about your level of ability and walks through every step of the process.

  • To dive straight into code samples, head to our documentation. In particular, check out the Guides, API Reference, and Advanced Tutorials sections in the sidebar.

gatsby-starter-theme's People

Contributors

vico0tech 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.