You've already forked wp-bootstrap
55 lines
2.9 KiB
PHP
55 lines
2.9 KiB
PHP
|
|
<?php
|
||
|
|
/**
|
||
|
|
* Title: Features two columns with image
|
||
|
|
* Slug: wp-bootstrap/features-2-col-offset
|
||
|
|
* Categories: wp-bootstrap_features
|
||
|
|
* Description: A two-column layout with a large image on the left and stacked features on the right.
|
||
|
|
*
|
||
|
|
* @package WPBootstrap
|
||
|
|
* @since 0.1.0
|
||
|
|
*/
|
||
|
|
?>
|
||
|
|
<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
|
||
|
|
<div class="wp-block-group alignfull" style="padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)"><!-- wp:columns {"align":"wide","style":{"spacing":{"blockGap":{"left":"var:preset|spacing|60"}}}} -->
|
||
|
|
<div class="wp-block-columns alignwide"><!-- wp:column {"verticalAlignment":"center"} -->
|
||
|
|
<div class="wp-block-column is-vertically-aligned-center"><!-- wp:image {"sizeSlug":"large","style":{"border":{"radius":"0.5rem"}}} -->
|
||
|
|
<figure class="wp-block-image size-large" style="border-radius:0.5rem"><img src="" alt="<?php esc_attr_e( 'Feature illustration', 'wp-bootstrap' ); ?>"/></figure>
|
||
|
|
<!-- /wp:image --></div>
|
||
|
|
<!-- /wp:column -->
|
||
|
|
|
||
|
|
<!-- wp:column {"verticalAlignment":"center"} -->
|
||
|
|
<div class="wp-block-column is-vertically-aligned-center"><!-- wp:heading {"fontSize":"xx-large"} -->
|
||
|
|
<h2 class="wp-block-heading has-xx-large-font-size"><?php esc_html_e( 'Designed for modern workflows', 'wp-bootstrap' ); ?></h2>
|
||
|
|
<!-- /wp:heading -->
|
||
|
|
|
||
|
|
<!-- wp:paragraph {"textColor":"secondary"} -->
|
||
|
|
<p class="has-secondary-color has-text-color"><?php esc_html_e( 'Streamline your development process with a theme that works the way you do.', 'wp-bootstrap' ); ?></p>
|
||
|
|
<!-- /wp:paragraph -->
|
||
|
|
|
||
|
|
<!-- wp:spacer {"height":"var:preset|spacing|30"} -->
|
||
|
|
<div style="height:var(--wp--preset--spacing--30)" aria-hidden="true" class="wp-block-spacer"></div>
|
||
|
|
<!-- /wp:spacer -->
|
||
|
|
|
||
|
|
<!-- wp:heading {"level":3,"fontSize":"large"} -->
|
||
|
|
<h3 class="wp-block-heading has-large-font-size"><?php esc_html_e( 'Block Patterns', 'wp-bootstrap' ); ?></h3>
|
||
|
|
<!-- /wp:heading -->
|
||
|
|
|
||
|
|
<!-- wp:paragraph {"textColor":"secondary"} -->
|
||
|
|
<p class="has-secondary-color has-text-color"><?php esc_html_e( 'Pre-built patterns for common page sections. Drop them in and customize to fit your needs.', 'wp-bootstrap' ); ?></p>
|
||
|
|
<!-- /wp:paragraph -->
|
||
|
|
|
||
|
|
<!-- wp:spacer {"height":"var:preset|spacing|30"} -->
|
||
|
|
<div style="height:var(--wp--preset--spacing--30)" aria-hidden="true" class="wp-block-spacer"></div>
|
||
|
|
<!-- /wp:spacer -->
|
||
|
|
|
||
|
|
<!-- wp:heading {"level":3,"fontSize":"large"} -->
|
||
|
|
<h3 class="wp-block-heading has-large-font-size"><?php esc_html_e( 'Style Variations', 'wp-bootstrap' ); ?></h3>
|
||
|
|
<!-- /wp:heading -->
|
||
|
|
|
||
|
|
<!-- wp:paragraph {"textColor":"secondary"} -->
|
||
|
|
<p class="has-secondary-color has-text-color"><?php esc_html_e( 'Switch between color schemes with a single click. Choose from multiple professionally designed palettes.', 'wp-bootstrap' ); ?></p>
|
||
|
|
<!-- /wp:paragraph --></div>
|
||
|
|
<!-- /wp:column --></div>
|
||
|
|
<!-- /wp:columns --></div>
|
||
|
|
<!-- /wp:group -->
|