<?php
/**
 * Title: Header
 * Slug: careers/header
 * Description: "Header" section.
 * Categories: careers-patterns, headers
 * Keywords:
 * Viewport Width: 1200
 * Inserter: true
 *
 * @package Teydea_Studio\Careers
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // @codeCoverageIgnore
}

?>
<!-- wp:group {"align":"wide","style":{"position":{"type":""},"border":{"bottom":{"color":"var:preset|color|gray","width":"1px"}},"spacing":{"blockGap":"var:preset|spacing|40"}},"backgroundColor":"primary-accent","layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group alignwide has-primary-accent-background-color has-background" style="border-bottom-color:var(--wp--preset--color--gray);border-bottom-width:1px"><!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40","left":"var:preset|spacing|50","right":"var:preset|spacing|50"},"blockGap":"var:preset|spacing|40"}},"backgroundColor":"light-gray","layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group has-light-gray-background-color has-background" style="padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--50)"><!-- wp:navigation {"textColor":"secondary","overlayMenu":"always","className":"desktop:hidden","style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"fontSize":"sm"} -->
<!-- wp:navigation-link {"label":"Home","url":"<?php echo esc_url( get_home_url() ); ?>","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"Blog","url":"<?php echo esc_url( get_post_type_archive_link( 'post' ) ); ?>","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"Open vacancies","url":"<?php echo esc_url( get_post_type_archive_link( 'job' ) ); ?>","kind":"custom"} /-->
<!-- /wp:navigation -->

<!-- wp:site-logo {"shouldSyncIcon":false} /--></div>
<!-- /wp:group -->

<!-- wp:navigation {"textColor":"secondary","className":"tablet:hidden mobile:hidden","style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"fontSize":"sm"} -->
<!-- wp:navigation-link {"label":"Home","url":"<?php echo esc_url( get_home_url() ); ?>","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"Blog","url":"<?php echo esc_url( get_post_type_archive_link( 'post' ) ); ?>","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"Open vacancies","url":"<?php echo esc_url( get_post_type_archive_link( 'job' ) ); ?>","kind":"custom"} /-->
<!-- /wp:navigation -->

<!-- wp:group {"style":{"layout":{"selfStretch":"fill","flexSize":null},"spacing":{"padding":{"right":"var:preset|spacing|20","left":"0"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="padding-right:var(--wp--preset--spacing--20);padding-left:0"><!-- wp:buttons {"style":{"layout":{"selfStretch":"fit","flexSize":null}},"layout":{"type":"flex","justifyContent":"right"}} -->
<div class="wp-block-buttons"><!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="<?php echo esc_url( get_post_type_archive_link( 'job' ) ); ?>">Show jobs</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
