<?php
/**
 * Displays footer bottom area
 *
 * @package FitNote
 */


$enable_footer_social_nav = fitnote_get_option('enable_footer_social_nav');
$enable_footer_social_nav_border_radius = fitnote_get_option('enable_footer_social_nav_border_radius');
$select_footer_social_menu_style = fitnote_get_option('select_footer_social_menu_style');

?>
<div class="site-footer-area site-info">
    <div class="wrapper">
        <div class="site-info-panel">

            <?php fitnote_get_copyright_text(); ?>



            <?php if ($enable_footer_social_nav) { ?>
                <nav aria-label="<?php esc_attr_e('Footer Social links', 'fitnote'); ?>">
                    <ul class="social-menu reset-list-style social-icons <?php echo esc_attr($select_footer_social_menu_style); ?> <?php if ($enable_footer_social_nav_border_radius) {
                        echo "has-border-radius";
                    } ?>">
                        <?php
                        wp_nav_menu(
                            array(
                                'theme_location' => 'social',
                                'container' => '',
                                'container_class' => '',
                                'items_wrap' => '%3$s',
                                'menu_id' => '',
                                'menu_class' => '',
                                'depth' => 1,
                                'link_before' => '<span class="screen-reader-text">',
                                'link_after' => '</span>',
                                'fallback_cb' => '',
                            )
                        );
                        ?>
                    </ul>
                </nav>
            <?php } ?>


        </div>
    </div>
</div><!-- .site-info -->