<?php
/**
 * Header Section
 * 
 * slug: corporate-blocks/header
 * title: Header
 * categories: corporate-blocks
 */

// Evaluate the toggle state
$corporate_blocks_toggle = get_option( 'corporate_blocks_preloader_toggle', 'off' );
$corporate_blocks_preloader_display = $corporate_blocks_toggle === 'on' ? 'block' : 'none';

return array(
    'title'      =>__( 'Header', 'corporate-blocks' ),
    'categories' => array( 'corporate-blocks' ),
    'content'    => '<!-- wp:preformatted {"className":"preloader-main"} -->
<pre class="wp-block-preformatted preloader-main"><div class="preloader" id="preloader" style="display: ' . $corporate_blocks_preloader_display . ';">
        <div class="loader"></div>
    </div></pre>
<!-- /wp:preformatted -->

<!-- wp:group {"align":"full","backgroundColor":"black","textColor":"background","className":"wow fadeInDown","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull wow fadeInDown has-background-color has-black-background-color has-text-color has-background"><!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center">Call No. : +123-456-7890 / Mail Address : support@example.com</p>
<!-- /wp:paragraph --></div>
<!-- /wp:group -->

<!-- wp:columns {"verticalAlignment":"center","style":{"spacing":{"padding":{"top":"var:preset|spacing|40","right":"0","bottom":"var:preset|spacing|40","left":"0"}}},"className":"header-box wow fadeInDown"} -->
<div class="wp-block-columns are-vertically-aligned-center header-box wow fadeInDown" style="padding-top:var(--wp--preset--spacing--40);padding-right:0;padding-bottom:var(--wp--preset--spacing--40);padding-left:0"><!-- wp:column {"verticalAlignment":"center","width":"25%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:25%"><!-- wp:site-title {"textAlign":"center"} /--></div>
<!-- /wp:column -->

<!-- wp:column {"verticalAlignment":"center","width":"50%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:50%"><!-- wp:navigation {"className":"head-nav","layout":{"type":"flex","justifyContent":"center"}} -->
<!-- wp:navigation-link {"label":"Home","type":"","url":"#","kind":"custom","isTopLevelLink":true} /-->

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

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

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

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

<!-- wp:navigation-link {"label":"Get Pro","type":"","url":"https://www.wpradiant.net/products/corporate-wordpress-theme","kind":"custom","isTopLevelLink":true,"className":"getpro"} /-->
<!-- /wp:navigation --></div>
<!-- /wp:column -->

<!-- wp:column {"verticalAlignment":"center","width":"25%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:25%"><!-- wp:buttons {"className":"header-box-btn theme-btn","layout":{"type":"flex","justifyContent":"center"}} -->
<div class="wp-block-buttons header-box-btn theme-btn"><!-- wp:button {"backgroundColor":"accent","textColor":"background","style":{"spacing":{"padding":{"top":"var:preset|spacing|30","bottom":"var:preset|spacing|30"}}}} -->
<div class="wp-block-button"><a class="wp-block-button__link has-background-color has-accent-background-color has-text-color has-background wp-element-button" href="#" style="padding-top:var(--wp--preset--spacing--30);padding-bottom:var(--wp--preset--spacing--30)"><strong>GET A QUOTE</strong></a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->',
);
