home.php 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?php declare( strict_types = 1 ); ?>
  2. <?php
  3. /**
  4. * Title: home
  5. * Slug: leancv/home
  6. * Categories: hidden
  7. * Inserter: no
  8. */
  9. ?>
  10. <!-- wp:columns {"metadata":{"categories":["hidden"]},"align":"full","style":{"spacing":{"padding":{"top":"0rem","right":"0rem","bottom":"0rem","left":"0rem"},"margin":{"top":"0rem","bottom":"0rem"},"blockGap":{"top":"0rem","left":"0rem"}}}} -->
  11. <div class="wp-block-columns alignfull" style="margin-top:0rem;margin-bottom:0rem;padding-top:0rem;padding-right:0rem;padding-bottom:0rem;padding-left:0rem"><!-- wp:column {"verticalAlignment":"stretch","width":"65%"} -->
  12. <div class="wp-block-column is-vertically-aligned-stretch" style="flex-basis:65%"><!-- wp:group {"style":{"spacing":{"blockGap":"4rem","padding":{"right":"1.5rem","left":"1.5rem"}}},"layout":{"type":"constrained"}} -->
  13. <div class="wp-block-group" style="padding-right:1.5rem;padding-left:1.5rem"><!-- wp:template-part {"slug":"header"} /-->
  14. <!-- wp:group {"style":{"spacing":{"blockGap":"0.5rem"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
  15. <div class="wp-block-group"><!-- wp:heading {"level":1} -->
  16. <h1 class="wp-block-heading"><?php echo __('Welcome to my Blog, the threshold of my imagination. Here, I write about my literary journey, which intertwines science fiction, editorial endeavors, and social advocacy.', 'leancv');?></h1>
  17. <!-- /wp:heading --></div>
  18. <!-- /wp:group -->
  19. <!-- wp:query {"queryId":8,"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"layout":{"type":"constrained"}} -->
  20. <div class="wp-block-query"><!-- wp:post-template {"style":{"spacing":{"blockGap":"4.5rem"}},"layout":{"type":"constrained"}} -->
  21. <!-- wp:post-featured-image {"isLink":true,"aspectRatio":"1","width":"120px","height":"120px"} /-->
  22. <!-- wp:post-title {"level":1,"isLink":true} /-->
  23. <!-- wp:group {"style":{"spacing":{"blockGap":"0.5rem","margin":{"top":"1rem"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
  24. <div class="wp-block-group" style="margin-top:1rem"><!-- wp:post-date /-->
  25. <!-- wp:post-excerpt {"moreText":"Read.","showMoreOnNewLine":false} /--></div>
  26. <!-- /wp:group -->
  27. <!-- /wp:post-template -->
  28. <!-- wp:query-pagination -->
  29. <!-- wp:query-pagination-previous /-->
  30. <!-- wp:query-pagination-numbers /-->
  31. <!-- wp:query-pagination-next /-->
  32. <!-- /wp:query-pagination -->
  33. <!-- wp:query-no-results -->
  34. <!-- wp:paragraph {"placeholder":"Add text or blocks that will display when a query returns no results."} -->
  35. <p><?php echo __('No results found.', 'leancv');?></p>
  36. <!-- /wp:paragraph -->
  37. <!-- /wp:query-no-results --></div>
  38. <!-- /wp:query -->
  39. <!-- wp:template-part {"slug":"footer"} /--></div>
  40. <!-- /wp:group --></div>
  41. <!-- /wp:column -->
  42. <!-- wp:column {"verticalAlignment":"stretch","width":"35%","lock":{"move":false,"remove":false},"style":{"spacing":{"padding":{"top":"0rem","right":"0rem","bottom":"0rem","left":"0rem"},"blockGap":"0px"}}} -->
  43. <div class="wp-block-column is-vertically-aligned-stretch" style="padding-top:0rem;padding-right:0rem;padding-bottom:0rem;padding-left:0rem;flex-basis:35%"><!-- wp:group {"style":{"position":{"type":"sticky","top":"0px"}},"layout":{"type":"constrained"}} -->
  44. <div class="wp-block-group"><!-- wp:template-part {"slug":"profile-pic"} /--></div>
  45. <!-- /wp:group --></div>
  46. <!-- /wp:column --></div>
  47. <!-- /wp:columns -->