Bladeren bron

Curator: add reviews pattern (#6091)

* Escape and add images.

* Change to h3s instead of paragraphs.
Jeff Ong 3 jaren geleden
bovenliggende
commit
99408038de

BIN
curator/assets/images/sundae.png


BIN
curator/assets/images/vermicelli.png


BIN
curator/assets/images/wine-tasting.png


+ 114 - 0
curator/patterns/reviews.php

@@ -0,0 +1,114 @@
+<?php
+/**
+ * Title: Reviews
+ * Slug: curator/reviews
+ * Categories: featured, gallery
+ */
+?>
+
+<!-- wp:columns {"verticalAlignment":null,"align":"wide"} -->
+<div class="wp-block-columns alignwide"><!-- wp:column {"width":"40%"} -->
+<div class="wp-block-column" style="flex-basis:40%"><!-- wp:image {"id":433,"sizeSlug":"full","linkDestination":"none"} -->
+<figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/sundae.png" alt="" class="wp-image-433"/></figure>
+<!-- /wp:image --></div>
+<!-- /wp:column -->
+
+<!-- wp:column {"width":"10%"} -->
+<div class="wp-block-column" style="flex-basis:10%"></div>
+<!-- /wp:column -->
+
+<!-- wp:column {"verticalAlignment":"center","width":"45%"} -->
+<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:45%"><!-- wp:heading {"level":3} -->
+<h3><?php echo esc_html__( 'The Fisherman', 'curator' ); ?></h3>
+<!-- /wp:heading -->
+
+<!-- wp:paragraph -->
+<p><?php echo esc_html__( 'Nearly all the province of Gallura, washed by the Mediterranean on three sides, consists of mountainous tracts, with valleys intervening, similar to this of the Liscia.', 'curator' ); ?></p>
+<!-- /wp:paragraph -->
+
+<!-- wp:paragraph {"fontSize":"small"} -->
+<p class="has-small-font-size"><strong><?php echo esc_html__( '$$$$', 'curator' ); ?></strong><?php echo esc_html__( ' French, European, Healthy', 'curator' ); ?><br><em><?php echo esc_html__( 'Our review: 5/5', 'curator' ); ?></em></p>
+<!-- /wp:paragraph -->
+
+<!-- wp:buttons -->
+<div class="wp-block-buttons"><!-- wp:button {"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"medium"} -->
+<div class="wp-block-button" style="text-transform:uppercase"><a class="wp-block-button__link wp-element-button has-custom-font-size has-medium-font-size"><?php echo esc_html__( 'Get Directions →', 'curator' ); ?></a></div>
+<!-- /wp:button --></div>
+<!-- /wp:buttons --></div>
+<!-- /wp:column --></div>
+<!-- /wp:columns -->
+
+<!-- wp:spacer {"height":"40px"} -->
+<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
+<!-- /wp:spacer -->
+
+<!-- wp:columns {"verticalAlignment":null,"align":"wide"} -->
+<div class="wp-block-columns alignwide"><!-- wp:column {"verticalAlignment":"center","width":"45%"} -->
+<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:45%"><!-- wp:heading {"level":3} -->
+<h3><?php echo esc_html__( 'Ramen Bar', 'curator' ); ?></h3>
+<!-- /wp:heading -->
+
+<!-- wp:paragraph -->
+<p><?php echo esc_html__( 'Nearly all the province of Gallura, washed by the Mediterranean on three sides, consists of mountainous tracts, with valleys intervening, similar to this of the Liscia.', 'curator' ); ?></p>
+<!-- /wp:paragraph -->
+
+<!-- wp:paragraph {"fontSize":"small"} -->
+<p class="has-small-font-size"><strong><?php echo esc_html__( '$$$', 'curator' ); ?></strong><?php echo esc_html__( ' Asian, Japanese', 'curator' ); ?><br><em><?php echo esc_html__( 'Our review: 4/5', 'curator' ); ?></em></p>
+<!-- /wp:paragraph -->
+
+<!-- wp:buttons -->
+<div class="wp-block-buttons"><!-- wp:button {"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"medium"} -->
+<div class="wp-block-button" style="text-transform:uppercase"><a class="wp-block-button__link wp-element-button has-custom-font-size has-medium-font-size"><?php echo esc_html__( 'Get Directions →', 'curator' ); ?></a></div>
+<!-- /wp:button --></div>
+<!-- /wp:buttons --></div>
+<!-- /wp:column -->
+
+<!-- wp:column {"width":"9.8%"} -->
+<div class="wp-block-column" style="flex-basis:9.8%"></div>
+<!-- /wp:column -->
+
+<!-- wp:column {"width":"40%"} -->
+<div class="wp-block-column" style="flex-basis:40%"><!-- wp:image {"id":439,"sizeSlug":"full","linkDestination":"none"} -->
+<figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/vermicelli.png" alt="" class="wp-image-439"/></figure>
+<!-- /wp:image --></div>
+<!-- /wp:column --></div>
+<!-- /wp:columns -->
+
+<!-- wp:spacer {"height":"40px"} -->
+<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
+<!-- /wp:spacer -->
+<!-- wp:columns {"verticalAlignment":null,"align":"wide"} -->
+<div class="wp-block-columns alignwide"><!-- wp:column {"width":"40%"} -->
+<div class="wp-block-column" style="flex-basis:40%"><!-- wp:image {"id":441,"sizeSlug":"full","linkDestination":"none"} -->
+<figure class="wp-block-image size-full"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/wine-tasting.png" alt="" class="wp-image-441"/></figure>
+<!-- /wp:image --></div>
+<!-- /wp:column -->
+
+<!-- wp:column {"width":"10%"} -->
+<div class="wp-block-column" style="flex-basis:10%"></div>
+<!-- /wp:column -->
+
+<!-- wp:column {"verticalAlignment":"center","width":"45%"} -->
+<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:45%"><!-- wp:heading {"level":3} -->
+<h3><?php echo esc_html__( 'Home Sweet Bistro', 'curator' ); ?></h3>
+<!-- /wp:heading -->
+
+<!-- wp:paragraph -->
+<p><?php echo esc_html__( 'Nearly all the province of Gallura, washed by the Mediterranean on three sides, consists of mountainous tracts, with valleys intervening, similar to this of the Liscia.', 'curator' ); ?></p>
+<!-- /wp:paragraph -->
+
+<!-- wp:paragraph {"fontSize":"small"} -->
+<p class="has-small-font-size"><strong><?php echo esc_html__( '$$', 'curator' ); ?></strong><?php echo esc_html__( ' Italian, Mediterranean, Tapas', 'curator' ); ?><br><em><?php echo esc_html__( 'Our review: 4/5', 'curator' ); ?></em></p>
+<!-- /wp:paragraph -->
+
+<!-- wp:buttons -->
+<div class="wp-block-buttons"><!-- wp:button {"style":{"typography":{"textTransform":"uppercase"}},"fontSize":"medium"} -->
+<div class="wp-block-button" style="text-transform:uppercase"><a class="wp-block-button__link wp-element-button has-custom-font-size has-medium-font-size"><?php echo esc_html__( 'Get Directions →', 'curator' ); ?></a></div>
+<!-- /wp:button --></div>
+<!-- /wp:buttons --></div>
+<!-- /wp:column --></div>
+<!-- /wp:columns -->
+
+<!-- wp:spacer {"height":"40px"} -->
+<div style="height:40px" aria-hidden="true" class="wp-block-spacer"></div>
+<!-- /wp:spacer -->