home.php 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?php declare( strict_types = 1 ); ?>
  2. <?php
  3. /**
  4. * Title: home
  5. * Slug: outnow/home
  6. * Categories: hidden
  7. * Inserter: no
  8. */
  9. ?>
  10. <!-- wp:template-part {"slug":"header","area":"header","align":"full"} /-->
  11. <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"bottom":"5rem","right":"2rem","left":"2rem"},"blockGap":"2rem"}},"layout":{"type":"constrained"}} -->
  12. <div class="wp-block-group alignfull" style="padding-right:2rem;padding-bottom:5rem;padding-left:2rem"><!-- wp:group {"align":"wide","layout":{"type":"default"}} -->
  13. <div class="wp-block-group alignwide"><!-- wp:columns {"align":"wide"} -->
  14. <div class="wp-block-columns alignwide"><!-- wp:column {"verticalAlignment":"top","width":"33.3%"} -->
  15. <div class="wp-block-column is-vertically-aligned-top" style="flex-basis:33.3%"><!-- wp:heading {"level":1} -->
  16. <h1 class="wp-block-heading"><?php echo __('Blog', 'outnow');?></h1>
  17. <!-- /wp:heading --></div>
  18. <!-- /wp:column -->
  19. <!-- wp:column {"verticalAlignment":"top","width":""} -->
  20. <div class="wp-block-column is-vertically-aligned-top"><!-- wp:query {"queryId":9,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false,"taxQuery":null,"parents":[]}} -->
  21. <div class="wp-block-query"><!-- wp:post-template {"layout":{"type":"grid","columnCount":2}} -->
  22. <!-- wp:group {"style":{"spacing":{"blockGap":"1rem","margin":{"bottom":"5rem"}}},"layout":{"type":"flex","orientation":"vertical"}} -->
  23. <div class="wp-block-group" style="margin-bottom:5rem"><!-- wp:post-featured-image {"aspectRatio":"16/9","width":"100%","height":"15rem","style":{"color":{"duotone":["#382f3b","#eddcfe"]}}} /-->
  24. <!-- wp:group {"style":{"spacing":{"blockGap":"1rem"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch","verticalAlignment":"space-between"}} -->
  25. <div class="wp-block-group"><!-- wp:post-title {"level":1,"isLink":true,"style":{"typography":{"letterSpacing":"0rem","fontSize":"2.4rem"}}} /-->
  26. <!-- wp:group {"style":{"spacing":{"blockGap":"0.5rem"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
  27. <div class="wp-block-group"><!-- wp:post-date {"format":"M j, Y","style":{"typography":{"fontSize":"0.8rem","letterSpacing":"0.02rem"}},"fontFamily":"libre-franklin"} /-->
  28. <!-- wp:paragraph {"style":{"typography":{"fontSize":"0.8rem","letterSpacing":"0.02rem"}},"fontFamily":"libre-franklin"} -->
  29. <p class="has-libre-franklin-font-family" style="font-size:0.8rem;letter-spacing:0.02rem"><?php echo __('·', 'outnow');?></p>
  30. <!-- /wp:paragraph -->
  31. <!-- wp:post-terms {"term":"post_tag","style":{"typography":{"fontSize":"0.8rem","letterSpacing":"0.02rem"}},"fontFamily":"libre-franklin"} /--></div>
  32. <!-- /wp:group --></div>
  33. <!-- /wp:group --></div>
  34. <!-- /wp:group -->
  35. <!-- /wp:post-template -->
  36. <!-- wp:query-pagination {"paginationArrow":"arrow"} -->
  37. <!-- wp:query-pagination-previous /-->
  38. <!-- wp:query-pagination-numbers /-->
  39. <!-- wp:query-pagination-next /-->
  40. <!-- /wp:query-pagination --></div>
  41. <!-- /wp:query --></div>
  42. <!-- /wp:column --></div>
  43. <!-- /wp:columns --></div>
  44. <!-- /wp:group --></div>
  45. <!-- /wp:group -->
  46. <!-- wp:template-part {"slug":"footer","area":"footer"} /-->