jett-theme/patterns/header.php
Aadil Ayub 02e177a99f
All checks were successful
continuous-integration/drone/push Build is passing
tweak header on mobile
2024-07-09 17:14:56 +05:00

26 lines
3.5 KiB
PHP

<?php
/**
* Title: header
* Slug: /header
* Categories: hidden
* Inserter: no
*/
?>
<!-- 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"}}},"className":"pcss-e34cc91f","layout":{"type":"default"},"pcssAdditionalCss":"@media (max-width: 480px) {\n [block] {\n padding-top: 0 !important;\n }\n}","pcssAdditionalCssCompiled":"@media (width\u003c=480px){.pcss-e34cc91f{padding-top:0!important}}","pcssClassId":"pcss-e34cc91f"} -->
<div class="wp-block-group pcss-e34cc91f" 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 {"lightbox":{"enabled":false},"scale":"cover","sizeSlug":"full","linkDestination":"custom","align":"center","blockVisibility":{"controlSets":[{"id":1,"enable":true,"controls":{"screenSize":{"hideOnScreenSize":{"small":true,"medium":true}}}}]}} -->
<figure class="wp-block-image aligncenter size-full"><a href="/"><img src="<?php echo esc_url(get_stylesheet_directory_uri()); ?>/assets/images/logo.svg" alt="" style="object-fit:cover" /></a></figure>
<!-- /wp:image -->
<!-- wp:image {"sizeSlug":"full","linkDestination":"none","blockVisibility":{"controlSets":[{"id":1,"enable":true,"controls":{"screenSize":{"hideOnScreenSize":{"large":true}}}}]}} -->
<figure class="wp-block-image size-full"><img src="<?php echo esc_url(get_stylesheet_directory_uri()); ?>/assets/images/Justice-Equity-Technology-project.png" alt="" class="" /></figure>
<!-- /wp:image -->
</div>
<!-- /wp:group -->
<!-- wp:navigation {"ref":5,"textColor":"black","hasIcon":false,"className":"main-header-nav pcss-ab41dfba","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}}}}]},"pcssAdditionalCss":"[block] a.wp-block-navigation-item__content {\n width: 100%\n}","pcssAdditionalCssCompiled":".pcss-ab41dfba a.wp-block-navigation-item__content{width:100%}","pcssClassId":"pcss-ab41dfba"} /-->
<!-- wp:navigation {"ref":5,"textColor":"black","overlayMenu":"always","hasIcon":false,"className":"mobile-header-nav pcss-3e1a89d8","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}}}}]},"pcssAdditionalCss":"[block] .wp-block-navigation__responsive-container-open {\n width: 100%;\n justify-content: center;\n}","pcssAdditionalCssCompiled":".pcss-3e1a89d8 .wp-block-navigation__responsive-container-open{justify-content:center;width:100%}","pcssClassId":"pcss-3e1a89d8"} /-->
</div>
<!-- /wp:group -->