mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-09-02 02:12:37 +02:00
Extracted footer to a dedicated component and added it to the 404 page
This commit is contained in:
@@ -9,5 +9,7 @@
|
||||
404 • Not Found
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{% include 'components/footer.twig' %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
13
app/resources/views/components/footer.twig
Normal file
13
app/resources/views/components/footer.twig
Normal 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>
|
@@ -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' });"
|
||||
|
Reference in New Issue
Block a user