refactor(#54): Move account into (user) and improve button styling

This commit is contained in:
Josh Creek
2024-11-19 20:32:31 +00:00
parent 3b77f926e6
commit 13dd60428d
2 changed files with 11 additions and 6 deletions
@@ -123,6 +123,11 @@
{/if}
</section>
<section class="space-y-4">
<h2 class="text-xl font-semibold">Credit Usage</h2>
<button class="btn btn-secondary w-full" disabled={loading}>View details</button>
</section>
<!-- Billing History -->
<section class="space-y-4">
<h2 class="text-xl font-semibold">Billing History</h2>
@@ -183,12 +188,12 @@
</p>
<a href="/contact" class="btn btn-outline w-full">Provide Feedback</a>
</section>
</div>
<form method="post" action="?/delete" use:enhance={handleAccountDeletion}>
<div>
<button class="button block" disabled={loading}>Delete My Account</button>
</div>
</form>
<form method="post" action="?/delete" use:enhance={handleAccountDeletion}>
<div>
<button class="btn btn-error w-full" disabled={loading}>Delete My Account</button>
</div>
</form>
</div>
</div>
</div>