wire simple pages to PageRenderer (stage 3)
Home, Content (about/delivery/privacy/terms), Contact, and ErrorHTML now render through the generic PageRenderer instead of hardcoded templates. Block wrapper divs enable CSS grid targeting. Featured products block supports layout/card_variant/columns settings for different page contexts. Contact page uses CSS grid on data-block-type attributes for two-column layout. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2444,6 +2444,9 @@
|
||||
max-width: 56rem;
|
||||
padding-top: 0;
|
||||
padding-bottom: 4rem;
|
||||
|
||||
& > [data-block-type="hero"] { grid-column: 1 / -1; }
|
||||
& > [data-block-type="contact_form"] { grid-column: 1; }
|
||||
}
|
||||
|
||||
.contact-grid {
|
||||
@@ -2527,6 +2530,7 @@
|
||||
.footer-bottom { flex-direction: row; }
|
||||
.pdp-grid { grid-template-columns: repeat(2, 1fr); }
|
||||
.contact-grid { grid-template-columns: repeat(2, 1fr); }
|
||||
.contact-main { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
|
||||
.product-grid[data-columns="fixed-4"] {
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user