Extracted footer to a dedicated component and added it to the 404 page

This commit is contained in:
Chris Kankiewicz
2020-01-04 16:49:35 -07:00
parent 7e95f59cf7
commit 4600e9f3e3
3 changed files with 16 additions and 13 deletions

View File

@@ -9,5 +9,7 @@
404 • Not Found
</p>
</div>
{% include 'components/footer.twig' %}
</div>
{% endblock %}

View File

@@ -0,0 +1,13 @@
<footer class="container border-t-2 border-gray-800 text-center mx-auto px-4 py-8">
<div class="pb-2">
Powered by <a href="https://www.directorylister.com" class="underline hover:text-blue-700">Directory Lister</a>
<a href="https://twitter.com/DirectoryLister" title="Twitter" class="text-gray-400 hover:text-twitter">
<i class="fab fa-twitter"></i>
</a>
<a href="https://github.com/DirectoryLister/DirectoryLister" title="GitHub" class="text-gray-400 hover:text-gray-800">
<i class="fab fa-github"></i>
</a>
</div>
</footer>

View File

@@ -31,19 +31,7 @@
</ul>
</div>
<footer class="container border-t-2 border-gray-800 text-center mx-auto px-4 py-8">
<div class="pb-2">
Powered by <a href="https://www.directorylister.com" class="underline hover:text-blue-700">Directory Lister</a>
<a href="https://twitter.com/DirectoryLister" title="Twitter" class="text-gray-400 hover:text-twitter">
<i class="fab fa-twitter"></i>
</a>
<a href="https://github.com/DirectoryLister/DirectoryLister" title="GitHub" class="text-gray-400 hover:text-gray-800">
<i class="fab fa-github"></i>
</a>
</div>
</footer>
{% include 'components/footer.twig' %}
<a id="scroll-to-top"
onclick="window.scrollTo({ top: 0, left: 0, behavior: 'smooth' });"