Super polished, responsive legal pages that you can plug onto your Gatsby project
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.
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.
Create a new custom type in your Prismic repository named “Legal”. Make sure it is repeatable.
In the JSON Editor, paste in the content structure provided in the documentation.
Create one or more Legal Content pages, each with one or more sections. Don’t forget to populate each page’s SEO tab.
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.