<?php

/**
 * Title: Latest blogs (Triumph)
 * Slug: olympus/blogs-latest-triumph
 * Categories: miocommerce-pattern
 * Description: Show the latest blog posts.
 * Keywords: home, triumph, blog, posts
 */
?>
<!-- wp:group {"tagName":"section","metadata":{"categories":["miocommerce-pattern"],"patternName":"olympus/blogs-latest-triumph","name":"Latest blogs (Triumph)"},"align":"full","className":"orphic-motion-animation","style":{"spacing":{"margin":{"top":"0","bottom":"0"},"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"},"blockGap":"var:preset|spacing|60"}},"layout":{"type":"constrained"},"hasAnimation":true,"animationType":"fadeIn","animationDistance":50,"animationDuration":300,"animationDelay":0,"triggerPoint":30,"scrollBehavior":"playOnView"} -->
<section class="wp-block-group alignfull orphic-motion-animation orphic-motion-animation" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)" data-animation-type="fadeIn" data-animation-distance="50" data-animation-duration="300" data-animation-delay="0" data-animation-trigger="30" data-scroll-behavior="playOnView"><!-- wp:heading {"textAlign":"center"} -->
  <h2 class="wp-block-heading has-text-align-center">Read our blog</h2>
  <!-- /wp:heading -->

  <!-- wp:query {"queryId":0,"query":{"perPage":2,"pages":"1","offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"taxQuery":null,"parents":[],"format":[]}} -->
  <div class="wp-block-query"><!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"grid","columnCount":2}} -->
    <!-- wp:post-featured-image {"isLink":true,"style":{"border":{"radius":"4px"}}} /-->

    <!-- wp:post-title {"level":3,"isLink":true,"style":{"typography":{"fontStyle":"normal","fontWeight":"500"}}} /-->

    <!-- wp:post-excerpt {"moreText":"Read blog"} /-->
    <!-- /wp:post-template -->

    <!-- wp:query-no-results -->
    <!-- wp:paragraph {"placeholder":"Add text or blocks that will display when a query returns no results."} -->
    <p>Nothing found! Sorry, we are currently working on our blog posts. Please check back later!</p>
    <!-- /wp:paragraph -->
    <!-- /wp:query-no-results -->
  </div>
  <!-- /wp:query -->

  <!-- wp:buttons {"layout":{"type":"flex","justifyContent":"center"}} -->
  <div class="wp-block-buttons"><!-- wp:button -->
    <div class="wp-block-button"><a class="wp-block-button__link wp-element-button">See all blog posts</a></div>
    <!-- /wp:button -->
  </div>
  <!-- /wp:buttons -->
</section>
<!-- /wp:group -->