Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/salamaashoush/salamaashoush.com
salamaashoush.com website
https://github.com/salamaashoush/salamaashoush.com
Last synced: 6 days ago
JSON representation
salamaashoush.com website
- Host: GitHub
- URL: https://github.com/salamaashoush/salamaashoush.com
- Owner: salamaashoush
- Created: 2019-08-21T23:00:40.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T06:30:31.000Z (almost 2 years ago)
- Last Synced: 2023-03-02T22:51:28.457Z (over 1 year ago)
- Language: TypeScript
- Size: 7.16 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Starter for the official Gatsby blog themeQuickly get started using the Gatsby blog theme! This starter creates a new Gatsby site that is preconfigured to work with the [official Gatsby blog theme](https://www.npmjs.com/package/gatsby-theme-blog).
## π Quick start
1. **Create a Gatsby site.**
Use the Gatsby CLI to create a new site, specifying the blog theme starter.
```shell
# create a new Gatsby site using the blog theme starter
gatsby new my-themed-blog https://github.com/gatsbyjs/gatsby-starter-blog-theme
```2. **Start developing.**
Navigate into your new siteβs directory and start it up.
```shell
cd my-themed-blog/
z
```3. **Open the code and start customizing!**
Your site is now running at `http://localhost:8000`!
To get started, check out the guide to [using the Gatsby blog theme starter](https://gatsbyjs.com/docs/themes/using-a-gatsby-theme), or the longer, [more detailed tutorial](https://gatsbyjs.com/tutorial/using-a-theme).
## π§ What's inside?
Here are the top-level files and directories you'll see in a site created using the blog theme starter:
```text
gatsby-starter-blog-theme
βββ content
β βββ assets
β β βββ avatar.png
β βββ posts
β βββ hello-world.mdx
β βββ my-second-post.mdx
βββ src
β βββ gatsby-theme-blog
β βββ components
β β βββ bio-content.js
β βββ gatsby-theme-ui
β βββ colors.js
βββ .gitignore
βββ .prettierrc
βββ gatsby-config.js
βββ LICENSE
βββ package-lock.json
βββ package.json
βββ README.md
```1. **`/content`**: A content folder holding assets that the theme expects to exist. This will vary from theme to theme -- this starter is set up to get you started with the blog theme, which expects an image asset for your avatar, and blog post content. Replace the avatar image file, delete the demo posts, and add your own!
2. **`/src`**: You will probably want to customize your site to personalize it. The files under `/src/gatsby-theme-blog` _shadow_, or override, the files of the same name in the `gatsby-theme-blog` package. To learn more about this, check out the [guide to getting started with using the blog theme starter](https://gatsbyjs.com/docs/themes/using-a-gatsby-theme).
3. **`.gitignore`**: This file tells git which files it should not track / not maintain a version history for.
4. **`.prettierrc`**: This file tells [Prettier](https://prettier.io/) 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](https://www.gatsbyjs.com/).
Here are some places to start:
### Themes
- To learn more about Gatsby themes specifically, we recommend checking out the [theme docs](https://www.gatsbyjs.com/docs/themes/).
### General
- **For most developers, we recommend starting with our [in-depth tutorial for creating a site with Gatsby](https://www.gatsbyjs.com/tutorial/).** 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](https://www.gatsbyjs.com/docs/).** In particular, check out the _Reference Guides_ and _Gatsby API_ sections in the sidebar.