Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ekafyi/gatsby-theme-musician
A Gatsby theme for bands and music artists πΈπ
https://github.com/ekafyi/gatsby-theme-musician
Last synced: about 1 month ago
JSON representation
A Gatsby theme for bands and music artists πΈπ
- Host: GitHub
- URL: https://github.com/ekafyi/gatsby-theme-musician
- Owner: ekafyi
- License: mit
- Created: 2019-07-31T18:53:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-26T16:09:34.000Z (almost 2 years ago)
- Last Synced: 2024-10-28T07:32:19.332Z (about 2 months ago)
- Language: JavaScript
- Homepage: https://gatsby-theme-musician.netlify.com
- Size: 13.6 MB
- Stars: 74
- Watchers: 4
- Forks: 21
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Gatsby Theme Musician
A Gatsby theme for bands and music artists πΈπ## Features
- β± Have a landing page up and running in minutes
- π Optimized for SEO and social sharing
- π± Mobile-friendly
- οΈβ‘οΈ Fast and performant, with and without Javascript
- π€ Write as little _or_ as much code as you want
- ππ½ Better with othersβendless combination with other Gatsby themes (blog, ecommerce, photo galleries...)
- π Write your content in plain text, Markdown, HTML elements, and React components thanks to [MDX](https://www.gatsbyjs.org/docs/mdx/)
- π π½ Customizable, versatile design tokens-based styling with [Theme UI](https://theme-ui.com/)Read [introductory post on DEV.to](https://dev.to/ekafyi/make-a-landing-page-for-your-band-in-30-minutes-with-gatsby-theme-musician-2227)
---
π‘ _If you have never used Gatsby before, head to their [quick start guide](https://www.gatsbyjs.org/docs/quick-start/) or [beginner-friendly tutorials](https://www.gatsbyjs.org/tutorial/)._
## π¦ Installation
### Option A: Use the starter to create a _new_ site
```sh
# create a new site at the directory "my-band-site"
gatsby new my-band-site https://github.com/ekafyi/starter-musician-theme# go to the site directory
cd my-band-site# start your site
gatsby develop
```### Option B: Manually add to your existing site
```sh
npm install --save gatsby-theme-musician
```or
```sh
yarn add gatsby-theme-musician
```Add the theme to the `plugins` array in your `gatsby-config.js`:
```javascript
// gatsby-config.js
module.exports = {
plugins: [
{
resolve: "gatsby-theme-musician",
},
],
}
```Start your site. (This step will copy the necessary theme files to your site.)
```sh
gatsby develop
```## π Usage
### 1) Theme options
| Key | Default value | Description |
| ------------- | ------------- | ------------------------- |
| `basePath` | `/` | Root url for landing page |
| `contentPath` | `content` | Location of data files |Example:
```js
// gatsby-config.js
module.exports = {
plugins: [
{
resolve: `gatsby-theme-musician`,
options: {
// Your site will run at http://localhost:8000/my-band
basePath: `my-band`,
},
},
],
}
```### 2) Theme configuration
Configuration files are located in `src/gatsby-theme-musician/config`. They use the [YAML format](https://yaml.org/start.html). These are where you edit theme-specific details such as artist data and site navigation.
```sh
config
βββ artist.yml # Artist data
βββ navigation.yml # Site navigation links
βββ text_labels.yml # Site text labels
```π‘ See [Theme Config documentation](https://github.com/ekafyi/gatsby-theme-musician/blob/master/docs/usage.md#theme-configuration) for more details.
### 3) Content
By default, content files are located in `content` unless you specify a different path in the [theme options](#theme-options).
```sh
content
βββ artist-landing-page.mdx
βββ images
βΒ Β βββ favicon.png
β βββ placeholder.png
βββ releases.yml
βββ sample-page.mdx
βββ shows.yml
```Optionally, you may add images in PNG or JPG format with the following file names.
- `artist-banner.png|jpg` β displayed in top full-width banner
- `artist-logotype.png|jpg` β displayed in header (in place of artist name)
- `artist-social.png|jpg` β used in SEO and social thumbnail metadataπ‘ See [Content documentation](https://github.com/ekafyi/gatsby-theme-musician/blob/master/docs/usage.md#content) for more details.
---
Have fun! π€π½