Skip to content

Commit

Permalink
Making darmode permanent (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
altf4arnold authored May 17, 2024
1 parent 973d887 commit 97f0fdb
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions tldtest/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
<header>


<nav class="bg-white border-gray-200 dark:bg-gray-900">
<nav class="border-gray-200 bg-gray-900">
<div class="max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4">
<a href="https://tldtest.net/" class="flex items-center space-x-3 rtl:space-x-reverse">
<img src="{% static 'images/image.png' %}" class="h-8" alt="Logo"/>
<span class="self-center text-2xl font-semibold whitespace-nowrap dark:text-white">TLD-Tester</span>
<span class="self-center text-2xl font-semibold whitespace-nowrap text-white">TLD-Tester</span>
</a>
<button data-collapse-toggle="navbar-default" type="button"
class="inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600"
class="inline-flex items-center p-2 w-10 h-10 justify-center text-sm text-gray-500 rounded-lg md:hidden focus:outline-none focus:ring-2 dark:text-gray-400 hover:bg-gray-700 focus:ring-gray-600"
aria-controls="navbar-default" aria-expanded="false">
<span class="sr-only">Open main menu</span>
<svg class="w-5 h-5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none"
Expand All @@ -48,15 +48,15 @@
</svg>
</button>
<div class="hidden w-full md:block md:w-auto" id="navbar-default">
<ul class="font-medium flex flex-col p-4 md:p-0 mt-4 border border-gray-100 rounded-lg bg-gray-50 md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 md:bg-white dark:bg-gray-800 md:dark:bg-gray-900 dark:border-gray-700">
<ul class="font-medium flex flex-col p-4 md:p-0 mt-4 border rounded-lg md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 bg-gray-800 md:bg-gray-900 border-gray-700">
<li>
<a href="/"
class="block py-2 px-3 text-white bg-blue-700 rounded md:bg-transparent md:text-blue-700 md:p-0 dark:text-white md:dark:text-blue-500"
class="block py-2 px-3 bg-blue-700 rounded md:bg-transparent md:p-0 text-white md:text-blue-500"
aria-current="page">Home</a>
</li>
<li>
<a href="/api"
class="block py-2 px-3 text-gray-900 rounded hover:bg-gray-100 md:hover:bg-transparent md:border-0 md:hover:text-blue-700 md:p-0 dark:text-white md:dark:hover:text-blue-500 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent"
class="block py-2 px-3 rounded md:border-0 md:p-0 text-white md:hover:text-blue-500 hover:bg-gray-700 hover:text-white md:hover:bg-transparent"
aria-current="page">API</a>
</li>
</ul>
Expand All @@ -71,11 +71,11 @@
{% endblock content %}


<footer class="bg-white rounded-lg shadow m-4 dark:bg-gray-800">
<footer class="rounded-lg shadow m-4 bg-gray-800">
<div class="w-full mx-auto max-w-screen-xl p-4 md:flex md:items-center md:justify-between">
<span class="text-sm text-gray-500 sm:text-center dark:text-gray-400">Made with ❤️ under GPLv3
<span class="text-sm sm:text-center text-gray-400">Made with ❤️ under GPLv3
</span>
<ul class="flex flex-wrap items-center mt-3 text-sm font-medium text-gray-500 dark:text-gray-400 sm:mt-0">
<ul class="flex flex-wrap items-center mt-3 text-sm font-medium text-gray-400 sm:mt-0">
<li>
<a href="https://github.com/altf4arnold/tldtest.net" class="hover:underline me-4 md:me-6">Github</a>
</li>
Expand All @@ -89,6 +89,5 @@
</ul>
</div>
</footer>

</body>
</html>

0 comments on commit 97f0fdb

Please sign in to comment.