[CARDS][Navigation] Replaced footer to nav

Since the footer is inside a section, it couldn't be a footer element
This commit is contained in:
Eliseu Amaro 2021-12-26 21:46:54 +00:00 committed by Diogo Peralta Cordeiro
parent b30198413c
commit 838510ced2
Signed by: diogo
GPG Key ID: 18D2D35001FBFAB0
2 changed files with 24 additions and 19 deletions

View File

@ -148,6 +148,11 @@ html {
display: flex; display: flex;
justify-content: space-evenly; justify-content: space-evenly;
} }
.footer ul {
display: inline-flex;
width: 100%;
justify-content: space-evenly;
}
/* < 720p */ /* < 720p */
@media only screen and (max-width:1280px) { @media only screen and (max-width:1280px) {
.page-header { .page-header {

View File

@ -72,23 +72,23 @@
{% endblock profile_security %} {% endblock profile_security %}
{% block footer %} {% block footer %}
<footer class="footer"> <nav class="footer">
<nav> <ul>
<a href="{{ path('doc_faq') }}" class='hover-effect {{ active('doc_faq') }}'> <li>
FAQ <a href="{{ path('doc_faq') }}" class='hover-effect {{ active('doc_faq') }}'>FAQ</a>
</a> </li>
<a href="{{ path('doc_tos') }}" class='hover-effect {{ active('doc_tos') }}'> <li>
TOS <a href="{{ path('doc_tos') }}" class='hover-effect {{ active('doc_tos') }}'>TOS</a>
</a> </li>
<a href="{{ path('doc_privacy') }}" class='hover-effect {{ active('doc_privacy') }}'> <li>
Privacy <a href="{{ path('doc_privacy') }}" class='hover-effect {{ active('doc_privacy') }}'>Privacy</a>
</a> </li>
<a href="{{ path('doc_source') }}" class='hover-effect {{ active('doc_source') }}'> <li>
Source <a href="{{ path('doc_source') }}" class='hover-effect {{ active('doc_source') }}'>Source</a>
</a> </li>
<a href="{{ path('doc_version') }}" class='hover-effect {{ active('doc_version') }}'> <li>
Version <a href="{{ path('doc_version') }}" class='hover-effect {{ active('doc_version') }}'>Version</a>
</a> </li>
</nav> </ul>
</footer> </nav>
{% endblock footer %} {% endblock footer %}