%PDF- %PDF-
Direktori : /home/t/r/a/tradesc/www/relax/wp-content/themes/twentytwentyfive/patterns/ |
Current File : /home/t/r/a/tradesc/www/relax/wp-content/themes/twentytwentyfive/patterns/hero-book.php |
<?php /** * Title: Hero book * Slug: twentytwentyfive/hero-book * Categories: banner * Keywords: podcast, hero, stories * Description: A hero section for the book with a description and pre-order link. * * @package WordPress * @subpackage Twenty_Twenty_Five * @since Twenty Twenty-Five 1.0 */ ?> <!-- wp:group {"align":"full","style":{"spacing":{"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} --> <div class="wp-block-group alignfull" style="margin-top:0;margin-bottom:0"> <!-- wp:columns {"align":"full","style":{"spacing":{"blockGap":{"left":"0"}}}} --> <div class="wp-block-columns alignfull"> <!-- wp:column {"width":"55%"} --> <div class="wp-block-column" style="flex-basis:55%"> <!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/book-image-landing.webp","dimRatio":0,"customOverlayColor":"#6b6b6b","isUserOverlayColor":true,"isDark":false,"style":{"dimensions":{"aspectRatio":"1"}},"layout":{"type":"default"}} --> <div class="wp-block-cover is-light"> <span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim" style="background-color:#6b6b6b"></span> <img class="wp-block-cover__image-background" alt="<?php esc_attr_e( 'Image of the book', 'twentytwentyfive' ); ?>" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/book-image-landing.webp" data-object-fit="cover"/> <div class="wp-block-cover__inner-container"> <!-- wp:spacer {"height":"var:preset|spacing|20"} --> <div style="height:var(--wp--preset--spacing--20)" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer --> </div> </div> <!-- /wp:cover --> </div> <!-- /wp:column --> <!-- wp:column {"verticalAlignment":"center","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60","left":"var:preset|spacing|60","right":"var:preset|spacing|60"}}}} --> <div class="wp-block-column is-vertically-aligned-center" style="padding-top:var(--wp--preset--spacing--60);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60);padding-left:var(--wp--preset--spacing--60)"> <!-- wp:heading --> <h2 class="wp-block-heading has-xx-large-font-size"><?php echo esc_html_x( 'The Stories Book', 'Heading of the hero section.', 'twentytwentyfive' ); ?></h2> <!-- /wp:heading --> <!-- wp:paragraph --> <p><?php echo esc_html_x( 'A fine collection of moments in time featuring photographs from Louis Fleckenstein, Paul Strand and Asahachi Kōno.', 'Content of the hero section.', 'twentytwentyfive' ); ?></p> <!-- /wp:paragraph --> <!-- wp:paragraph {"fontSize":"medium"} --> <p class="has-medium-font-size"><?php echo esc_html_x( 'Available for pre-order now.', 'CTA text of the hero section.', 'twentytwentyfive' ); ?></p> <!-- /wp:paragraph --></div> <!-- /wp:column --></div> <!-- /wp:columns --></div> <!-- /wp:group -->