hero-header.php 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. /**
  3. * Title: Hero header
  4. * Slug: bibimbap/hero-header
  5. * Inserter: no
  6. */
  7. ?>
  8. <!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/bibimbap-image.png","dimRatio":50,"minHeight":1017,"minHeightUnit":"px","isDark":false} -->
  9. <div class="wp-block-cover is-light" style="min-height:1017px"><span aria-hidden="true" class="wp-block-cover__background has-background-dim"></span><img class="wp-block-cover__image-background" alt="" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/bibimbap-image.png" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:group {"layout":{"type":"constrained"}} -->
  10. <div class="wp-block-group"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|40","top":"var:preset|spacing|40","right":"0","left":"0"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
  11. <div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--40);padding-right:0;padding-bottom:var(--wp--preset--spacing--40);padding-left:0"><!-- wp:group {"layout":{"type":"flex"}} -->
  12. <div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"0px"}}} -->
  13. <div class="wp-block-group"><!-- wp:site-title {"style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"textColor":"background"} /-->
  14. <!-- wp:site-tagline {"textColor":"background"} /--></div>
  15. <!-- /wp:group --></div>
  16. <!-- /wp:group -->
  17. <!-- wp:navigation {"overlayBackgroundColor":"secondary","overlayTextColor":"background","textColor":"background","layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right","orientation":"horizontal"},"style":{"spacing":{"margin":{"top":"0"}}}} /--></div>
  18. <!-- /wp:group -->
  19. <!-- wp:spacer {"height":"600px"} -->
  20. <div style="height:600px" aria-hidden="true" class="wp-block-spacer"></div>
  21. <!-- /wp:spacer -->
  22. <!-- wp:columns {"align":"wide"} -->
  23. <div class="wp-block-columns alignwide"><!-- wp:column {"width":"60%"} -->
  24. <div class="wp-block-column" style="flex-basis:60%"><!-- wp:heading {"textColor":"background","fontSize":"x-large"} -->
  25. <h2 class="wp-block-heading has-background-color has-text-color has-x-large-font-size"><?php echo esc_html__( 'Your Favorite korean food place in town.', 'bibimbap' ); ?></h2>
  26. <!-- /wp:heading -->
  27. <!-- wp:buttons -->
  28. <div class="wp-block-buttons"><!-- wp:button -->
  29. <div class="wp-block-button"><a class="wp-block-button__link wp-element-button"><?php echo esc_html__( 'Book a table', 'bibimbap' ); ?></a></div>
  30. <!-- /wp:button --></div>
  31. <!-- /wp:buttons --></div>
  32. <!-- /wp:column -->
  33. <!-- wp:column {"verticalAlignment":"bottom","width":"40%"} -->
  34. <div class="wp-block-column is-vertically-aligned-bottom" style="flex-basis:40%"><!-- wp:paragraph {"align":"right","style":{"elements":{"link":{"color":{"text":"var:preset|color|background"}}}},"textColor":"background"} -->
  35. <p class="has-text-align-right has-background-color has-text-color has-link-color"><?php echo esc_html__( 'ORDER', 'bibimbap' ); ?><br><a href=""><?php echo esc_html__( '123-455-2345', 'bibimbap' ); ?></a></p>
  36. <!-- /wp:paragraph --></div>
  37. <!-- /wp:column --></div>
  38. <!-- /wp:columns -->
  39. <!-- wp:spacer -->
  40. <div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
  41. <!-- /wp:spacer --></div>
  42. <!-- /wp:group --></div></div>
  43. <!-- /wp:cover -->