<?php
/**
 * Title: Footer
 * Slug: fastx/footer
 * Categories: footer
 * Inserter: no
*/

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 -->';
}

?>

<!-- wp:group {"align":"full","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull"><!-- wp:group {"align":"full","style":{"spacing":{"blockGap":"","padding":{"top":"30px","bottom":"30px"}}},"backgroundColor":"fsx-contrast-2","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull has-fsx-contrast-2-background-color has-background" style="padding-top:30px;padding-bottom:30px"><!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"20px"}},"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between","orientation":"horizontal","verticalAlignment":"top"}} -->
<div class="wp-block-group alignwide"><!-- wp:group {"style":{"spacing":{"blockGap":"20px"},"layout":{"selfStretch":"fit","flexSize":null}},"layout":{"type":"flex","flexWrap":"wrap","orientation":"vertical","justifyContent":"left"}} -->
<div class="wp-block-group"><?php echo $site_logo; ?>

<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|fsx-base-1"}}}},"textColor":"fsx-base-1"} -->
<p class="has-fsx-base-1-color has-text-color has-link-color">Modern technology has become<br>a total phenomenon for civilization,<br>the defining force of a new…</p>
<!-- /wp:paragraph -->

<!-- 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"} /-->

<!-- wp:social-link {"url":"#","service":"amazon"} /--></ul>
<!-- /wp:social-links --></div>
<!-- /wp:group -->

<!-- wp:group {"style":{"spacing":{"blockGap":"20px"},"layout":{"selfStretch":"fit","flexSize":null}},"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group"><!-- wp:heading {"level":5,"style":{"elements":{"link":{"color":{"text":"var:preset|color|fsx-base-1"}}},"typography":{"fontSize":"20px"}},"textColor":"fsx-base-1"} -->
<h5 class="wp-block-heading has-fsx-base-1-color has-text-color has-link-color" style="font-size:20px">Quick Info</h5>
<!-- /wp:heading -->

<!-- wp:navigation {"textColor":"fsx-base-1","overlayBackgroundColor":"fsx-base-2","overlayTextColor":"fsx-contrast-1","layout":{"type":"flex","justifyContent":"left","orientation":"vertical"},"style":{"spacing":{"margin":{"top":"0"},"blockGap":"20px"},"layout":{"selfStretch":"fit","flexSize":null},"typography":{"fontSize":"14px"}}} -->
<!-- wp:navigation-link {"label":"About us","url":"#","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"Contact Us","url":"#","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"Support Center","url":"#","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"Privacy Policy","url":"#","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"Terms \u0026amp; Conditons","url":"#","kind":"custom"} /-->
<!-- /wp:navigation --></div>
<!-- /wp:group -->

<!-- wp:group {"style":{"spacing":{"blockGap":"20px"},"layout":{"selfStretch":"fit","flexSize":null}},"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group"><!-- wp:heading {"level":5,"style":{"elements":{"link":{"color":{"text":"var:preset|color|fsx-base-1"}}},"typography":{"fontSize":"20px"}},"textColor":"fsx-base-1"} -->
<h5 class="wp-block-heading has-fsx-base-1-color has-text-color has-link-color" style="font-size:20px">Top Categories</h5>
<!-- /wp:heading -->

<!-- wp:navigation {"textColor":"fsx-base-1","overlayBackgroundColor":"fsx-base-3","overlayTextColor":"fsx-contrast-1","layout":{"type":"flex","orientation":"vertical"},"style":{"spacing":{"blockGap":"20px"},"typography":{"fontSize":"14px"}}} -->
<!-- wp:navigation-link {"label":"Travel","url":"#","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"Fashion","url":"#","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"Entertainment","url":"#","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"Lifestyle","url":"#","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"Vogue","url":"#","kind":"custom"} /-->

<!-- /wp:navigation --></div>
<!-- /wp:group -->

<!-- wp:group {"style":{"spacing":{"blockGap":"20px"},"layout":{"selfStretch":"fit","flexSize":null}},"layout":{"type":"flex","orientation":"vertical"}} -->
<div class="wp-block-group"><!-- wp:heading {"level":5,"style":{"elements":{"link":{"color":{"text":"var:preset|color|fsx-base-1"}}},"typography":{"fontSize":"20px"}},"textColor":"fsx-base-1"} -->
<h5 class="wp-block-heading has-fsx-base-1-color has-text-color has-link-color" style="font-size:20px">Sign up for newsletter</h5>
<!-- /wp:heading -->

<!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|fsx-base-1"}}},"typography":{"fontSize":"14px"}},"textColor":"fsx-base-1"} -->
<p class="has-fsx-base-1-color has-text-color has-link-color" style="font-size:14px">Join our weekly newsletter to get<br>Helps and tutorials</p>
<!-- /wp:paragraph -->

<!-- wp:buttons -->
<div class="wp-block-buttons"><!-- wp:button {"backgroundColor":"fsx-primary","textColor":"fsx-over-primary","style":{"elements":{"link":{"color":{"text":"var:preset|color|fsx-over-primary"}}},"typography":{"fontSize":"16px"}}} -->
<div class="wp-block-button has-custom-font-size" style="font-size:16px"><a class="wp-block-button__link has-fsx-over-primary-color has-fsx-primary-background-color has-text-color has-background has-link-color wp-element-button" href="#">Subscribe</a></div>
<!-- /wp:button --></div>
<!-- /wp:buttons --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"20px","bottom":"20px"},"margin":{"top":"0px"}}},"backgroundColor":"fsx-contrast-1","layout":{"type":"constrained"}} -->
<div class="wp-block-group alignfull has-fsx-contrast-1-background-color has-background" style="margin-top: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 {"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 -->

<!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap"}} -->
<div class="wp-block-group"><!-- wp:navigation {"textColor":"fsx-base-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":"Lifestyle","url":"#","kind":"custom"} /-->

<!-- wp:navigation-link {"label":"Fashion","url":"#","kind":"custom"} /-->

<!-- /wp:navigation --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group --></div>
<!-- /wp:group -->