<!--
  Tailwind UI components require Tailwind CSS v1.8 and the @tailwindcss/ui plugin.
  Read the documentation to get started: https://tailwindui.com/documentation
-->

{%- set section = get_section(path="_index.md") %}

{% set subsections_str = section.subsections | join(sep=" ") %}

<footer class="bottom-0 mx-20">
    {% if "footer/_index.md" in subsections_str %}
        {%- set section = get_section(path="footer/_index.md") %}
        {{ section.content | safe }}
    {% else %}
        {% set footer_class = config.extra.footer_class | default(value='') %}
        <div class="{{ footer_class ~ ' -mx-20'}}">
            <img src="{{get_url(path='images/RGAsset8.png')}}" class="w-60" alt="">
            <h3 class="text-center">OURWORLD <br /> DIGITAL NOMADS</h3>
        </div>
    {% endif %}
</footer>