jett-theme/patterns/header.php

22 lines
2.1 KiB
PHP
Raw Normal View History

2024-05-30 13:00:48 +00:00
<?php
2024-05-31 10:36:10 +00:00
2024-05-30 13:00:48 +00:00
/**
2024-05-30 13:57:56 +00:00
* Title: header
* Slug: /header
2024-05-30 13:00:48 +00:00
* Categories: hidden
* Inserter: no
*/
?>
2024-06-06 12:35:35 +00:00
<!-- wp:group {"style":{"spacing":{"blockGap":"0","margin":{"top":"0","bottom":"0"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:0"><!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"var:preset|spacing|50","right":"var:preset|spacing|50"}}},"layout":{"type":"default"}} -->
2024-05-31 10:36:10 +00:00
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50)"><!-- wp:image {"scale":"cover","sizeSlug":"full","linkDestination":"none","align":"center"} -->
<figure class="wp-block-image aligncenter size-full"><img src="<?php echo esc_url(get_stylesheet_directory_uri()); ?>/assets/images/logo.svg" alt="" style="object-fit:cover" /></figure>
<!-- /wp:image -->
</div>
<!-- /wp:group -->
<!-- wp:navigation {"textColor":"black","hasIcon":false,"className":"main-header-nav","layout":{"type":"flex","justifyContent":"center","flexWrap":"nowrap"},"style":{"typography":{"fontStyle":"normal","fontWeight":"500","letterSpacing":"2px","lineHeight":"1.15","textTransform":"uppercase"},"spacing":{"blockGap":"0"}},"fontSize":"medium","fontFamily":"instrument-sans","blockVisibility":{"controlSets":[{"id":1,"enable":true,"controls":{"screenSize":{"hideOnScreenSize":{"medium":false,"small":true}}}}]}} /-->
2024-05-30 13:57:56 +00:00
2024-05-31 10:41:44 +00:00
<!-- wp:navigation {"textColor":"black","overlayMenu":"always","hasIcon":false,"className":"mobile-header-nav","layout":{"type":"flex","justifyContent":"center","flexWrap":"nowrap"},"style":{"typography":{"fontStyle":"normal","fontWeight":"500","letterSpacing":"2px","lineHeight":"1.15","textTransform":"uppercase","fontSize":"18px"},"spacing":{"blockGap":"var:preset|spacing|50"}},"fontFamily":"instrument-sans","blockVisibility":{"controlSets":[{"id":1,"enable":true,"controls":{"screenSize":{"hideOnScreenSize":{"medium":true,"small":false,"large":true}}}}]}} /-->
2024-05-31 10:36:10 +00:00
</div>
2024-05-30 13:58:59 +00:00
<!-- /wp:group -->