All Projects → ryanwiemer → gatsby-theme-amsterdam

ryanwiemer / gatsby-theme-amsterdam

Licence: MIT License
A Gatsby theme for artists, photographers and other creative folks 👨‍🎨

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to gatsby-theme-amsterdam

gatsby-attila-theme-ghost
A Gatsby theme plugin for creating blogs from headless Ghost CMS.
Stars: ✭ 16 (-87.97%)
Mutual labels:  gatsby, static-site, gatsby-theme
gatsby-theme-help-center
A Gatsby theme for your knowledge base or help center
Stars: ✭ 95 (-28.57%)
Mutual labels:  gatsby, gatsby-theme
site
🏞 My name dot com.
Stars: ✭ 54 (-59.4%)
Mutual labels:  gatsby, static-site
gatsby-theme-portfolio-minimal
A Gatsby Theme to create modern one-page portfolios with a clean yet expressive design.
Stars: ✭ 51 (-61.65%)
Mutual labels:  gatsby, gatsby-theme
subtle-ui
A collection of clever yet understated user interactions found on the web
Stars: ✭ 39 (-70.68%)
Mutual labels:  gatsby, static-site
krashna-site
Website for Krashna Musika - Student Society for Classical Music in Delft
Stars: ✭ 17 (-87.22%)
Mutual labels:  gatsby, static-site
gatsby-starter-typescript
A Gatsby starter the way I like it.
Stars: ✭ 62 (-53.38%)
Mutual labels:  gatsby, static-site
Startup Landing
Collection of free top of the line startup landing templates built using react/nextjs/gatsby. Free to download, simply edit and deploy! Updated weekly!
Stars: ✭ 176 (+32.33%)
Mutual labels:  gatsby, static-site
gatsby-theme-egghead-blog
This is a theme version of our gatsby-starter-egghead-blog.
Stars: ✭ 18 (-86.47%)
Mutual labels:  gatsby, gatsby-theme
static-web-apps-gallery-code-samples
A community showcase of projects built with Azure Static Web Apps 🎉 Visit: https://microsoft.github.io/static-web-apps-gallery-code-samples/
Stars: ✭ 96 (-27.82%)
Mutual labels:  gatsby, static-site
gatsby-theme-jam-example
An example submission for the Gatsby Theme Jam.
Stars: ✭ 89 (-33.08%)
Mutual labels:  gatsby, gatsby-theme
gatsby-starter-theme-antv
⚛️ Gatsby's starter of 👉
Stars: ✭ 34 (-74.44%)
Mutual labels:  gatsby, gatsby-theme
Docs
Repository of Twilio SendGrid's product documentation.
Stars: ✭ 221 (+66.17%)
Mutual labels:  gatsby, static-site
gatsby-theme-dox
Documentation made easy with Gatsby. 🎉
Stars: ✭ 29 (-78.2%)
Mutual labels:  gatsby, gatsby-theme
Gatsby Docker
Develop & Build GatsbyJS static sites within Docker.
Stars: ✭ 184 (+38.35%)
Mutual labels:  gatsby, static-site
jiahao.codes
😎 Personal Website
Stars: ✭ 63 (-52.63%)
Mutual labels:  gatsby, static-site
Gatsby Starter Try Ghost
Publish flaring fast blogs with Gatsby and Ghost
Stars: ✭ 137 (+3.01%)
Mutual labels:  gatsby, static-site
Gatsby Theme Superstylin
💅 A Gatsby Theme with styled-components
Stars: ✭ 165 (+24.06%)
Mutual labels:  gatsby, static-site
guitar-book
Open Source, Gatsby theme, mobile and SEO friendly with PWA for building guitar/song books. 🎸 🎤 🎵
Stars: ✭ 29 (-78.2%)
Mutual labels:  gatsby, gatsby-theme
gatsby-themes
A collection of open source, well designed, highly customizable and 100% free Gatsby themes for blazing fast sites. We are working on the next version of the Flex theme. See https://github.com/reflexjs/reflexjs
Stars: ✭ 296 (+122.56%)
Mutual labels:  gatsby, gatsby-theme

Gatsby Theme Amsterdam

Gatsby Theme Amsterdam is released under the MIT license. Current npm package version. Downloads per month on npm. Total downloads on npm. PRs welcome! Follow @ryanwiemer

A Gatsby theme for artists, photographers and other creative folks.

Demo Website

Features

  • Minimal responsive design
  • Optional page transitions
  • Multiple grid options to display posts
  • Customizable theme colors and typography with Theme UI
  • MDX support
  • SEO friendly component
  • Mobile menu
  • Optional scroll progress indicator
  • Optional toggle to switch color modes
  • Emotion using styled-components syntax
  • Tags
  • Pagination
  • Offline support

Installation

Use Gatsby Starter Amsterdam

This will generate a new site pre-configured to use Gatsby Theme Amsterdam.

gatsby new your-themed-site https://github.com/ryanwiemer/gatsby-starter-amsterdam

Manually Add To Your Site

  1. Install the theme
npm install --save gatsby-theme-amsterdam

or

yarn add gatsby-theme-amsterdam
  1. Add the theme to your gatsby-config.js
// gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: 'gatsby-theme-amsterdam',
      options: {
        // See theme options section for more information
      },
    },
  ],
}

Usage

Theme Options

Key Default Value Description
basePath / Root URL for all posts.
contentPath content Location of markdown files used for the posts.
transitions true Include simple page transitions powered with framer-motion
postsPerPage 6 Determines the number of posts shown on each page. This effects both the posts and tag template.
grid basic Determines the type of grid used on the posts and tag templates. Two available options: basic and list.
progressIndicator true Include a progress indicator on the post template.
colorToggle true Include a button in the menu to toggle the color modes.

Example Usage

// gatsby-config.js
module.exports = {
  plugins: [
    {
      resolve: 'gatsby-theme-amsterdam',
      options: {
        // basePath defaults to '/'
        basePath: 'photography',
        // grid defaults to 'basic'
        grid: 'list',
      },
    },
  ],
}

Additional Configuration

In addition to the theme options, there are a handful of items you can customize via the siteMetadata object in your site's gatsby-config.js.

// gatsby-config.js
module.exports = {
  siteMetadata: {
    // Used for the site title and SEO
    title: 'My Site Title',
    // Used for SEO
    description: 'My site description...',
    // Used for SEO. Do not include a trailing slash
    url: 'https://www.example.com',
    // Used for SEO. Must be the full URL for the default image
    image: 'https://www.example.com/og-image.jpg',
    // Used for SEO
    author: 'John Doe',
    // Used for an optional intro section at the top of the posts template
    intro: 'John Doe is a photographer....',
    // Used for the links in the menu
    menuLinks: [
      {
        name: 'Home',
        slug: '/',
      },
      {
        name: 'About',
        slug: '/about/',
      },
      {
        name: 'Contact',
        slug: '/contact/',
      },
    ],
    // Used for the links in the footer
    footerLinks: [
      {
        name: 'Dribbble',
        url: 'https://www.dribbble.com/johndoe',
      },
      {
        name: 'Instagram',
        url: 'https://www.instagram.com/johndoe',
      },
    ],
  },
}

Customization

Gatsby Theme Amsterdam utilizes Theme UI. In order to customize the theme styling you must create a theme file and then override the default amsterdamTheme values. If you're familiar with Styled Components or Emotion it's the same as adapting the theme you pass to ThemeProvider.

All default values can be viewed here.

// src/gatsby-plugin-theme-ui/index.js

import amsterdamTheme from 'gatsby-theme-amsterdam/src/gatsby-plugin-theme-ui'

export default {
  ...amsterdamTheme,
  colors: {
    ...amsterdamTheme.colors,
    background: '#FCD5C0',
  },
}

Writing Content

Posts are written in markdown / mdx format with either .md or .mdx and placed in the content directory at the root of the site unless a different contentPath is defined in the theme options. There are four front matter variables used in the theme which are shown below.

---
title: Hello World
date: 2019-07-06
cover: cover.jpg
tags: [greeting, blog]
---
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].