fkinfood/patterns/cta-simple-button.php

29 lines
1.3 KiB
PHP
Raw Permalink Normal View History

2023-12-23 13:58:28 +00:00
<?php
/**
* Title: Call to action with title, text and button
* Slug: fkinfood/cta-simple-button
* Categories: fkinfood, fkinfood-cta
*/
?>
<!-- wp:group {"align":"wide","layout":{"type":"constrained","contentSize":"866px"}} -->
<div class="wp-block-group alignwide">
<!-- wp:heading {"textAlign":"center","style":{"typography":{"fontStyle":"normal","fontWeight":"700","textTransform":"none"}},"fontSize":"heading-4"} -->
<h2 class="wp-block-heading has-text-align-center has-heading-4-font-size"
style="font-style:normal;font-weight:700;text-transform:none">Make a Change</h2>
<!-- /wp:heading -->
<!-- wp:paragraph {"align":"center","fontSize":"large"} -->
<p class="has-text-align-center has-large-font-size">This block is calling you to action! It is time to buy
something, read something, contact someone or whatever else this section is asking you to do.</p>
<!-- /wp:paragraph -->
<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"},"style":{"spacing":{"margin":{"top":"var:preset|spacing|50"}}}} -->
<div class="wp-block-buttons" style="margin-top:var(--wp--preset--spacing--50)">
<!-- wp:button {"className":"is-style-outline"} -->
<div class="wp-block-button is-style-outline"><a class="wp-block-button__link wp-element-button">Read more</a>
</div>
<!-- /wp:button -->
</div>
<!-- /wp:buttons -->
</div>
<!-- /wp:group -->