Created
January 26, 2024 04:26
-
-
Save marklchaves/7eec208b1747fa8dc0d2c01127235b47 to your computer and use it in GitHub Desktop.
Example Content for New York Times Style Teaser
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- wp:columns --> | |
<div class="wp-block-columns"><!-- wp:column {"width":"30%"} --> | |
<div class="wp-block-column" style="flex-basis:30%"></div> | |
<!-- /wp:column --> | |
<!-- wp:column {"width":"40%"} --> | |
<div class="wp-block-column" style="flex-basis:40%"><!-- wp:group {"metadata":{"name":"Card"},"style":{"spacing":{"blockGap":"var:preset|spacing|small","padding":{"top":"var:preset|spacing|small","right":"var:preset|spacing|small","bottom":"var:preset|spacing|small","left":"var:preset|spacing|small"}},"border":{"radius":"5px"},"layout":{"selfStretch":"fixed","flexSize":"360px"}},"backgroundColor":"base","layout":{"type":"constrained"}} --> | |
<div class="wp-block-group has-base-background-color has-background" style="border-radius:5px;padding-top:var(--wp--preset--spacing--small);padding-right:var(--wp--preset--spacing--small);padding-bottom:var(--wp--preset--spacing--small);padding-left:var(--wp--preset--spacing--small)"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|small"}},"layout":{"type":"constrained"}} --> | |
<div class="wp-block-group"><!-- wp:heading {"textAlign":"center"} --> | |
<h2 class="wp-block-heading has-text-align-center">Create an account or log in.</h2> | |
<!-- /wp:heading --></div> | |
<!-- /wp:group --> | |
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20","padding":{"left":"15%"}}},"layout":{"type":"flex","orientation":"vertical"},"fontSize":"small"} --> | |
<div class="wp-block-group has-small-font-size" style="padding-left:15%"><!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|small"}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"top"}} --> | |
<div class="wp-block-group"><!-- wp:paragraph --> | |
<p><strong>✓</strong></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph {"fontSize":"x-small"} --> | |
<p class="has-x-small-font-size">Keep up on our events</p> | |
<!-- /wp:paragraph --></div> | |
<!-- /wp:group --> | |
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|small"}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"top"}} --> | |
<div class="wp-block-group"><!-- wp:paragraph --> | |
<p><strong>✓</strong></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph {"fontSize":"x-small"} --> | |
<p class="has-x-small-font-size">Learn more about us</p> | |
<!-- /wp:paragraph --></div> | |
<!-- /wp:group --> | |
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|small"}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"top"}} --> | |
<div class="wp-block-group"><!-- wp:paragraph --> | |
<p><strong>✓</strong></p> | |
<!-- /wp:paragraph --> | |
<!-- wp:paragraph {"fontSize":"x-small"} --> | |
<p class="has-x-small-font-size">Visit our cool products</p> | |
<!-- /wp:paragraph --></div> | |
<!-- /wp:group --></div> | |
<!-- /wp:group --> | |
<!-- wp:buttons --> | |
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"main","width":100,"style":{"spacing":{"padding":{"left":"var:preset|spacing|small","right":"var:preset|spacing|small","top":"var:preset|spacing|20","bottom":"var:preset|spacing|20"}}},"className":"is-style-fill","fontSize":"x-small"} --> | |
<div class="wp-block-button has-custom-width wp-block-button__width-100 has-custom-font-size is-style-fill has-x-small-font-size"><a class="wp-block-button__link has-main-background-color has-background wp-element-button" style="padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--small);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--small)">Sign up for Free</a></div> | |
<!-- /wp:button --></div> | |
<!-- /wp:buttons --></div> | |
<!-- /wp:group --></div> | |
<!-- /wp:column --> | |
<!-- wp:column {"width":"30%"} --> | |
<div class="wp-block-column" style="flex-basis:30%"></div> | |
<!-- /wp:column --></div> | |
<!-- /wp:columns --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment