<?php
/**
 * Title: Header
 * Slug: swp-painting/header
 * Categories: header, swp-painting
 * Description: Announcement topbar plus sticky primary navigation with logo, menu and quote button.
 */
?>
<!-- wp:group {"metadata":{"patternName":"swp-painting/header","name":"Header","description":"A centered call-to-action with two buttons.","categories":["header","swp-painting"]},"className":"swp-header-wrap","style":{"spacing":{"padding":{"top":"0","bottom":"0"},"margin":{"top":"0","bottom":"0"},"blockGap":"0"},"position":{"type":"sticky","top":"0px"}},"layout":{"type":"default"}} -->
<div class="wp-block-group swp-header-wrap" style="margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0"><!-- wp:group {"metadata":{"blockVisibility":{"viewport":{"tablet":false,"mobile":false}}},"className":"swp-topbar","style":{"spacing":{"padding":{"top":"8px","bottom":"8px","left":"var:preset|spacing|30","right":"var:preset|spacing|30"}}},"backgroundColor":"heading","textColor":"dark-background","layout":{"type":"constrained","contentSize":"1240px"}} -->
<div class="wp-block-group swp-topbar has-dark-background-color has-heading-background-color has-text-color has-background" style="padding-top:8px;padding-right:var(--wp--preset--spacing--30);padding-bottom:8px;padding-left:var(--wp--preset--spacing--30)"><!-- wp:group {"style":{"spacing":{"blockGap":"16px"}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between","verticalAlignment":"center"}} -->
<div class="wp-block-group"><!-- wp:group {"className":"swp-topbar-promo","style":{"spacing":{"blockGap":"10px"}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"center"}} -->
<div class="wp-block-group swp-topbar-promo"><!-- wp:paragraph {"className":"swp-topbar-tag","style":{"spacing":{"padding":{"top":"3px","bottom":"3px","left":"9px","right":"9px"}},"typography":{"fontStyle":"normal","fontWeight":"700","textTransform":"uppercase","letterSpacing":"0.1em"},"border":{"radius":"30px"}},"backgroundColor":"accent","textColor":"white","fontSize":"subtitle"} -->
<p class="swp-topbar-tag has-white-color has-accent-background-color has-text-color has-background has-subtitle-font-size" style="border-radius:30px;padding-top:3px;padding-right:9px;padding-bottom:3px;padding-left:9px;font-style:normal;font-weight:700;letter-spacing:0.1em;text-transform:uppercase">Save 15%</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph {"style":{"typography":{"fontWeight":"600"}},"fontSize":"subtitle"} -->
<p class="has-subtitle-font-size" style="font-weight:600">Spring repaint offer — book before April ends</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:group {"style":{"spacing":{"blockGap":"22px"}},"layout":{"type":"flex","flexWrap":"wrap","verticalAlignment":"center"}} -->
<div class="wp-block-group"><!-- wp:group {"className":"swp-topbar-item","style":{"spacing":{"blockGap":"7px"}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"center"}} -->
<div class="wp-block-group swp-topbar-item"><!-- wp:image {"width":"14px","height":"14px","scale":"contain","sizeSlug":"large","className":"swp-topbar-ico"} -->
<figure class="wp-block-image size-large is-resized swp-topbar-ico"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/header/header-location-icon.svg" alt="" style="object-fit:contain;width:14px;height:14px"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph {"fontSize":"subtitle"} -->
<p class="has-subtitle-font-size">Find a location</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:group {"className":"swp-topbar-item","style":{"spacing":{"blockGap":"7px"}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"center"}} -->
<div class="wp-block-group swp-topbar-item"><!-- wp:image {"width":"14px","height":"14px","scale":"contain","sizeSlug":"large","className":"swp-topbar-ico"} -->
<figure class="wp-block-image size-large is-resized swp-topbar-ico"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/header/header-phone-icon.svg" alt="" style="object-fit:contain;width:14px;height:14px"/></figure>
<!-- /wp:image -->

<!-- wp:paragraph {"fontSize":"subtitle"} -->
<p class="has-subtitle-font-size">+1 (000) 555-555</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:social-links {"size":"has-small-icon-size","className":"is-style-logos-only swp-topbar-socials","style":{"spacing":{"blockGap":{"left":"10px"}}}} -->
<ul class="wp-block-social-links has-small-icon-size is-style-logos-only swp-topbar-socials"><!-- wp:social-link {"url":"#","service":"facebook"} /-->

<!-- wp:social-link {"url":"#","service":"linkedin"} /-->

<!-- wp:social-link {"url":"#","service":"x"} /--></ul>
<!-- /wp:social-links --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<!-- wp:group {"className":"swp-header","style":{"spacing":{"padding":{"top":"12px","bottom":"12px","left":"var:preset|spacing|30","right":"var:preset|spacing|30"}},"border":{"bottom":{"color":"#17130f1f","width":"1px"}}},"backgroundColor":"light-background","layout":{"type":"constrained","contentSize":"1240px"}} -->
<div class="wp-block-group swp-header has-light-background-background-color has-background" style="border-bottom-color:#17130f1f;border-bottom-width:1px;padding-top:12px;padding-right:var(--wp--preset--spacing--30);padding-bottom:12px;padding-left:var(--wp--preset--spacing--30)"><!-- wp:group {"style":{"spacing":{"blockGap":"24px"}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between","verticalAlignment":"center"}} -->
<div class="wp-block-group"><!-- wp:image {"width":"170px","sizeSlug":"large","linkDestination":"custom","className":"swp-header-logo"} -->
<figure class="wp-block-image size-large is-resized swp-header-logo"><a href="#"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/header/header-logo-img.png" alt="SWPPainting" style="width:170px"/></a></figure>
<!-- /wp:image -->

<!-- wp:navigation {"textColor":"heading","className":"swp-header-nav","style":{"spacing":{"blockGap":"6px"}},"fontSize":"button","fontFamily":"archivo","layout":{"type":"flex","justifyContent":"center"}} -->
<!-- wp:navigation-link {"label":"Home","type":"custom","url":"#","kind":"custom","isTopLevelLink":true} /-->

<!-- wp:navigation-submenu {"label":"Services","type":"custom","url":"#","kind":"custom"} -->
<!-- wp:navigation-link {"label":"Interior Painting","url":"#","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"Exterior Painting","url":"#","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"Commercial Coating","url":"#","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"Decorative Finishes","url":"#","kind":"custom"} /-->
<!-- /wp:navigation-submenu -->

<!-- wp:navigation-submenu {"label":"Pages","type":"custom","url":"#","kind":"custom"} -->
<!-- wp:navigation-link {"label":"About Us","url":"#","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"Our Process","url":"#","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"Testimonials","url":"#","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"Pricing","url":"#","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"FAQ","url":"#","kind":"custom"} /-->
<!-- /wp:navigation-submenu -->

<!-- wp:navigation-link {"label":"Works","type":"custom","url":"#","kind":"custom","isTopLevelLink":true} /-->

<!-- wp:navigation-submenu {"label":"News","type":"custom","url":"#","kind":"custom"} -->
<!-- wp:navigation-link {"label":"Blog Grid","url":"#","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"Category Archive","url":"#","kind":"custom"} /-->
<!-- /wp:navigation-submenu -->

<!-- wp:navigation-link {"label":"Contact","type":"custom","url":"#","kind":"custom","isTopLevelLink":true} /-->
<!-- /wp:navigation -->

<!-- wp:group {"className":"swp-header-actions","style":{"spacing":{"blockGap":"14px"}},"layout":{"type":"flex","flexWrap":"nowrap","verticalAlignment":"center","justifyContent":"space-between"}} -->
<div class="wp-block-group swp-header-actions"><!-- wp:search {"label":"Search","showLabel":false,"buttonText":"Search","buttonPosition":"button-only","buttonUseIcon":true,"isSearchFieldHidden":true,"className":"swp-header-search"} /-->

<!-- wp:buttons {"layout":{"type":"flex","justifyContent":"right"}} -->
<div class="wp-block-buttons"><!-- wp:button {"metadata":{"blockVisibility":{"viewport":{"mobile":false}}},"className":"swp-homeo-btn-green"} -->
<div class="wp-block-button swp-homeo-btn-green"><a class="wp-block-button__link wp-element-button" href="#">Get a Quote</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
