<?php
/**
 * Title: Open vacancies (short)
 * Slug: careers/open-vacancies-short
 * Description: Open vacancies (short: without pagination).
 * Categories: careers-patterns
 * Keywords:
 * Viewport Width: 1200
 * Inserter: true
 *
 * @package Teydea_Studio\Careers
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

?>
<!-- wp:group {"metadata":{"name":"Open vacancies (short)"},"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group alignwide" style="margin-top:var(--wp--preset--spacing--80);margin-bottom:var(--wp--preset--spacing--80)"><!-- wp:heading {"align":"wide","fontSize":"xxxxl"} -->
<h2 class="wp-block-heading alignwide has-xxxxl-font-size">Open vacancies</h2>
<!-- /wp:heading -->

<!-- wp:query {"query":{"perPage":6,"pages":0,"offset":"0","postType":"job","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false,"parents":[]},"metadata":{"categories":["hiring-center-patterns"],"patternName":"hiring-center/archives"},"align":"wide","layout":{"type":"default"}} -->
<div class="wp-block-query alignwide"><!-- wp:query-no-results -->
<!-- wp:paragraph -->
<p>No jobs were found at this moment.</p>
<!-- /wp:paragraph -->
<!-- /wp:query-no-results -->

<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50","left":"0","right":"0"},"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-right:0;padding-bottom:var(--wp--preset--spacing--50);padding-left:0"><!-- wp:post-template {"align":"full","layout":{"type":"grid","columnCount":1}} -->
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}},"border":{"bottom":{"color":"var:preset|color|light-gray","width":"1px"},"top":[],"right":[],"left":[]}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="border-bottom-color:var(--wp--preset--color--light-gray);border-bottom-width:1px;padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30)"><!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"layout":{"selfStretch":"fill","flexSize":null},"spacing":{"blockGap":"var:preset|spacing|30"}},"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group"><!-- wp:post-title {"level":3,"isLink":true,"fontSize":"xl"} /-->

<!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"flex","flexWrap":"wrap"}} -->
<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"5px"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group"><!-- wp:paragraph {"fontSize":"sm"} -->
<p class="has-sm-font-size">Published:</p>
<!-- /wp:paragraph -->

<!-- wp:post-date {"fontSize":"sm"} /--></div>
<!-- /wp:group -->

<!-- wp:hiring-center/job-specification-characteristics {"style":{"spacing":{"blockGap":"var:preset|spacing|30"}},"fontSize":"xs"} -->
<ul class="wp-block-hiring-center-job-specification-characteristics has-xs-font-size"></ul>
<!-- /wp:hiring-center/job-specification-characteristics --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<!-- wp:read-more {"content":"\u003cstrong\u003eFind out more\u003c/strong\u003e","className":"is-style-button mobile:hidden","style":{"elements":{"link":{"color":{"text":"var:preset|color|primary-accent"}}},"spacing":{"padding":{"top":"var:preset|spacing|20","bottom":"var:preset|spacing|20","left":"var:preset|spacing|40","right":"var:preset|spacing|40"}}},"backgroundColor":"primary","textColor":"primary-accent","fontSize":"sm"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->
<!-- /wp:post-template --></div>
<!-- /wp:group --></div>
<!-- /wp:query -->

<!-- wp:paragraph -->
<p><a href="<?php echo esc_url( get_post_type_archive_link( 'job' ) ); ?>">See all &xrarr;</a></p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->
