style: Center main and footer elements
This commit is contained in:
1 parent
891a203dd3
commit
ccbc9f4863
6 files changed
+58
-19
No files matched your search
@@ -51,8 +51,8 @@
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<main class="py-4 pb-16">
|
||||
<div class="max-w-md mx-auto px-4 mt-8">
|
||||
<main class="py-4 pb-16 bg-bg-footer">
|
||||
<div class="max-w-screen-lg mx-auto px-4 mt-8">
|
||||
<div class="mb-8">
|
||||
<h2 class="text-lg mb-4 text-primary">User Profile</h2>
|
||||
<div class="user-profile">
|
||||
@@ -81,6 +81,23 @@
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer class="bg-bg-footer py-8 px-6 text-text-muted">
|
||||
<div class="max-w-screen-lg mx-auto text-center">
|
||||
<p>
|
||||
Seen something today? Don’t let it go to waste. <a href="#" class="text-primary hover:underline">Submit it</a>.
|
||||
</p>
|
||||
<div class="mt-4 text-sm">
|
||||
<a href="#" class="text-text-muted mx-2 no-underline hover:underline">Guidelines</a> |
|
||||
<a href="#" class="text-text-muted mx-2 no-underline hover:underline">Tips</a> |
|
||||
<a href="#" class="text-text-muted mx-2 no-underline hover:underline">Privacy</a> |
|
||||
<a href="#" class="text-text-muted mx-2 no-underline hover:underline">DMCA</a>
|
||||
</div>
|
||||
<div class="mt-4 text-center">
|
||||
<input type="text" placeholder="Search..." class="px-3 py-2 border border-gray-300 rounded w-48 bg-bg-light text-text-default focus:outline-none focus:ring-1 focus:ring-primary">
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
const menuButton = document.getElementById('menuButton');
|
||||
|
||||
Reference in new issue
Block a user