gallery-collection.php 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <?php
  2. /**
  3. * Title: Collection
  4. * Slug: cakely/gallery-collection
  5. * Categories: gallery
  6. * Viewport width: 1488
  7. */
  8. declare( strict_types = 1 );
  9. ?>
  10. <!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80","left":"var:preset|spacing|60","right":"var:preset|spacing|60"},"margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"constrained"}} -->
  11. <div class="wp-block-group" style="margin-top:0px;margin-bottom:0px;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--60)">
  12. <!-- wp:heading {"align":"wide","style":{"elements":{"link":{"color":{"text":"var:preset|color|primary"}}},"typography":{"letterSpacing":"0.1em","textTransform":"uppercase"}},"textColor":"primary","fontSize":"medium"} -->
  13. <h2 class="wp-block-heading alignwide has-primary-color has-text-color has-link-color has-medium-font-size" style="letter-spacing:0.1em;text-transform:uppercase"><?php echo esc_html__( 'Cake collection', 'cakely' ); ?></h2>
  14. <!-- /wp:heading -->
  15. <!-- wp:columns {"align":"wide"} -->
  16. <div class="wp-block-columns alignwide">
  17. <!-- wp:column {"width":"16.67%","style":{"spacing":{"blockGap":"var:preset|spacing|30"}}} -->
  18. <div class="wp-block-column" style="flex-basis:16.67%">
  19. <!-- wp:image {"aspectRatio":"3/4","scale":"cover","sizeSlug":"full","linkDestination":"custom"} -->
  20. <figure class="wp-block-image size-full"><a href="#"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/cotton-candy-cake.jpg" alt="" class="" style="aspect-ratio:3/4;object-fit:cover"/></a></figure>
  21. <!-- /wp:image -->
  22. <!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
  23. <div class="wp-block-group">
  24. <!-- wp:paragraph -->
  25. <p><a href="#"><?php echo esc_html__( 'Cotton Candy Cake', 'cakely' ); ?></a></p>
  26. <!-- /wp:paragraph -->
  27. <!-- wp:paragraph -->
  28. <p><?php echo esc_html__( '£45.00', 'cakely' ); ?></p>
  29. <!-- /wp:paragraph -->
  30. </div>
  31. <!-- /wp:group -->
  32. </div>
  33. <!-- /wp:column -->
  34. <!-- wp:column {"width":"16.67%","style":{"spacing":{"blockGap":"var:preset|spacing|30"}}} -->
  35. <div class="wp-block-column" style="flex-basis:16.67%">
  36. <!-- wp:image {"aspectRatio":"3/4","scale":"cover","sizeSlug":"full","linkDestination":"custom"} -->
  37. <figure class="wp-block-image size-full"><a href="#"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/chocolate-lovers-cake.jpg" alt="" class="" style="aspect-ratio:3/4;object-fit:cover"/></a></figure>
  38. <!-- /wp:image -->
  39. <!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
  40. <div class="wp-block-group">
  41. <!-- wp:paragraph -->
  42. <p><a href="#"><?php echo esc_html__( 'Chocolate Lovers Cake', 'cakely' ); ?></a></p>
  43. <!-- /wp:paragraph -->
  44. <!-- wp:paragraph -->
  45. <p><?php echo esc_html__( '£45.00', 'cakely' ); ?></p>
  46. <!-- /wp:paragraph -->
  47. </div>
  48. <!-- /wp:group -->
  49. </div>
  50. <!-- /wp:column -->
  51. <!-- wp:column {"width":"16.67%","style":{"spacing":{"blockGap":"var:preset|spacing|30"}}} -->
  52. <div class="wp-block-column" style="flex-basis:16.67%">
  53. <!-- wp:image {"aspectRatio":"3/4","scale":"cover","sizeSlug":"full","linkDestination":"custom"} -->
  54. <figure class="wp-block-image size-full"><a href="#"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/lemon-raspberry-cake.jpg" alt="" class="" style="aspect-ratio:3/4;object-fit:cover"/></a></figure>
  55. <!-- /wp:image -->
  56. <!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
  57. <div class="wp-block-group"><!-- wp:paragraph -->
  58. <p><a href="#"><?php echo esc_html__( 'Lemon Raspberry Cake', 'cakely' ); ?></a></p>
  59. <!-- /wp:paragraph -->
  60. <!-- wp:paragraph -->
  61. <p><?php echo esc_html__( '£45.00', 'cakely' ); ?></p>
  62. <!-- /wp:paragraph -->
  63. </div>
  64. <!-- /wp:group -->
  65. </div>
  66. <!-- /wp:column -->
  67. <!-- wp:column {"width":"16.67%","style":{"spacing":{"blockGap":"var:preset|spacing|30"}}} -->
  68. <div class="wp-block-column" style="flex-basis:16.67%">
  69. <!-- wp:image {"aspectRatio":"3/4","scale":"cover","sizeSlug":"full","linkDestination":"custom"} -->
  70. <figure class="wp-block-image size-full"><a href="#"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/macaron-crown-cake.jpg" alt="" class="" style="aspect-ratio:3/4;object-fit:cover"/></a></figure>
  71. <!-- /wp:image -->
  72. <!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
  73. <div class="wp-block-group">
  74. <!-- wp:paragraph -->
  75. <p><a href="#"><?php echo esc_html__( 'Macaron Crown Cake', 'cakely' ); ?></a></p>
  76. <!-- /wp:paragraph -->
  77. <!-- wp:paragraph -->
  78. <p><?php echo esc_html__( '£45.00', 'cakely' ); ?></p>
  79. <!-- /wp:paragraph -->
  80. </div>
  81. <!-- /wp:group -->
  82. </div>
  83. <!-- /wp:column -->
  84. <!-- wp:column {"width":"16.67%","style":{"spacing":{"blockGap":"var:preset|spacing|30"}}} -->
  85. <div class="wp-block-column" style="flex-basis:16.67%">
  86. <!-- wp:image {"aspectRatio":"3/4","scale":"cover","sizeSlug":"full","linkDestination":"custom"} -->
  87. <figure class="wp-block-image size-full"><a href="#"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/caramel-crunch-cake.jpg" alt="" class="" style="aspect-ratio:3/4;object-fit:cover"/></a></figure>
  88. <!-- /wp:image -->
  89. <!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
  90. <div class="wp-block-group">
  91. <!-- wp:paragraph -->
  92. <p><a href="#"><?php echo esc_html__( 'Caramel Crunch Cake', 'cakely' ); ?></a></p>
  93. <!-- /wp:paragraph -->
  94. <!-- wp:paragraph -->
  95. <p><?php echo esc_html__( '£45.00', 'cakely' ); ?></p>
  96. <!-- /wp:paragraph -->
  97. </div>
  98. <!-- /wp:group -->
  99. </div>
  100. <!-- /wp:column -->
  101. <!-- wp:column {"verticalAlignment":"center","width":"16.67%"} -->
  102. <div class="wp-block-column is-vertically-aligned-center" style="flex-basis:16.67%">
  103. <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
  104. <div class="wp-block-group">
  105. <!-- wp:paragraph {"style":{"typography":{"textTransform":"none","lineHeight":"1.1","fontStyle":"normal","fontWeight":"600"},"spacing":{"margin":{"bottom":"36px"}}}} -->
  106. <p style="margin-bottom:36px;font-style:normal;font-weight:600;line-height:1.1;text-transform:none"><a href="#"><?php echo wp_kses_post( __( 'See<br>More<br>Cakes &rarr;', 'cakely' ) ); ?></a></p>
  107. <!-- /wp:paragraph -->
  108. </div>
  109. <!-- /wp:group -->
  110. </div>
  111. <!-- /wp:column -->
  112. </div>
  113. <!-- /wp:columns -->
  114. </div>
  115. <!-- /wp:group -->