|
13 | 13 | <!-- wp:group {"lock":{"move":true,"remove":true},"metadata":{"name":"<?php esc_html_e( 'Header (Mobile)', 'newspack-block-theme' ); ?>"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"0","left":"var:preset|spacing|30","right":"var:preset|spacing|30"},"margin":{"bottom":"var:preset|spacing|50"}}},"backgroundColor":"base","layout":{"type":"constrained"}} --> |
14 | 14 | <div class="wp-block-group has-base-background-color has-background" style="margin-bottom:var(--wp--preset--spacing--50);padding-top:var(--wp--preset--spacing--30);padding-right:var(--wp--preset--spacing--30);padding-bottom:0;padding-left:var(--wp--preset--spacing--30)"> |
15 | 15 |
|
16 | | - <!-- wp:group {"lock":{"move":true,"remove":true},"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","justifyContent":"space-between","flexWrap":"nowrap"}} --> |
| 16 | + <!-- wp:group {"lock":{"move":true,"remove":true},"align":"wide","style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"grid","columnCount":7,"minimumColumnWidth":null}} --> |
17 | 17 | <div class="wp-block-group alignwide"> |
18 | | - <!-- wp:site-logo {"width":256,"lock":{"move":false,"remove":true}} /--> |
19 | 18 |
|
20 | | - <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"flex","flexWrap":"nowrap"}} --> |
| 19 | + <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"},"layout":{"columnSpan":2}},"layout":{"type":"flex","flexWrap":"nowrap"}} --> |
| 20 | + <div class="wp-block-group"> |
| 21 | + <!-- wp:template-part {"slug":"mobile-menu","theme":"newspack-block-theme","tagName":"div","lock":{"move":false,"remove":true},"className":"mobile-menu"} /--> |
| 22 | + |
| 23 | + <?php if ( class_exists( 'Newspack\Reader_Activation' ) && \Newspack\Reader_Activation::is_enabled() ) : ?> |
| 24 | + <!-- wp:newspack/my-account-button {"lock":{"move":false,"remove":true},"className":"is-style-icon-only has-x-small-size","style":{"spacing":{"padding":{"top":"0.375rem","bottom":"0.375rem","left":"0.375rem","right":"0.375rem"}},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"backgroundColor":"base","textColor":"contrast","fontSize":"x-small"} /--> |
| 25 | + <?php endif; ?> |
| 26 | + </div> |
| 27 | + <!-- /wp:group --> |
| 28 | + |
| 29 | + <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"},"layout":{"columnSpan":3}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"center"}} --> |
| 30 | + <div class="wp-block-group"> |
| 31 | + <!-- wp:site-logo {"width":256,"lock":{"move":false,"remove":true}} /--> |
| 32 | + </div> |
| 33 | + <!-- /wp:group --> |
| 34 | + |
| 35 | + <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"},"layout":{"columnSpan":2}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"right"}} --> |
21 | 36 | <div class="wp-block-group"> |
22 | 37 | <!-- wp:buttons {"layout":{"type":"flex","flexWrap":"nowrap"},"style":{"spacing":{"blockGap":"var:preset|spacing|20"}}} --> |
23 | 38 | <div class="wp-block-buttons"> |
24 | 39 | <!-- wp:button {"className":"has-x-small-size","fontSize":"x-small"} --> |
25 | | - <div class="wp-block-button has-custom-font-size has-x-small-size has-x-small-font-size"><a class="wp-block-button__link wp-element-button"><?php esc_html_e( 'Donate', 'newspack-block-theme' ); ?></a></div> |
| 40 | + <div class="wp-block-button has-custom-font-size has-x-small-size has-x-small-font-size"><a class="wp-block-button__link wp-element-button"></a></div> |
26 | 41 | <!-- /wp:button --> |
27 | 42 | </div> |
28 | 43 | <!-- /wp:buttons --> |
29 | | - |
30 | | - <?php if ( class_exists( 'Newspack\Reader_Activation' ) && \Newspack\Reader_Activation::is_enabled() ) : ?> |
31 | | - <!-- wp:newspack/my-account-button {"lock":{"move":true,"remove":false},"style":{"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"backgroundColor":"base-2","textColor":"contrast","className":"has-x-small-size","fontSize":"x-small"} /--> |
32 | | - <?php endif; ?> |
33 | | - |
34 | | - <!-- wp:template-part {"slug":"mobile-menu","theme":"newspack-block-theme","tagName":"div","lock":{"move":false,"remove":true},"className":"mobile-menu"} /--> |
35 | 44 | </div> |
36 | 45 | <!-- /wp:group --> |
| 46 | + |
37 | 47 | </div> |
38 | 48 | <!-- /wp:group --> |
39 | 49 |
|
|
0 commit comments