@sonarsource/gatsby-theme-marketing
v5.2.1
Published
Gatsby theme for Sonar projects
Readme
Sonar Gatsby theme
Purpose
- Standardize the list of dependencies needed for Martech maintained websites
- Provide a starting set of common gatsby plugins preinstalled, and minimum options to configure them
- Provide easy integration with Kentico Kontent.
- Use the Sonar Design System
How to use it
This theme is included in the boilerplate by default. If you want to use it somewhere else, simply install the gatsby-theme-sonar dependency, and enable it in your gatsby config.
Options
projectId (string): the Kentico Kontent project idpreviewKey (string): The Kentico Kontent preview keysecureKey (string): The Kentico Kontent secure access keypreviewMode (boolean): if true, the project will use the preview API from Kentico KontentmanagementKey (string): The Kentico Kontent management keytypesToGenerate (string[] | undefined): see the GraphQL transformer plugin docshomepageCodename (string | undefined): The codename of the homepage in Kentico Kontent. If not specified, defaults tohomepagedisablePageGeneration (boolean | undefined): If true, will disable the default page generation algorithm. Useful if you are integrating the theme in an existing website that has its own page generation algorithm.layout (string | undefined): The root layout of your pages, as specified bygatsby-plugin-layout. if not specified, will use theMainLayoutfrom the theme.
Included plugins
@sonarsource/marketing-gatsby-transformer-kontent-graphqlgatsby-plugin-emotiongatsby-plugin-imagegatsby-plugin-layoutgatsby-plugin-sharpgatsby-plugin-tsconfig-pathsgatsby-transformer-sharp
