<?php
/**
 * Title: Footer variation 2
 * Slug: fastx/footer-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":60} /-->';
} else {
    $site_logo = '<!-- wp:image {"lightbox":{"enabled":false},"id":12,"width":"110px","height":"30px","scale":"contain","sizeSlug":"large","linkDestination":"custom","style":{"border":{"radius":"4px"}}} -->
    <figure class="wp-block-image size-large is-resized has-custom-border"><a href="'.home_url().'"><img src="'.FASTX_DIR.'/assets/img/fsx_logo.png'.'" alt="" class="wp-image-12" style="border-radius:4px;object-fit:contain;width:110px;height:30px"/></a></figure>
    <!-- /wp:image -->';
}

return array(
	'title'      => __( 'Footer variation 2', 'fastx' ),
	'categories' => array( 'fastx' ),
	'keywords'   => array( 'footer', 'blog' ),
	'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"80px","bottom":"80px"},"margin":{"top":"0px"}}},"backgroundColor":"fsx-contrast-2","layout":{"type":"constrained"}} -->
    <div class="wp-block-group alignfull has-fsx-contrast-2-background-color has-background" style="margin-top:0px;padding-top:80px;padding-bottom:80px"><!-- wp:group {"align":"wide","layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
    <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">'.$site_logo.'</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"><!-- wp:navigation {"textColor":"fsx-base-1","overlayBackgroundColor":"fsx-base-2","overlayTextColor":"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 -->
    
    <!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap"}} -->
    <div class="wp-block-group"><!-- wp:social-links {"iconColor":"fsx-base-1","iconColorValue":"#FFFFFF","iconBackgroundColor":"fsx-contrast-1","iconBackgroundColorValue":"#08031A","size":"has-small-icon-size","style":{"spacing":{"blockGap":{"top":"16px","left":"16px"}}},"className":"is-style-default"} -->
    <ul class="wp-block-social-links has-small-icon-size has-icon-color has-icon-background-color 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 {"layout":{"type":"flex","flexWrap":"wrap"}} -->
    <div class="wp-block-group"><!-- wp:paragraph {"align":"center","style":{"elements":{"link":{"color":{"text":"var:preset|color|fsx-base-1"}}},"typography":{"fontSize":"16px"}},"textColor":"fsx-base-1"} -->
    <p class="has-text-align-center has-fsx-base-1-color has-text-color has-link-color" style="font-size:16px">© 2024 - FastX theme</p>
    <!-- /wp:paragraph --></div>
    <!-- /wp:group --></div>
    <!-- /wp:group --></div>
    <!-- /wp:group -->',
);