UI changes

This commit is contained in:
2026-02-09 09:28:55 -05:00
parent 7931d42605
commit c56f3b5767
7 changed files with 381 additions and 321 deletions

View File

@@ -79,13 +79,11 @@
<button type="button" class="btn btn-ghost normal-case text-lg">
{$user.username}
</button>
<ul class="dropdown-content menu p-2 shadow bg-base-100 rounded-box w-52">
<ul class="dropdown-content menu p-2 shadow bg-base-100 rounded-box w-52 text-black">
<li><a href="/vendor">Dashboard</a></li>
<li><button type="button" on:click={logout}>Logout</button></li>
</ul>
</div>
{:else}
<a href="/login" class="btn btn-ghost normal-case text-lg">Dealer Login</a>
{/if}
</div>
</header>
@@ -97,6 +95,9 @@
<footer class="footer footer-center p-4 bg-base-300 text-base-content">
<div>
<p>Copyright © {new Date().getFullYear()} - All right reserved</p>
{#if !$user}
<a href="/login" class="link link-primary">Dealer Login</a>
{/if}
</div>
</footer>
</div>