header-large.php 2.8 KB

1234567891011121314151617181920
  1. <?php declare( strict_types = 1 ); ?>
  2. <?php
  3. /**
  4. * Title: header-large
  5. * Slug: hola/header-large
  6. * Categories: hidden
  7. * Inserter: no
  8. */
  9. ?>
  10. <!-- wp:group {"style":{"spacing":{"padding":{"top":"0","bottom":"0"},"margin":{"top":"0","bottom":"0"}}},"backgroundColor":"contrast","layout":{"type":"constrained"}} -->
  11. <div class="wp-block-group has-contrast-background-color has-background" style="margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0"><!-- wp:cover {"url":"<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/header-gradient.png","id":320,"dimRatio":0,"isUserOverlayColor":true,"minHeight":160,"isDark":false,"align":"full","style":{"color":[],"spacing":{"margin":{"top":"0","bottom":"0"}},"border":{"left":{"color":"var:preset|color|contrast","width":"3px"},"top":[],"right":{"color":"var:preset|color|contrast","width":"3px"},"bottom":[]}},"layout":{"type":"constrained"}} -->
  12. <div class="wp-block-cover alignfull is-light" style="border-right-color:var(--wp--preset--color--contrast);border-right-width:3px;border-left-color:var(--wp--preset--color--contrast);border-left-width:3px;margin-top:0;margin-bottom:0;min-height:160px"><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-320" alt="" src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/header-gradient.png" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:group {"style":{"elements":{"link":{"color":{"text":"var:preset|color|base"}}}},"textColor":"base","layout":{"type":"flex","verticalAlignment":"center"}} -->
  13. <div class="wp-block-group has-base-color has-text-color has-link-color"><!-- wp:site-logo {"width":88,"shouldSyncIcon":true,"style":{"color":[]}} /-->
  14. <!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20","left":"var:preset|spacing|30","right":"var:preset|spacing|30"}},"border":{"radius":"4px","width":"1px"},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"backgroundColor":"base","textColor":"contrast","layout":{"type":"flex","flexWrap":"nowrap"}} -->
  15. <div class="wp-block-group has-contrast-color has-base-background-color has-text-color has-background has-link-color" style="border-width:1px;border-radius:4px;padding-top:var(--wp--preset--spacing--20);padding-right:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--20);padding-left:var(--wp--preset--spacing--30)"><!-- wp:site-title {"style":{"typography":{"textTransform":"uppercase"},"elements":{"link":{"color":{"text":"var:preset|color|contrast"}}}},"textColor":"contrast"} /--></div>
  16. <!-- /wp:group --></div>
  17. <!-- /wp:group --></div></div>
  18. <!-- /wp:cover --></div>
  19. <!-- /wp:group -->