<?php
// General
$color                      = get_field('color');
$footerVersion              = get_field('footer_version');
?>

<footer class="c-footer">
    <?php if(!in_array($color, ['gray'])): ?>
        <div class="c-footer__top">
            <div class="o-wrap">
                <p><?= $footerVersion ?></p>
            </div>
        </div>
    <?php endif; ?>

    <div class="c-footer__bottom">
        <?php
        wp_nav_menu([
            'theme_location'  => 'footer-menu',
            'container' => 'nav',
            'container_class' => 'c-footer__nav',
            'menu_class' => '',
        ]);
        ?>
    </div>
</footer>


<?php wp_footer(); ?>
</body>
</html>