add home template (#6882)
This commit is contained in:
parent
5b39643fb2
commit
ec3b495541
5 changed files with 31 additions and 29 deletions
|
@ -7,7 +7,9 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<!-- wp:columns {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}}} -->
|
||||
<!-- wp:group {"align":"wide","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignwide">
|
||||
<!-- wp:columns {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"},"blockGap":{"top":"var:preset|spacing|80","left":"var:preset|spacing|80"}}}} -->
|
||||
<div class="wp-block-columns alignwide" style="padding-top:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80)"><!-- wp:column {"verticalAlignment":"center"} -->
|
||||
<div class="wp-block-column is-vertically-aligned-center"><!-- wp:heading {"textAlign":"center","level":4} -->
|
||||
<h4 class="wp-block-heading has-text-align-center"><?php echo esc_html__( 'Location', 'bibimbap' ); ?></h4>
|
||||
|
@ -17,18 +19,14 @@
|
|||
<p class="has-text-align-center"><?php echo esc_html__( '2240 Cambridge Street,', 'bibimbap' ); ?><br><?php echo esc_html__( 'Cambridge MA 02443', 'bibimbap' ); ?><br><br><a href=""><?php echo esc_html__( '123-455-245', 'bibimbap' ); ?><br><?php echo esc_html__( 'ORDER ONLINE', 'bibimbap' ); ?></a></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:spacer {"height":"29px"} -->
|
||||
<div style="height:29px" aria-hidden="true" class="wp-block-spacer"></div>
|
||||
<!-- /wp:spacer -->
|
||||
|
||||
<!-- wp:heading {"textAlign":"center","level":4} -->
|
||||
<h4 class="wp-block-heading has-text-align-center"><?php echo esc_html__( 'Hours', 'bibimbap' ); ?></h4>
|
||||
<!-- wp:heading {"textAlign":"center","level":4,"style":{"spacing":{"margin":{"top":"var:preset|spacing|60"}}}} -->
|
||||
<h4 class="wp-block-heading has-text-align-center" style="margin-top:var(--wp--preset--spacing--60)"><?php echo esc_html__( 'Hours', 'bibimbap' ); ?></h4>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|20"}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group"><!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"align":"center"} -->
|
||||
<p class="has-text-align-center"><?php echo esc_html__( 'Monday', 'bibimbap' ); ?></p>
|
||||
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph -->
|
||||
<p><?php echo esc_html__( 'Monday', 'bibimbap' ); ?></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase"}}} -->
|
||||
|
@ -36,23 +34,23 @@
|
|||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"align":"center"} -->
|
||||
<p class="has-text-align-center"><?php echo esc_html__( 'Tuesday', 'bibimbap' ); ?>-<?php echo esc_html__( 'Thursday', 'bibimbap' ); ?></p>
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph -->
|
||||
<p><?php echo esc_html__( 'Tuesday', 'bibimbap' ); ?>-<?php echo esc_html__( 'Thursday', 'bibimbap' ); ?></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p><?php echo esc_html__( '11AM', 'bibimbap' ); ?> - <?php echo esc_html__( '10PM', 'bibimbap' ); ?></p>
|
||||
<!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase"}}} -->
|
||||
<p style="text-transform:uppercase"><?php echo esc_html__( '11AM', 'bibimbap' ); ?> - <?php echo esc_html__( '10PM', 'bibimbap' ); ?></p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph {"align":"center"} -->
|
||||
<p class="has-text-align-center"><?php echo esc_html__( 'Friday', 'bibimbap' ); ?>-<?php echo esc_html__( 'Sunday', 'bibimbap' ); ?></p>
|
||||
<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph -->
|
||||
<p><?php echo esc_html__( 'Friday', 'bibimbap' ); ?>-<?php echo esc_html__( 'Sunday', 'bibimbap' ); ?></p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p><?php echo esc_html__( '11AM', 'bibimbap' ); ?> - <?php echo esc_html__( '12AM', 'bibimbap' ); ?></p>
|
||||
<!-- wp:paragraph {"style":{"typography":{"textTransform":"uppercase"}}} -->
|
||||
<p style="text-transform:uppercase"><?php echo esc_html__( '11AM', 'bibimbap' ); ?> - <?php echo esc_html__( '12AM', 'bibimbap' ); ?></p>
|
||||
<!-- /wp:paragraph --></div>
|
||||
<!-- /wp:group --></div>
|
||||
<!-- /wp:group --></div>
|
||||
|
@ -64,3 +62,5 @@
|
|||
<!-- /wp:image --></div>
|
||||
<!-- /wp:column --></div>
|
||||
<!-- /wp:columns -->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80)"><!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/bibimbap-cover.png","dimRatio":0,"minHeight":545,"minHeightUnit":"px","align":"wide"} -->
|
||||
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)"><!-- wp:cover {"url":"<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/bibimbap-cover.png","dimRatio":0,"minHeight":545,"minHeightUnit":"px","align":"wide"} -->
|
||||
<div class="wp-block-cover alignwide" style="min-height:545px"><span aria-hidden="true" class="wp-block-cover__background has-background-dim-0 has-background-dim"></span><img class="wp-block-cover__image-background" alt="" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/bibimbap-cover.png" data-object-fit="cover"/><div class="wp-block-cover__inner-container"><!-- wp:columns -->
|
||||
<div class="wp-block-columns"><!-- wp:column {"width":"33.34%"} -->
|
||||
<div class="wp-block-column" style="flex-basis:33.34%"></div>
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80)"><!-- wp:columns {"align":"wide"} -->
|
||||
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|60","bottom":"var:preset|spacing|60"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--60)"><!-- wp:columns {"align":"wide"} -->
|
||||
<div class="wp-block-columns alignwide"><!-- wp:column -->
|
||||
<div class="wp-block-column"><!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group"><!-- wp:paragraph -->
|
||||
|
|
7
bibimbap/templates/home.html
Normal file
7
bibimbap/templates/home.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<!-- wp:template-part {"slug":"front-page-header"} /-->
|
||||
|
||||
<!-- wp:pattern {"slug":"bibimbap/cover"} /-->
|
||||
<!-- wp:pattern {"slug":"bibimbap/menu"} /-->
|
||||
<!-- wp:pattern {"slug":"bibimbap/contact"} /-->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
|
@ -1,5 +0,0 @@
|
|||
<!-- wp:template-part {"slug":"front-page-header"} /-->
|
||||
|
||||
<!-- wp:post-content {"layout":{"type":"constrained"}} /-->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","tagName":"footer"} /-->
|
Loading…
Reference in a new issue