<?php
/**
 * Title: Header variation 1
 * Slug: fastx/header-v1
 * Categories: fastx
*/

if ( ( isset($_SERVER['HTTP_REFERER']) && strpos($_SERVER['HTTP_REFERER'], "wp-admin/site-editor.php") ) || get_option('site_logo') ) {
    $site_logo = '<!-- wp:site-logo {"width":80} /-->';
    $site_logo_2 = '<!-- wp:site-logo {"width":60,"className":"is-style-default"} /-->';
} else {
    $site_logo_2 = $site_logo = '<!-- wp:site-title {"level":5,"style":{"elements":{"link":{"color":{"text":"var:preset|color|fsx-contrast-1"},":hover":{"color":{"text":"var:preset|color|fsx-primary"}}}}},"textColor":"fsx-contrast-1"} /-->';
}

return array(
	'title'      => __( 'Header variation 1', 'fastx' ),
	'categories' => array( 'fastx' ),
	'keywords'   => array( 'header', 'blog' ),
	'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"20px","bottom":"20px"}},"border":{"top":{"width":"0px","style":"none"},"right":{"width":"0px","style":"none"},"bottom":{"color":"var:preset|color|fsx-base-2","width":"2px"},"left":{"width":"0px","style":"none"}}},"layout":{"type":"constrained"}} -->
    <div class="wp-block-group alignfull" style="border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-color:var(--wp--preset--color--fsx-base-2);border-bottom-width:2px;border-left-style:none;border-left-width:0px;padding-top:20px;padding-bottom:20px"><!-- wp:group {"align":"wide","layout":{"type":"flex","justifyContent":"space-between","flexWrap":"wrap"}} -->
    <div class="wp-block-group alignwide"><!-- wp:group {"style":{"spacing":{"blockGap":"10px"}},"layout":{"type":"flex","flexWrap":"wrap"}} -->
    <div class="wp-block-group"><!-- wp:social-links {"openInNewTab":true,"size":"has-small-icon-size","style":{"spacing":{"blockGap":{"top":"16px","left":"16px"}}},"className":"is-style-default","layout":{"type":"flex","justifyContent":"left"}} -->
    <ul class="wp-block-social-links has-small-icon-size is-style-default"><!-- wp:social-link {"url":"#","service":"facebook"} /-->
    
    <!-- wp:social-link {"url":"#","service":"skype"} /-->
    
    <!-- wp:social-link {"url":"#","service":"instagram"} /--></ul>
    <!-- /wp:social-links --></div>
    <!-- /wp:group -->
    
    <!-- wp:group {"style":{"spacing":{"blockGap":"60px"},"layout":{"selfStretch":"fit","flexSize":null}},"layout":{"type":"flex","flexWrap":"wrap","orientation":"horizontal","justifyContent":"center"}} -->
    <div class="wp-block-group">'.$site_logo.'</div>
    <!-- /wp:group -->
    
    <!-- wp:group {"style":{"spacing":{"blockGap":"20px"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
    <div class="wp-block-group"><!-- wp:buttons -->
    <div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"primary","textColor":"fsx-over-primary","style":{"elements":{"link":{"color":{"text":"var:preset|color|fsx-over-primary"}}},"border":{"radius":"4px"},"typography":{"textTransform":"capitalize","fontStyle":"normal","fontWeight":"400","fontSize":"16px"},"spacing":{"padding":{"left":"20px","right":"20px","top":"8px","bottom":"8px"}}},"className":"is-style-fill","fontFamily":"roboto"} -->
    <div class="wp-block-button has-custom-font-size is-style-fill has-roboto-font-family" style="font-size:16px;font-style:normal;font-weight:400;text-transform:capitalize"><a class="wp-block-button__link has-fsx-over-primary-color has-primary-background-color has-text-color has-background has-link-color wp-element-button" style="border-radius:4px;padding-top:8px;padding-right:20px;padding-bottom:8px;padding-left:20px">Subscribe</a></div>
    <!-- /wp:button --></div>
    <!-- /wp:buttons --></div>
    <!-- /wp:group --></div>
    <!-- /wp:group -->
    
    <!-- wp:group {"align":"full","style":{"border":{"top":{"color":"var:preset|color|fsx-base-2","width":"2px"},"right":{"width":"0px","style":"none"},"bottom":{"style":"none","width":"0px"},"left":{"width":"0px","style":"none"}},"spacing":{"padding":{"top":"10px"}}},"layout":{"type":"constrained"}} -->
    <div class="wp-block-group alignfull" style="border-top-color:var(--wp--preset--color--fsx-base-2);border-top-width:2px;border-right-style:none;border-right-width:0px;border-bottom-style:none;border-bottom-width:0px;border-left-style:none;border-left-width:0px;padding-top:10px"><!-- wp:group {"align":"wide","layout":{"type":"flex","justifyContent":"space-between","flexWrap":"wrap"}} -->
    <div class="wp-block-group alignwide"><!-- wp:group {"style":{"spacing":{"blockGap":"60px"},"layout":{"selfStretch":"fit","flexSize":null}},"layout":{"type":"flex","flexWrap":"wrap","orientation":"horizontal","justifyContent":"center"}} -->
    <div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"10px"}},"layout":{"type":"flex","flexWrap":"wrap"}} -->
    <div class="wp-block-group">'.$site_logo_2.'</div>
    <!-- /wp:group -->
    
    <!-- wp:navigation {"textColor":"fsx-contrast-1","layout":{"type":"flex","justifyContent":"right","orientation":"horizontal"},"style":{"spacing":{"margin":{"top":"0"},"blockGap":"30px"},"layout":{"selfStretch":"fit","flexSize":null},"typography":{"fontSize":"14px"}}} -->
    <!-- wp:navigation-link {"label":"Travel","url":"#","kind":"custom"} /-->
    
    <!-- wp:navigation-link {"label":"About","url":"#","kind":"custom"} /-->
    
    <!-- wp:navigation-link {"label":"Contact","url":"#","kind":"custom"} /-->
    <!-- /wp:navigation --></div>
    <!-- /wp:group -->
    
    <!-- wp:group {"style":{"spacing":{"blockGap":"20px"}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"right"}} -->
    <div class="wp-block-group"><!-- wp:search {"label":"","showLabel":false,"width":220,"widthUnit":"px","buttonText":"Search","style":{"elements":{"link":{"color":{"text":"var:preset|color|fsx-over-primary"}}}},"backgroundColor":"fsx-primary","textColor":"fsx-over-primary","className":"is-style\u002d\u002dfsx-search","fontSize":"x-small"} /--></div>
    <!-- /wp:group --></div>
    <!-- /wp:group --></div>
    <!-- /wp:group --></div>
    <!-- /wp:group -->',
);