home.php 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?php
  2. /**
  3. * Title: home
  4. * Slug: alter/home
  5. * Categories: hidden
  6. * Inserter: no
  7. */
  8. ?>
  9. <!-- wp:template-part {"slug":"header","area":"header"} /-->
  10. <!-- wp:group {"style":{"spacing":{"margin":{"top":"0rem","bottom":"2rem"},"padding":{"top":"0px","bottom":"0px"}}},"layout":{"type":"constrained"}} -->
  11. <div class="wp-block-group" style="margin-top:0rem;margin-bottom:2rem;padding-top:0px;padding-bottom:0px"><!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
  12. <div class="wp-block-group alignwide"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"1rem"}}},"layout":{"type":"default"}} -->
  13. <div class="wp-block-group alignwide" style="padding-bottom:1rem"><!-- wp:paragraph {"style":{"typography":{"textTransform":"lowercase","fontStyle":"italic","fontWeight":"400"}},"fontFamily":"bodoni-moda"} -->
  14. <p class="has-bodoni-moda-font-family" style="font-style:italic;font-weight:400;text-transform:lowercase"><?php echo esc_html__( 'recent posts', 'alter' ); ?></p>
  15. <!-- /wp:paragraph --></div>
  16. <!-- /wp:group -->
  17. <!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/StockSnap_R0C7A5M4WB_duo.webp","id":51,"dimRatio":0,"contentPosition":"center left","isDark":false,"align":"wide","style":{"spacing":{"padding":{"top":"0px","right":"0px","bottom":"0px","left":"0px"},"margin":{"top":"0px","bottom":"0px"}},"color":[]},"layout":{"type":"constrained"}} -->
  18. <div class="wp-block-cover alignwide is-light has-custom-content-position is-position-center-left" style="margin-top:0px;margin-bottom:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span><img class="wp-block-cover__image-background wp-image-51" alt="" src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/StockSnap_R0C7A5M4WB_duo.webp" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:group {"style":{"spacing":{"padding":{"right":"4rem","top":"0rem","bottom":"0rem","left":"0rem"}}},"layout":{"type":"constrained","justifyContent":"left"}} -->
  19. <div class="wp-block-group" style="padding-top:0rem;padding-right:4rem;padding-bottom:0rem;padding-left:0rem"><!-- wp:group {"style":{"spacing":{"blockGap":"1rem"}},"layout":{"type":"flex","orientation":"vertical"}} -->
  20. <div class="wp-block-group"><!-- wp:query {"queryId":0,"query":{"perPage":"1","pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"default"}} -->
  21. <main class="wp-block-query"><!-- wp:post-template -->
  22. <!-- wp:post-title {"level":1,"isLink":true,"style":{"spacing":{"margin":{"top":"0px","right":"2px"},"padding":{"bottom":"0px","top":"0px"}}}} /-->
  23. <!-- /wp:post-template --></main>
  24. <!-- /wp:query -->
  25. <!-- wp:query {"queryId":0,"query":{"perPage":"1","pages":0,"offset":"1","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"default"}} -->
  26. <main class="wp-block-query"><!-- wp:post-template -->
  27. <!-- wp:post-title {"level":1,"isLink":true,"style":{"spacing":{"margin":{"top":"0px","right":"2px"},"padding":{"bottom":"0px","top":"0px"}},"typography":{"fontStyle":"italic","fontWeight":"400"}}} /-->
  28. <!-- /wp:post-template --></main>
  29. <!-- /wp:query -->
  30. <!-- wp:query {"queryId":0,"query":{"perPage":"1","pages":0,"offset":"2","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"default"}} -->
  31. <main class="wp-block-query"><!-- wp:post-template -->
  32. <!-- wp:post-title {"level":1,"isLink":true,"style":{"spacing":{"margin":{"top":"0px","right":"2px"},"padding":{"bottom":"0px","top":"0px"}}}} /-->
  33. <!-- /wp:post-template --></main>
  34. <!-- /wp:query -->
  35. <!-- wp:query {"queryId":0,"query":{"perPage":"1","pages":0,"offset":"3","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"default"}} -->
  36. <main class="wp-block-query"><!-- wp:post-template -->
  37. <!-- wp:post-title {"level":1,"isLink":true,"style":{"spacing":{"margin":{"top":"0px","right":"2px"},"padding":{"bottom":"0px","top":"0px"}},"typography":{"fontStyle":"italic","fontWeight":"400"}}} /-->
  38. <!-- /wp:post-template --></main>
  39. <!-- /wp:query -->
  40. <!-- wp:query {"queryId":0,"query":{"perPage":"1","pages":0,"offset":"4","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"default"}} -->
  41. <main class="wp-block-query"><!-- wp:post-template -->
  42. <!-- wp:post-title {"level":1,"isLink":true,"style":{"spacing":{"margin":{"top":"0px","right":"2px"},"padding":{"bottom":"0px","top":"0px"}}}} /-->
  43. <!-- /wp:post-template --></main>
  44. <!-- /wp:query -->
  45. <!-- wp:query {"queryId":0,"query":{"perPage":"1","pages":0,"offset":"5","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"default"}} -->
  46. <main class="wp-block-query"><!-- wp:post-template -->
  47. <!-- wp:post-title {"level":1,"isLink":true,"style":{"spacing":{"margin":{"top":"0px","right":"2px"},"padding":{"bottom":"0px","top":"0px"}},"typography":{"fontStyle":"italic","fontWeight":"400"}}} /-->
  48. <!-- /wp:post-template --></main>
  49. <!-- /wp:query -->
  50. <!-- wp:query {"queryId":0,"query":{"perPage":"1","pages":0,"offset":"6","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"default"}} -->
  51. <main class="wp-block-query"><!-- wp:post-template -->
  52. <!-- wp:post-title {"level":1,"isLink":true,"style":{"spacing":{"margin":{"top":"0px","right":"2px"},"padding":{"bottom":"0px","top":"0px"}}}} /-->
  53. <!-- /wp:post-template --></main>
  54. <!-- /wp:query -->
  55. <!-- wp:query {"queryId":0,"query":{"perPage":"1","pages":0,"offset":"7","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"taxQuery":null,"parents":[]},"tagName":"main","layout":{"type":"default"}} -->
  56. <main class="wp-block-query"><!-- wp:post-template -->
  57. <!-- wp:post-title {"level":1,"isLink":true,"style":{"spacing":{"margin":{"top":"0px","right":"2px"},"padding":{"bottom":"0px","top":"0px"}},"typography":{"fontStyle":"italic","fontWeight":"400"}}} /-->
  58. <!-- /wp:post-template --></main>
  59. <!-- /wp:query --></div>
  60. <!-- /wp:group -->
  61. <!-- wp:group {"style":{"spacing":{"margin":{"top":"4rem"}}},"layout":{"type":"constrained"}} -->
  62. <div class="wp-block-group" style="margin-top:4rem"><!-- wp:heading {"textAlign":"left"} -->
  63. <h2 class="wp-block-heading has-text-align-left"><a href="/"><?php echo esc_html__( 'View all posts', 'alter' ); ?></a></h2>
  64. <!-- /wp:heading --></div>
  65. <!-- /wp:group --></div>
  66. <!-- /wp:group --></div></div>
  67. <!-- /wp:cover --></div>
  68. <!-- /wp:group --></div>
  69. <!-- /wp:group -->
  70. <!-- wp:template-part {"slug":"footer","area":"footer"} /-->