Change Styling and code cleanup

This commit is contained in:
Esa Kataja
2024-10-12 16:20:10 +03:00
parent 0054a2484f
commit 6bf57ff672
5 changed files with 15 additions and 4 deletions
+4
View File
@@ -16,4 +16,8 @@ body {
.button-primary { .button-primary {
@apply bg-blue-500 text-white px-4 py-2 rounded-md hover:bg-blue-600; @apply bg-blue-500 text-white px-4 py-2 rounded-md hover:bg-blue-600;
}
.button-cancel {
@apply bg-orange-500 text-white px-4 py-2 rounded-md hover:bg-red-600;
} }
+2 -1
View File
@@ -1,3 +1,4 @@
<footer class="bg-zinc-800 text-white p-6 text-center"> <footer class="bg-zinc-800 text-white p-6 text-center">
<p>&copy; 2024 Levyraati Revived. Yhdessä musiikin parissa.</p> <p>&copy; 2024 Levyraati Revived.</p>
<p>Yhdessä musiikin parissa.</p>
</footer> </footer>
+8 -1
View File
@@ -6,13 +6,20 @@
<enhanced:img src="/static/img/logo.webp?w=50" alt="Levyraati Revived" class="rounded-lg" /> <enhanced:img src="/static/img/logo.webp?w=50" alt="Levyraati Revived" class="rounded-lg" />
<h1 class="ml-4 text-3xl font-bold">Levyraati <span class="revived">Revived</span></h1> <h1 class="ml-4 text-3xl font-bold">Levyraati <span class="revived">Revived</span></h1>
</a> </a>
<div class="flex items-center space-x-4"> <div class="items-center space-x-4 hidden md:flex">
<a href="/leaderboard" class="text-white hover:text-blue-500">Leaderboard</a> <a href="/leaderboard" class="text-white hover:text-blue-500">Leaderboard</a>
<p>|</p> <p>|</p>
<a href="/events" class="text-white hover:text-blue-500">Tapahtumat</a> <a href="/events" class="text-white hover:text-blue-500">Tapahtumat</a>
<p>|</p> <p>|</p>
<a href="/login" class="text-white hover:text-blue-500">Kirjaudu sisään</a> <a href="/login" class="text-white hover:text-blue-500">Kirjaudu sisään</a>
</div> </div>
<div class="md:hidden">
<svg viewBox="0 0 100 80" width="40" height="40">
<rect x="5" y="0" width="80" height="10" rx="5" fill="#7777aa" />
<rect x="5" y="30" width="80" height="10" rx="5" fill="#7777aa" />
<rect x="5" y="60" width="80" height="10" rx="5" fill="#7777aa" />
</svg>
</div>
</header> </header>
<style> <style>
-1
View File
@@ -1 +0,0 @@
// place files you want to import through the `$lib` alias in this folder.
+1 -1
View File
@@ -5,7 +5,7 @@
</script> </script>
<Header /> <Header />
<main class="container mx-auto p-6"> <main class="container max-w-screen-lg mx-auto p-6">
<slot /> <slot />
</main> </main>
<Footer /> <Footer />