[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;
justify-content: space-evenly;
}
.footer ul {
display: inline-flex;
width: 100%;
justify-content: space-evenly;
}
/* < 720p */
@media only screen and (max-width:1280px) {
.page-header {

View File

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