Gatsby Theme Serena

screenshot of Gatsby Theme Serena

A minimalist Gatsby theme designed for photography and portfolios — with a masonry grid and lightbox

Overview:

The Serena Theme is a minimalist Gatsby theme designed specifically for photography and portfolios. It features a masonry grid and lightbox, allowing users to showcase their work in a visually appealing way. The theme offers various customization options, including the ability to define galleries using YAML, support for both local and remote images, and the inclusion of a contact form powered by Netlify. With its responsive design and offline support, the Serena Theme provides a seamless and optimized experience for visitors.

Features:

  • Minimalist and fast: The Serena Theme offers a clean and minimalist design that prioritizes speed and performance.
  • Define your galleries with YAML: Users can easily define their galleries using YAML files, allowing for easy organization and management of visual content.
  • Local or remote images: The theme supports the use of both local and remote images, giving users flexibility in sourcing their visual assets.
  • Masonry grid and lightbox: The Serena Theme includes a masonry grid layout and lightbox functionality, enhancing the visual display of the portfolio or photography website.
  • Contact form (Netlify): The theme integrates with Netlify to provide a contact form, enabling visitors to easily get in touch with the website owner.
  • Generate About page and more with MDX: Users can generate an About page and other relevant pages using MDX, a popular Markdown-based syntax for creating interactive components.
  • Social links: The Serena Theme allows users to include links to their social media profiles, making it easy for visitors to connect with them on various platforms.
  • Styling with Theme UI: The theme utilizes Theme UI, a utility-based styling framework, to provide customizable styling options to users.
  • Responsive and offline support: The Serena Theme is designed to be fully responsive, providing an optimal viewing experience across different devices. It also supports offline functionality, allowing visitors to access the website even without an internet connection.

New site:

To generate a new site pre-configured with Gatsby Theme Serena, follow these steps:

  1. Install Gatsby CLI globally if you haven't already:
npm install -g gatsby-cli
  1. Create a new site using the Serena Theme starter:
gatsby new my-serena-site https://github.com/username/repo

Replace username/repo with the repository URL where the Serena Theme starter is hosted.

Add to existing site:

To add the Serena Theme to an existing Gatsby site, you have two options:

  1. Install the theme directly using npm or yarn:
npm install gatsby-theme-serena

or

yarn add gatsby-theme-serena
  1. Add the theme to your gatsby-config.js file:
module.exports = {
  plugins: [
    {
      resolve: 'gatsby-theme-serena',
      options: {
        // theme options here
      },
    },
  ],
};

You can customize the theme options based on your requirements.

Config:

To configure and customize the Serena Theme, you can use the following options in your gatsby-config.js file:

| Key | Default value | Description | | ---------------- | ------------------- | --------------------------------------------------------------------------------------------------------- | | galleriesPath | content/galleries | Location of galleries, can be one or multiple YML files | | pagesPath | content/pages | Location of pages | | assetPath | content/assets | Location of assets | | disableContact | false | Delete the default Contact page | | margin | 6 | Margin between photos in the masonry grid | | direction | column | Direction in the masonry grid, "column" (vertical) or "row" (horizontal) | | mdx | true | Configure gatsby-plugin-mdx (if your website already is using the plugin pass false to turn this off) |

Summary:

The Serena Theme is a visually appealing and customizable Gatsby theme designed for photography and portfolios. Its key features include a masonry grid layout, lightbox functionality, support for YAML-defined galleries, social media integration, and a contact form powered by Netlify. The theme is easy to install, can be used for new or existing Gatsby sites, and offers various configuration options for further customization. With its minimalist design, fast performance, and responsive layout, the Serena Theme is an excellent choice for photographers and portfolio owners looking to showcase their work effectively.