home.php 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?php
  2. /**
  3. * Title: home
  4. * Slug: leancv/home
  5. * Categories: hidden
  6. * Inserter: no
  7. */
  8. ?>
  9. <!-- 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"}}}} -->
  10. <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%"} -->
  11. <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"}} -->
  12. <div class="wp-block-group" style="padding-right:1.5rem;padding-left:1.5rem"><!-- wp:template-part {"slug":"header"} /-->
  13. <!-- wp:group {"style":{"spacing":{"blockGap":"0.5rem"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
  14. <div class="wp-block-group"><!-- wp:heading {"level":1} -->
  15. <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>
  16. <!-- /wp:heading --></div>
  17. <!-- /wp:group -->
  18. <!-- 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"}} -->
  19. <div class="wp-block-query"><!-- wp:post-template {"style":{"spacing":{"blockGap":"4.5rem"}},"layout":{"type":"constrained"}} -->
  20. <!-- wp:post-featured-image {"isLink":true,"aspectRatio":"1","width":"120px","height":"120px"} /-->
  21. <!-- wp:post-title {"level":1,"isLink":true} /-->
  22. <!-- wp:group {"style":{"spacing":{"blockGap":"0.5rem","margin":{"top":"1rem"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
  23. <div class="wp-block-group" style="margin-top:1rem"><!-- wp:post-date /-->
  24. <!-- wp:post-excerpt {"moreText":"Read.","showMoreOnNewLine":false} /--></div>
  25. <!-- /wp:group -->
  26. <!-- /wp:post-template -->
  27. <!-- wp:query-pagination -->
  28. <!-- wp:query-pagination-previous /-->
  29. <!-- wp:query-pagination-numbers /-->
  30. <!-- wp:query-pagination-next /-->
  31. <!-- /wp:query-pagination -->
  32. <!-- wp:query-no-results -->
  33. <!-- wp:paragraph {"placeholder":"Add text or blocks that will display when a query returns no results."} -->
  34. <p><?php echo __('No results found.', 'leancv');?></p>
  35. <!-- /wp:paragraph -->
  36. <!-- /wp:query-no-results --></div>
  37. <!-- /wp:query -->
  38. <!-- wp:template-part {"slug":"footer"} /--></div>
  39. <!-- /wp:group --></div>
  40. <!-- /wp:column -->
  41. <!-- wp:column {"verticalAlignment":"stretch","width":"35%","lock":{"move":false,"remove":false},"style":{"spacing":{"padding":{"top":"0rem","right":"0rem","bottom":"0rem","left":"0rem"},"blockGap":"0px"}}} -->
  42. <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"}} -->
  43. <div class="wp-block-group"><!-- wp:template-part {"slug":"profile-pic"} /--></div>
  44. <!-- /wp:group --></div>
  45. <!-- /wp:column --></div>
  46. <!-- /wp:columns -->