<!--
  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=" ") %}
<div class="bg-gray-200">
 <div class="container mx-auto">
    <footer class="bottom-0">
    {% 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/footer.png')}}" class="w-60" alt="">
            
    {% endif %}
    </footer>
</div>
</div>