aemsites / momentive

AEM Sites Edge Delivery project for Momentive.com
Apache License 2.0
0 stars 0 forks source link

Product list heading/hero (auto)block #19

Closed badvision closed 5 months ago

badvision commented 6 months ago

The first H1 of the page, if present, should be auto-blocked to look like the following:

image

The author should not be required to author an actual block on the page, just the first h1 in the first section is used -- Hero can be reused if appropriate, but this is a format specific to product list template pages for now.

Example urls:

This hero also includes the breadcrumb, as the breadcrumb does not appear in the brand hero (described in #20)

Mobile requirements: The current website does not handle mobile styling well. Consider reducing font and/or relaxing rigid height restrictions in the mobile breakpoint so that the header is readable. Current website: image

badvision commented 5 months ago

The auto-blocking logic used for product pages can be re-used for breadcrumb. The hero auto-block is already present, but we will want a different h1 style for plain header on product list template pages (e.g. when body has style of product-list)