hidden-sidebar.php 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <?php
  2. /**
  3. * Title: Sidebar
  4. * Slug: olympique/hidden-sidebar
  5. * Inserter: no
  6. */
  7. ?>
  8. <!-- wp:group {"style":{"spacing":{"blockGap":"36px","padding":{"right":"0","left":"0"}}},"layout":{"type":"default"}} -->
  9. <div class="wp-block-group" style="padding-right:0;padding-left:0">
  10. <!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
  11. <div class="wp-block-group" style="margin-top:0;margin-bottom:0">
  12. <!-- wp:avatar {"size":80,"style":{"border":{"radius":"16px"}}} /-->
  13. <!-- wp:group {"style":{"spacing":{"blockGap":"16px"}},"layout":{"type":"flex","orientation":"vertical"}} -->
  14. <div class="wp-block-group">
  15. <!-- wp:heading {"style":{"typography":{"fontSize":"1.6rem"}}} -->
  16. <h2 class="wp-block-heading" style="font-size:1.6rem"><?php esc_html_e( 'About the author', 'olympique' ); ?></h2>
  17. <!-- /wp:heading -->
  18. <!-- wp:post-author-biography {"fontSize":"small"} /-->
  19. </div>
  20. <!-- /wp:group -->
  21. </div>
  22. <!-- /wp:group -->
  23. <!-- wp:separator {"backgroundColor":"contrast","className":"is-style-wide"} -->
  24. <hr class="wp-block-separator has-text-color has-contrast-color has-alpha-channel-opacity has-contrast-background-color has-background is-style-wide"/>
  25. <!-- /wp:separator -->
  26. <!-- wp:group {"style":{"spacing":{"blockGap":"16px"}},"layout":{"type":"constrained"}} -->
  27. <div class="wp-block-group">
  28. <!-- wp:heading {"style":{"typography":{"fontSize":"1.6rem"}}} -->
  29. <h2 class="wp-block-heading" style="font-size:1.6rem"><?php esc_html_e( 'Popular Categories', 'olympique' ); ?></h2>
  30. <!-- /wp:heading -->
  31. <!-- wp:categories {"showHierarchy":true,"showPostCounts":true,"fontSize":"small"} /-->
  32. </div>
  33. <!-- /wp:group -->
  34. <!-- wp:separator {"backgroundColor":"contrast","className":"is-style-wide"} -->
  35. <hr class="wp-block-separator has-text-color has-contrast-color has-alpha-channel-opacity has-contrast-background-color has-background is-style-wide"/>
  36. <!-- /wp:separator -->
  37. <!-- wp:group {"style":{"spacing":{"blockGap":"26px"}},"layout":{"type":"constrained"}} -->
  38. <div class="wp-block-group">
  39. <!-- wp:group {"style":{"spacing":{"blockGap":"16px"}},"layout":{"type":"flex","orientation":"vertical"}} -->
  40. <div class="wp-block-group">
  41. <!-- wp:heading {"style":{"typography":{"fontSize":"1.6rem"}}} -->
  42. <h2 class="wp-block-heading" style="font-size:1.6rem"><?php esc_html_e( 'Useful Links', 'olympique' ); ?></h2>
  43. <!-- /wp:heading -->
  44. <!-- wp:paragraph {"fontSize":"small"} -->
  45. <p class="has-small-font-size"><?php esc_html_e( 'Links I found useful and wanted to share.', 'olympique' ); ?></p>
  46. <!-- /wp:paragraph -->
  47. </div>
  48. <!-- /wp:group -->
  49. <!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","orientation":"vertical"},"style":{"typography":{"fontStyle":"normal","fontWeight":"400"},"spacing":{"blockGap":"var:preset|spacing|10"}},"fontSize":"small"} -->
  50. <!-- wp:navigation-link {"label":"<?php esc_html_e( 'Latest inflation report', 'olympique' ); ?>","url":"#","className":"is-style-arrow-link","style":{"typography":{"textDecoration":"underline"}}} /-->
  51. <!-- wp:navigation-link {"label":"<?php esc_html_e( 'Financial apps for families', 'olympique' ); ?>","url":"#","className":"is-style-arrow-link","style":{"typography":{"textDecoration":"underline"}}} /-->
  52. <!-- /wp:navigation -->
  53. </div>
  54. <!-- /wp:group -->
  55. <!-- wp:separator {"backgroundColor":"contrast","className":"is-style-wide"} -->
  56. <hr class="wp-block-separator has-text-color has-contrast-color has-alpha-channel-opacity has-contrast-background-color has-background is-style-wide"/>
  57. <!-- /wp:separator -->
  58. <!-- wp:group {"style":{"spacing":{"blockGap":"16px"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
  59. <div class="wp-block-group">
  60. <!-- wp:heading {"style":{"typography":{"fontSize":"1.6rem"}}} -->
  61. <h2 class="wp-block-heading" style="font-size:1.6rem"><?php esc_html_e( 'Search the website', 'olympique' ); ?></h2>
  62. <!-- /wp:heading -->
  63. <!-- wp:search {"label":"<?php echo esc_attr_x( 'Search', 'search form label', 'olympique' ); ?>","showLabel":false,"placeholder":"<?php echo esc_attr_x( 'Search...', 'search form placeholder', 'olympique' ); ?>","width":100,"widthUnit":"%","buttonText":"<?php echo esc_attr_x( 'Search', 'search form label', 'olympique' ); ?>"} /-->
  64. </div>
  65. <!-- /wp:group -->
  66. <!-- wp:spacer {"height":"var:preset|spacing|10"} -->
  67. <div style="height:var(--wp--preset--spacing--10)" aria-hidden="true" class="wp-block-spacer">
  68. </div>
  69. <!-- /wp:spacer -->
  70. </div>
  71. <!-- /wp:group -->