<?php
/**
 * Title: Header variation 2
 * Slug: fastx/header-v2
 * 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} /-->';
} else {
    $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 2', '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":"","padding":{"left":"60px"}},"layout":{"selfStretch":"fit","flexSize":null}},"layout":{"type":"flex","flexWrap":"wrap","orientation":"horizontal","justifyContent":"center"}} -->
    <div class="wp-block-group" style="padding-left:60px">'.$site_logo.'</div>
    <!-- /wp:group -->
    
    <!-- wp:group {"style":{"spacing":{"blockGap":"20px"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
    <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 -->
    
    <!-- wp:group {"align":"full","style":{"border":{"top":{"color":"var:preset|color|fsx-base-2","width":"2px"}},"spacing":{"padding":{"top":"20px"}}},"layout":{"type":"constrained"}} -->
    <div class="wp-block-group alignfull" style="border-top-color:var(--wp--preset--color--fsx-base-2);border-top-width:2px;padding-top:20px"><!-- wp:group {"align":"wide","layout":{"type":"flex","justifyContent":"center","flexWrap":"wrap"}} -->
    <div class="wp-block-group alignwide"><!-- 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-link {"label":"Fashion","url":"#","kind":"custom"} /-->
    <!-- /wp:navigation --></div>
    <!-- /wp:group --></div>
    <!-- /wp:group --></div>
    <!-- /wp:group -->',
);