Homepage
We'll build a new content type which we will use to build the homepage with all of its components shown in our design. Before we do that, let's evaluate what is the best way to integrate the Hero component for our content creators.

For the hero, we will need three fields to integrate with the component we already built in Pattern Lab: Image, Heading, and Link. For this example, we are going to create a paragraph for the Hero component. This has several benefits, first it will keep our fields grouped together making it easy for content creators. Second, we can easily customize a paragraph template to include our Pattern Lab twig. And third, this will make the Hero component more flexible as it could actually be included in other content types down the road.
Let's start with the Hero Paragraph.
Last updated