testimonial.php 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?php
  2. /**
  3. * Title: Testimonials
  4. * Slug: startfit/testimonial
  5. * Categories: featured
  6. */
  7. ?>
  8. <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","right":"var:preset|spacing|50","bottom":"var:preset|spacing|80","left":"var:preset|spacing|50"},"margin":{"top":"0","bottom":"0"}}},"backgroundColor":"secondary","textColor":"contrast","layout":{"type":"constrained"}} -->
  9. <div class="wp-block-group alignfull has-contrast-color has-secondary-background-color has-text-color has-background" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--80);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--80);padding-left:var(--wp--preset--spacing--50)">
  10. <!-- wp:columns {"align":"wide"} -->
  11. <div class="wp-block-columns alignwide">
  12. <!-- wp:column {"width":"20%"} -->
  13. <div class="wp-block-column" style="flex-basis:20%">
  14. <!-- wp:heading {"style":{"typography":{"fontStyle":"normal","fontWeight":"700","textTransform":"uppercase","letterSpacing":"0.04em"},"spacing":{"margin":{"top":"11px"}}},"textColor":"contrast","fontSize":"small","fontFamily":"system-font"} -->
  15. <h2 class="wp-block-heading has-contrast-color has-text-color has-system-font-font-family has-small-font-size" style="margin-top:11px;font-style:normal;font-weight:700;letter-spacing:0.04em;text-transform:uppercase"><?php echo esc_html__( 'What People Say', 'startfit' ); ?></h2>
  16. <!-- /wp:heading -->
  17. </div>
  18. <!-- /wp:column -->
  19. <!-- wp:column {"width":"80%","style":{"spacing":{"blockGap":"var:preset|spacing|40"}}} -->
  20. <div class="wp-block-column" style="flex-basis:80%">
  21. <!-- wp:paragraph {"style":{"typography":{"fontStyle":"normal","fontWeight":"400"}},"fontSize":"xx-large"} -->
  22. <p class="has-xx-large-font-size" style="font-style:normal;font-weight:400"><?php echo esc_html__( 'StartFit didn&rsquo;t just change my workout routine, it revolutionised my entire lifestyle. I&rsquo;ve never felt stronger, healthier or happier!', 'startfit' ); ?></p>
  23. <!-- /wp:paragraph -->
  24. <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"left"}} -->
  25. <div class="wp-block-group">
  26. <!-- wp:image {"align":"center","width":48,"height":48,"sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"50%"}},"className":"is-style-default"} -->
  27. <figure class="wp-block-image aligncenter size-full is-resized has-custom-border is-style-default">
  28. <img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/user-avatar.png" alt="" class="" style="border-radius:50%;width:48px;height:48px" width="48" height="48"/>
  29. </figure>
  30. <!-- /wp:image -->
  31. <!-- wp:group {"style":{"spacing":{"blockGap":"0rem"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
  32. <div class="wp-block-group">
  33. <!-- wp:paragraph {"align":"left","style":{"typography":{"fontStyle":"normal","fontWeight":"700"}},"fontSize":"small"} -->
  34. <p class="has-text-align-left has-small-font-size" style="font-style:normal;font-weight:700"><?php echo esc_html__( 'Kate Williams', 'startfit' ); ?></p>
  35. <!-- /wp:paragraph -->
  36. <!-- wp:paragraph {"align":"left","style":{"typography":{"lineHeight":"1.1"}},"fontSize":"small"} -->
  37. <p class="has-text-align-left has-small-font-size" style="line-height:1.1"><?php echo esc_html__( 'in Hove', 'startfit' ); ?></p>
  38. <!-- /wp:paragraph -->
  39. </div>
  40. <!-- /wp:group -->
  41. </div>
  42. <!-- /wp:group -->
  43. </div>
  44. <!-- /wp:column -->
  45. </div>
  46. <!-- /wp:columns -->
  47. </div>
  48. <!-- /wp:group -->