All Projects β†’ epilande β†’ gatsby-theme-gallery

epilande / gatsby-theme-gallery

Licence: MIT License
🏞 A Gatsby Theme for adding a gallery to your site.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

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

gatsby-attila-theme-ghost
A Gatsby theme plugin for creating blogs from headless Ghost CMS.
Stars: ✭ 16 (-60%)
Mutual labels:  gatsby, gatsby-plugin, gatsby-theme
gatsby-theme-nehalem
A Gatsby blog theme.
Stars: ✭ 168 (+320%)
Mutual labels:  gatsby, gatsby-plugin, gatsby-theme
gatsby-theme-jam-example
An example submission for the Gatsby Theme Jam.
Stars: ✭ 89 (+122.5%)
Mutual labels:  gatsby, gatsby-plugin, gatsby-theme
gatsby-theme-deck-n-blog
Create a deck (with mdx-deck) and a blog post from the same MDX
Stars: ✭ 17 (-57.5%)
Mutual labels:  gatsby, gatsby-plugin, gatsby-theme
gatsby-theme-dox
Documentation made easy with Gatsby. πŸŽ‰
Stars: ✭ 29 (-27.5%)
Mutual labels:  gatsby, gatsby-plugin, gatsby-theme
gatsby-source-moltin
πŸš€ Gatsby source plugin for building Elastic Path Commerce Cloud powered eCommerce websites
Stars: ✭ 21 (-47.5%)
Mutual labels:  gatsby, gatsby-plugin
gatsby-plugin-tailwindcss
Plug Tailwind CSS to your Gatsby website
Stars: ✭ 46 (+15%)
Mutual labels:  gatsby, gatsby-plugin
gatsby-source-directus7
Source plugin for pulling data into GatsbyJS from Directus CMS (https://directus.io)
Stars: ✭ 17 (-57.5%)
Mutual labels:  gatsby, gatsby-plugin
gatsby-source-stripe
Gatsby source plugin for building websites using Stripe as a data source
Stars: ✭ 71 (+77.5%)
Mutual labels:  gatsby, gatsby-plugin
gatsby-i18n
Gatsby plugin that provides i18n support
Stars: ✭ 25 (-37.5%)
Mutual labels:  gatsby, gatsby-plugin
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 (+640%)
Mutual labels:  gatsby, gatsby-theme
hes-gallery
Light, dependency free, responsive gallery script
Stars: ✭ 27 (-32.5%)
Mutual labels:  photos, gallery
gatsby-theme-egghead-blog
This is a theme version of our gatsby-starter-egghead-blog.
Stars: ✭ 18 (-55%)
Mutual labels:  gatsby, gatsby-theme
gatsby-source-behance
Gatsby source plugin for loading information from Behance
Stars: ✭ 17 (-57.5%)
Mutual labels:  gatsby, gatsby-plugin
guitar-book
Open Source, Gatsby theme, mobile and SEO friendly with PWA for building guitar/song books. 🎸 🎀 🎡
Stars: ✭ 29 (-27.5%)
Mutual labels:  gatsby, gatsby-theme
jekyll-photos
Dead simple solution to add a photo gallery to a Jekyll site.
Stars: ✭ 47 (+17.5%)
Mutual labels:  photos, gallery
gatsby-plugin-apollo-client
πŸ“‘Inject a Shopify Apollo Client into the browser.
Stars: ✭ 20 (-50%)
Mutual labels:  gatsby, gatsby-plugin
gatsby-plugin-prettier-build
prettify gatsby build output
Stars: ✭ 30 (-25%)
Mutual labels:  gatsby, gatsby-plugin
gatsby-starter-theme-antv
βš›οΈ Gatsby's starter of πŸ‘‰
Stars: ✭ 34 (-15%)
Mutual labels:  gatsby, gatsby-theme
gatsby-plugin-optimize-svgs
A Gatsby Plugin to minify SVGs output to the filesystem during the build.
Stars: ✭ 39 (-2.5%)
Mutual labels:  gatsby, gatsby-plugin

gatsby-theme-gallery 🏞

A Gatsby Theme for adding a gallery to your site.

GitHub npm Netlify Status

Why?

You want a place to share your photos and you want to host it yourself, no third-party services. You also want the solution to be really simple and extendable.

That's where gatsby-theme-gallery comes into play. Just drop your images into a directory (content/gallery) and we'll generate a gallery based on that.

What's in the box?

  • πŸ’― Easy to set up gallery.
  • πŸ”‹ Gallery component.
  • πŸ” Lightbox functionality.
  • πŸ“± Responsive, mobile friendly.
  • 🎨 Fully customizable & extendable with theme-ui.

DEMO

Installation

$ npm install --save gatsby-theme-gallery

Usage

// gatsby-config.js
module.exports = {
  plugins: ["gatsby-theme-gallery"],
};

That's it! Drop images into your content/gallery directory and we'll serve up the gallery on basePath.

Theme options

Key Default Required Description
basePath / false URL for gallery page
galleryPath content/gallery false Location of gallery images

<Gallery />

Don't like the gallery page layout?

No problem! Just use the Gallery component.

import { Gallery } from "gatsby-theme-gallery";

const MyGallery = () => (
  <AwesomeLayout>
    <Gallery />
  </AwesomeLayout>
);

Shadowing

Gatsby Themes has a concept called Shadowing, which allows users to override a file in a gatsby theme. This allows the theme to be fully customizable.

To start shadowing, create a folder with the theme name gatsby-theme-gallery in your project's src directory.

Now you're able to override any file in the theme. For example, if you want to override the Footer component, create a file:

src/gatsby-theme-gallery/components/Footer.js

Here's a demo of that demo/src/gatsby-theme-gallery/components/Footer.js

Available Scripts

$ yarn dev

This will run the demo app in development mode.

Navigate to http://localhost:8000 to view it in the browser.

$ yarn build

This will build the demo app for production.

Outputs to the demo/public folder.

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