Estayparadox/Prismic-Gatsby-Boilerplate

View on GitHub
src/schemas/homepage.json

Summary

Maintainability
Test Coverage
{
  "Main": {
    "title": {
      "type": "StructuredText",
      "config": {
        "single": "heading1",
        "label": "Title"
      }
    }
  },
  "SEO": {
    "website_name": {
      "type": "Text",
      "config": {
        "label": "Website name"
      }
    },
    "website_base_url": {
      "type": "Text",
      "config": {
        "label": "Website base url"
      }
    },
    "website_author": {
      "type": "Text",
      "config": {
        "label": "Website author"
      }
    },
    "website_theme_color": {
      "type": "Text",
      "config": {
        "label": "Website theme color"
      }
    },
    "meta_title": {
      "type": "Text",
      "config": {
        "label": "Meta title"
      }
    },
    "meta_description": {
      "type": "Text",
      "config": {
        "label": "Meta description"
      }
    },
    "meta_image": {
      "type": "Image",
      "config": {
        "constraint": {},
        "thumbnails": [
          {
            "name": "seo",
            "width": 1200,
            "height": 627
          }
        ],
        "label": "Meta image"
      }
    },
    "meta_logo": {
      "type": "Image",
      "config": {
        "constraint": {},
        "thumbnails": [
          {
            "name": "logo",
            "width": 500,
            "height": 500
          }
        ],
        "label": "Meta logo"
      }
    }
  }
}