home.php 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php declare( strict_types = 1 ); ?>
  2. <?php
  3. /**
  4. * Title: home
  5. * Slug: trailblazer/home
  6. * Categories: hidden
  7. * Inserter: no
  8. */
  9. ?>
  10. <!-- wp:template-part {"slug":"header","tagName":"header"} /-->
  11. <!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|70","bottom":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
  12. <div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--70)"><!-- wp:query {"queryId":0,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"align":"wide","layout":{"type":"default"}} -->
  13. <div class="wp-block-query alignwide"><!-- wp:post-template {"align":"wide","style":{"spacing":{"blockGap":"10vh"}},"layout":{"type":"default"}} -->
  14. <!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"0","margin":{"bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
  15. <div class="wp-block-group alignwide" style="margin-bottom:var(--wp--preset--spacing--40)"><!-- wp:post-title {"level":1,"isLink":true,"style":{"typography":{"textTransform":"uppercase"}}} /-->
  16. <!-- wp:post-terms {"term":"category","style":{"typography":{"textTransform":"uppercase","fontSize":"4.3rem"},"elements":{"link":{"color":{"text":"var:preset|color|tertiary"}}}},"textColor":"tertiary"} /--></div>
  17. <!-- /wp:group -->
  18. <!-- wp:columns {"align":"wide","style":{"spacing":[]}} -->
  19. <div class="wp-block-columns alignwide"><!-- wp:column {"verticalAlignment":"bottom","width":"66.7%","style":{"spacing":{"padding":{"top":"0px","right":"1rem","bottom":"0px","left":"0px"}}}} -->
  20. <div class="wp-block-column is-vertically-aligned-bottom" style="padding-top:0px;padding-right:1rem;padding-bottom:0px;padding-left:0px;flex-basis:66.7%"><!-- wp:post-excerpt {"moreText":"››","showMoreOnNewLine":false,"excerptLength":35} /--></div>
  21. <!-- /wp:column -->
  22. <!-- wp:column {"verticalAlignment":"top","width":"33.3%","style":{"spacing":{"padding":{"right":"0"}}}} -->
  23. <div class="wp-block-column is-vertically-aligned-top" style="padding-right:0;flex-basis:33.3%"><!-- wp:post-date {"style":{"typography":{"textTransform":"uppercase"}}} /--></div>
  24. <!-- /wp:column --></div>
  25. <!-- /wp:columns -->
  26. <!-- /wp:post-template -->
  27. <!-- wp:query-pagination -->
  28. <!-- wp:query-pagination-previous {"label":"Prev"} /-->
  29. <!-- wp:query-pagination-numbers /-->
  30. <!-- wp:query-pagination-next {"label":"Next"} /-->
  31. <!-- /wp:query-pagination -->
  32. <!-- wp:query-no-results {"align":"wide"} -->
  33. <!-- wp:heading {"level":1} -->
  34. <h1 class="wp-block-heading"><?php echo __('Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'trailblazer');?></h1>
  35. <!-- /wp:heading -->
  36. <!-- /wp:query-no-results --></div>
  37. <!-- /wp:query --></div>
  38. <!-- /wp:group -->
  39. <!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->