Changeset 59191 for trunk/src/wp-content/themes/twentytwentyfive/patterns/cta-grid-products-link.php
- Timestamp:
- 10/07/2024 06:07:57 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentytwentyfive/patterns/cta-grid-products-link.php
r59146 r59191 18 18 <div class="wp-block-group alignwide"> 19 19 <!-- wp:heading {"style":{"typography":{"fontSize":"11.58rem","letterSpacing":"-0.02em"}}} --> 20 <h2 class="wp-block-heading" style="font-size:11.58rem;letter-spacing:-0.02em"> Our online store.</h2>20 <h2 class="wp-block-heading" style="font-size:11.58rem;letter-spacing:-0.02em"><?php esc_html_e( 'Our online store.', 'twentytwentyfive' ); ?></h2> 21 21 <!-- /wp:heading --> 22 22 … … 24 24 <div class="wp-block-group"> 25 25 <!-- wp:image {"aspectRatio":"1","scale":"cover","sizeSlug":"large","linkDestination":"none"} --> 26 <figure class="wp-block-image size-large"><img src="<?php echo esc_url( get_template_directory_uri() . '/assets/images/grid-flower-2.webp' ); ?>" alt=" Black and white flower" style="aspect-ratio:1;object-fit:cover"/></figure>26 <figure class="wp-block-image size-large"><img src="<?php echo esc_url( get_template_directory_uri() . '/assets/images/grid-flower-2.webp' ); ?>" alt="<?php esc_attr_e( 'Black and white flower', 'twentytwentyfive' ); ?>" style="aspect-ratio:1;object-fit:cover"/></figure> 27 27 <!-- /wp:image --> 28 28 … … 30 30 <div class="wp-block-cover is-light has-medium-font-size"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span><div class="wp-block-cover__inner-container"> 31 31 <!-- wp:paragraph {"align":"center"} --> 32 <p class="has-text-align-center"> Delivered every week</p>32 <p class="has-text-align-center"><?php esc_html_e( 'Delivered every week', 'twentytwentyfive' ); ?></p> 33 33 <!-- /wp:paragraph --> 34 34 </div></div> … … 36 36 37 37 <!-- wp:image {"aspectRatio":"1","scale":"cover","sizeSlug":"large","linkDestination":"none"} --> 38 <figure class="wp-block-image size-large"><img src="<?php echo esc_url( get_template_directory_uri() . '/assets/images/image-from-rawpixel-id-8799918.webp' ); ?>" alt=" Closeup of plantlife in the Malibu Canyon area" style="aspect-ratio:1;object-fit:cover"/></figure>38 <figure class="wp-block-image size-large"><img src="<?php echo esc_url( get_template_directory_uri() . '/assets/images/image-from-rawpixel-id-8799918.webp' ); ?>" alt="<?php esc_attr_e( 'Closeup of plantlife in the Malibu Canyon area', 'twentytwentyfive' ); ?>" style="aspect-ratio:1;object-fit:cover"/></figure> 39 39 <!-- /wp:image --> 40 40 … … 52 52 <div class="wp-block-group has-medium-font-size" style="padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)"> 53 53 <!-- wp:paragraph {"align":"center"} --> 54 <p class="has-text-align-center"> Starting at</p>55 <!-- /wp:paragraph -->56 57 <!-- wp:paragraph {"align":"center","style":{"typography":{"fontSize":"2.63rem"}}} -->58 <p class="has-text-align-center" style="font-size:2.63rem">$30</p>59 <!-- /wp:paragraph -->60 61 <!-- wp:paragraph {"align":"center"} -->62 < p class="has-text-align-center">/month</p>54 <p class="has-text-align-center"> 55 <?php 56 printf( 57 /* translators: %s: Starting price, split into three rows using HTML <br> tags. The price value has a font size set.*/ 58 esc_html__( 'Starting at%s/month', 'twentytwentyfive' ), 59 '<br /><span style="font-size:2.63rem;">' . esc_html__( '30€', 'twentytwentyfive' ) . '</span><br />' 60 ); 61 ?> 62 </p> 63 63 <!-- /wp:paragraph --> 64 64 </div> … … 68 68 69 69 <!-- wp:image {"aspectRatio":"1","scale":"cover","sizeSlug":"large","linkDestination":"none"} --> 70 <figure class="wp-block-image size-large"><img src="<?php echo esc_url( get_template_directory_uri() . '/assets/images/image-from-rawpixel-id-8802845.webp' ); ?>" alt=" Flora of Akaka Falls State Park" style="aspect-ratio:1;object-fit:cover"/></figure>70 <figure class="wp-block-image size-large"><img src="<?php echo esc_url( get_template_directory_uri() . '/assets/images/image-from-rawpixel-id-8802845.webp' ); ?>" alt="<?php esc_attr_e( 'Flora of Akaka Falls State Park', 'twentytwentyfive' ); ?>" style="aspect-ratio:1;object-fit:cover"/></figure> 71 71 <!-- /wp:image --> 72 72 … … 74 74 <div class="wp-block-cover is-light has-medium-font-size"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span><div class="wp-block-cover__inner-container"> 75 75 <!-- wp:paragraph {"align":"center"} --> 76 <p class="has-text-align-center"> Tailored to your needs</p>76 <p class="has-text-align-center"><?php esc_html_e( 'Tailored to your needs', 'twentytwentyfive' ); ?></p> 77 77 <!-- /wp:paragraph --> 78 78 </div></div> … … 82 82 <div class="wp-block-cover is-light has-medium-font-size"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span><div class="wp-block-cover__inner-container"> 83 83 <!-- wp:paragraph {"align":"center"} --> 84 <p class="has-text-align-center"> Free shipping</p>84 <p class="has-text-align-center"><?php esc_html_e( 'Free shipping', 'twentytwentyfive' ); ?></p> 85 85 <!-- /wp:paragraph --> 86 86 </div></div> … … 98 98 <div class="wp-block-cover is-light has-medium-font-size"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span><div class="wp-block-cover__inner-container"> 99 99 <!-- wp:paragraph {"align":"center"} --> 100 <p class="has-text-align-center"> Cancel anytime</p>100 <p class="has-text-align-center"><?php esc_html_e( 'Cancel anytime', 'twentytwentyfive' ); ?></p> 101 101 <!-- /wp:paragraph --> 102 102 </div></div> … … 112 112 113 113 <!-- wp:image {"aspectRatio":"1","scale":"cover","sizeSlug":"large","linkDestination":"none"} --> 114 <figure class="wp-block-image size-large"><img src="<?php echo esc_url( get_template_directory_uri() . '/assets/images/botany-flowers.webp' ); ?>" alt=" Botany flowers" style="aspect-ratio:1;object-fit:cover"/></figure>114 <figure class="wp-block-image size-large"><img src="<?php echo esc_url( get_template_directory_uri() . '/assets/images/botany-flowers.webp' ); ?>" alt="<?php esc_attr_e( 'Botany flowers', 'twentytwentyfive' ); ?>" style="aspect-ratio:1;object-fit:cover"/></figure> 115 115 <!-- /wp:image --> 116 116 … … 124 124 125 125 <!-- wp:image {"aspectRatio":"1","scale":"cover","sizeSlug":"large","linkDestination":"none"} --> 126 <figure class="wp-block-image size-large"><img src="<?php echo esc_url( get_template_directory_uri() . '/assets/images/image-from-rawpixel-id-2211732.webp' ); ?>" alt=" Black and white flower" style="aspect-ratio:1;object-fit:cover"/></figure>126 <figure class="wp-block-image size-large"><img src="<?php echo esc_url( get_template_directory_uri() . '/assets/images/image-from-rawpixel-id-2211732.webp' ); ?>" alt="<?php esc_attr_e( 'Black and white flower', 'twentytwentyfive' ); ?>" style="aspect-ratio:1;object-fit:cover"/></figure> 127 127 <!-- /wp:image --> 128 128 </div> … … 132 132 <div class="wp-block-buttons"> 133 133 <!-- wp:button {"width":100} --> 134 <div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link wp-element-button"> Shop now</a></div>134 <div class="wp-block-button has-custom-width wp-block-button__width-100"><a class="wp-block-button__link wp-element-button"><?php esc_html_e( 'Shop now', 'twentytwentyfive' ); ?></a></div> 135 135 <!-- /wp:button --> 136 136 </div>
Note: See TracChangeset
for help on using the changeset viewer.