Gatsby Theme Legals Prismic screenshot

Gatsby Theme Legals Prismic

Author Avatar Theme by Allanpooley
Updated: 1 Nov 2021
142 Stars

Super polished, responsive legal pages that you can plug onto your Gatsby project

Categories

Overview

The Gatsby Theme Legals Prismic is a customizable theme for adding polished legal pages to your website. It provides responsive design across mobile, tablet, and desktop devices, and allows for easy customization using Theme UI. The theme builds legal pages sourced from content in Prismic, a content management system, making it easy to manage and update your legal pages.

Features

  • Polished legal pages: The theme provides ready-to-use legal pages that are professionally designed and polished.
  • Responsive design: The pages created with this theme are responsive, ensuring they look great on mobile, tablet, and desktop devices.
  • Customizable: Using Theme UI, you can easily customize the theme to match your brand’s colors and styles.
  • Prismic integration: The theme sources content from Prismic, allowing you to easily manage and update your legal pages.
  • SEO optimization: Each page created with this theme has an SEO tab for populating metadata and improving search engine visibility.

Installation

  1. In your gatsby-config.js, under the plugins section, add the following code:
  plugins: [
    {
      resolve: "gatsby-theme-legals-prismic",
      options: {
        repoName: "PRISMIC_REPO_NAME",
        apiKey: "PRISMIC_API_KEY",
        siteName: "YOUR_SITE_NAME",
        homePath: "HOME_PATH",
      },
    },
  ],

Replace PRISMIC_REPO_NAME, PRISMIC_API_KEY, YOUR_SITE_NAME, and HOME_PATH with their respective values.

  1. Create a new custom type in your Prismic repository named “Legal”. Make sure it is repeatable.

  2. In the JSON Editor, paste in the content structure provided in the documentation.

  3. Create one or more Legal Content pages, each with one or more sections. Don’t forget to populate each page’s SEO tab.

Summary

The Gatsby Theme Legals Prismic is a useful theme for easily adding polished legal pages to your website. With its responsive design and customizable features, it takes the hassle out of creating and managing legal pages. By integrating with Prismic, it provides a user-friendly interface for editing and updating your legal content. Overall, this theme is a valuable tool for any website owner looking to enhance their legal pages.