[dev] Modular Page Primer

Internal tutorial on how to use Modular Pages

spines of case study books

Modular Page Basics

A Modular Page is a Content type within Contentful that allows you to build pages with blocks of content.

This page is an internal tutorial covering Modular Pages. This page’s status is set to Draft so it should only appear on the QA server.

Unlike a Deluxe Page, a Modular Page:

  • is automatically generated in the site generator, 11ty, without the need for a developer to manually a page to the codebase
  • uses several block types for its content

Modular Blocks

  • Block - Rich Text
  • Block - Media
  • Block - Newsletter Form
  • Block - CTA
  • Block - Page Cards

Block - Rich Text

Rich Text block is for rich text content. Use Markdown for formatting. Text can be bold or italic. Include links to other pages, like Get Started or Get Inspired

Use blockquotes to feature text content with emphasis. And lo, it was written thusly.

You can insert images within Rich Text Blocks.

wm-maven-1

One special feature is that any link in an h3 will be displayed as grey button.

### [Welcome to What Matters](/welcome-to-what-matters)

Welcome to What Matters

Block - Media

Display images and YouTube videos with the Media Block. Use credits to display authorship info.

[dev] Block - Media full-width.

Add credits to display authorship for the photo or link back to its source

[dev] - YouTube embed

Block - Newsletter Form

Add a Newsletter Form Block to add a newsletter email sign-up form. You can set the description and button text.

Block - CTA

Add Block - CTA to add a big clickable Call-To-Action. You can set image, title text and button text. The CTA can link to internal pages or external URLs.

Block - Page Cards

Display a collection of pages with the Page Cards Block. Any Article, FAQ, Resource, and Series Entry may be displayed.