<?php
/**
 * Title: Footer variation 3
 * Slug: fastx/footer-v3
 * 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 3', 'fastx' ),
	'categories' => array( 'fastx' ),
	'keywords'   => array( 'footer', 'blog' ),
	'content'    => '<!-- wp:group {"align":"full","style":{"spacing":{"blockGap":"","padding":{"top":"50px","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:50px;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":"30px"},"layout":{"selfStretch":"fixed","flexSize":"30%"}},"layout":{"type":"flex","flexWrap":"nowrap","orientation":"vertical"}} -->
    <div class="wp-block-group">'.$site_logo.'
    
    <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|fsx-base-2"}}},"typography":{"fontSize":"16px"}},"textColor":"fsx-base-2"} -->
    <p class="has-fsx-base-2-color has-text-color has-link-color" style="font-size:16px">Modern technology has become<br>a total phenomenon for civilization,<br>the defining force of a new…</p>
    <!-- /wp:paragraph -->
    
    <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|fsx-base-2"}}},"typography":{"fontSize":"16px"}},"textColor":"fsx-base-2"} -->
    <p class="has-fsx-base-2-color has-text-color has-link-color" style="font-size:16px">Modern technology has become<br>a total phenomenon for civilization,<br>the defining force of a new…</p>
    <!-- /wp:paragraph --></div>
    <!-- /wp:group -->
    
    <!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"30px"},"layout":{"selfStretch":"fixed","flexSize":"35%"}},"layout":{"type":"flex","flexWrap":"wrap","orientation":"vertical"}} -->
    <div class="wp-block-group alignwide"><!-- wp:heading {"level":5,"style":{"elements":{"link":{"color":{"text":"var:preset|color|fsx-base-1"}}},"typography":{"fontSize":"20px","fontStyle":"normal","fontWeight":"700"}},"textColor":"fsx-base-1"} -->
    <h5 class="wp-block-heading has-fsx-base-1-color has-text-color has-link-color" style="font-size:20px;font-style:normal;font-weight:700">Popular Posts</h5>
    <!-- /wp:heading -->
    
    <!-- wp:query {"query":{"perPage":2,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false},"align":"wide"} -->
    <div class="wp-block-query alignwide"><!-- wp:post-template {"style":{"spacing":{"blockGap":"20px"}},"layout":{"type":"grid","columnCount":1}} -->
    <!-- wp:group {"style":{"spacing":{"blockGap":"20px"}},"layout":{"type":"flex","flexWrap":"nowrap","orientation":"horizontal"}} -->
    <div class="wp-block-group"><!-- wp:post-featured-image {"isLink":true,"aspectRatio":"4/3","width":"90px","height":"90px","style":{"border":{"radius":"6px"}}} /-->
    
    <!-- wp:group {"style":{"spacing":{"blockGap":"12px"},"layout":{"selfStretch":"fixed","flexSize":"50%"}},"layout":{"type":"flex","orientation":"vertical"}} -->
    <div class="wp-block-group"><!-- wp:post-terms {"term":"category","style":{"typography":{"fontSize":"12px"},"elements":{"link":{":hover":{"color":{"text":"var:preset|color|fsx-over-primary"}},"color":{"text":"var:preset|color|fsx-over-primary"}}}},"textColor":"fsx-over-primary","className":"is-style\u002d\u002dfsx-post-terms-bg"} /-->
    
    <!-- wp:post-title {"isLink":true,"style":{"typography":{"fontSize":"16px","fontStyle":"normal","fontWeight":"700"},"elements":{"link":{"color":{"text":"var:preset|color|fsx-base-1"}}},"layout":{"selfStretch":"fit","flexSize":null}},"textColor":"fsx-base-1","fontFamily":"roboto"} /-->
    
    <!-- wp:post-author {"textAlign":"left","avatarSize":24,"style":{"typography":{"fontSize":"11px"},"elements":{"link":{"color":{"text":"var:preset|color|fsx-base-1"}}}},"textColor":"fsx-base-1","className":"is-style\u002d\u002dfsx-post-author"} /--></div>
    <!-- /wp:group --></div>
    <!-- /wp:group -->
    <!-- /wp:post-template --></div>
    <!-- /wp:query --></div>
    <!-- /wp:group -->
    
    <!-- wp:group {"align":"wide","style":{"spacing":{"blockGap":"30px"},"layout":{"selfStretch":"fixed","flexSize":"30%"}},"layout":{"type":"flex","flexWrap":"wrap","orientation":"vertical"}} -->
    <div class="wp-block-group alignwide"><!-- wp:heading {"level":5,"style":{"elements":{"link":{"color":{"text":"var:preset|color|fsx-base-1"}}},"typography":{"fontSize":"20px","fontStyle":"normal","fontWeight":"700"}},"textColor":"fsx-base-1"} -->
    <h5 class="wp-block-heading has-fsx-base-1-color has-text-color has-link-color" style="font-size:20px;font-style:normal;font-weight:700">Most Viewed</h5>
    <!-- /wp:heading -->
    
    <!-- wp:query {"query":{"perPage":2,"pages":0,"offset":"2","postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
    <div class="wp-block-query"><!-- wp:post-template {"layout":{"type":"constrained","justifyContent":"right"}} -->
    <!-- wp:columns {"style":{"spacing":{"blockGap":{"left":"15px"},"padding":{"bottom":"10px"},"margin":{"bottom":"10px"}}}} -->
    <div class="wp-block-columns" style="margin-bottom:10px;padding-bottom:10px"><!-- wp:column {"width":"","style":{"spacing":{"blockGap":"14px"}},"fontSize":"small"} -->
    <div class="wp-block-column has-small-font-size"><!-- wp:post-title {"level":6,"isLink":true,"style":{"spacing":{"margin":{"bottom":"15px","top":"10px"}},"typography":{"textDecoration":"none","textTransform":"capitalize","fontStyle":"normal","fontWeight":"500","fontSize":"16px"},"elements":{"link":{"color":{"text":"var:preset|color|fsx-base-1"},":hover":{"color":{"text":"var:preset|color|secondary"}}}}},"textColor":"fsx-base-1"} /-->
    
    <!-- wp:columns {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}}} -->
    <div class="wp-block-columns" style="margin-top:0px;margin-bottom:0px"><!-- wp:column -->
    <div class="wp-block-column"><!-- wp:post-author {"avatarSize":24,"showBio":false,"isLink":true,"linkTarget":"_blank","style":{"typography":{"fontSize":"12px"},"elements":{"link":{"color":{"text":"var:preset|color|fsx-base-2"},":hover":{"color":{"text":"var:preset|color|fsx-secondary"}}}}},"textColor":"fsx-base-2","className":"is-style\u002d\u002dfsx-post-author"} /--></div>
    <!-- /wp:column --></div>
    <!-- /wp:columns --></div>
    <!-- /wp:column --></div>
    <!-- /wp:columns -->
    <!-- /wp:post-template --></div>
    <!-- /wp:query --></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 {"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"}}} /--></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-2","iconBackgroundColorValue":"#262657","size":"has-normal-icon-size","style":{"spacing":{"blockGap":{"top":"16px","left":"16px"}}},"className":"is-style-default"} -->
    <ul class="wp-block-social-links has-normal-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 --></div>
    <!-- /wp:group --></div>
    <!-- /wp:group -->',
);