What a section is

A page stores its sections as json. Each type is declared once in app/Leap/Concerns/ContentSections.php with the fields it offers, and rendered by a Blade view of the same name. Everything below is one of them.

Slide

A run of slides becomes a carousel; a single one is just a full-width header. Give it an .mp4 instead of an image and it plays muted on a loop.

Text with a background photo

The same text section, now with a full-bleed background and white text. Both are switches in the editor: background photo and white text. This one also has menu item on, which is why it appears as an anchor under Sections in the navigation.

A gallery in one section

The image field takes more than one file. Pick a second and a third and they stack in the image column — no separate gallery section, no extra type to maintain.

Section Media Content type
“A section type is a name, a few fields and a Blade view.”

— Quote section