mirror of
https://github.com/jcreek/SvelteKitSaasBoilerplate.git
synced 2026-07-12 18:43:50 +00:00
refactor(#54): Move account into (user) and improve button styling
This commit is contained in:
@@ -123,6 +123,11 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</section>
|
</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 -->
|
<!-- Billing History -->
|
||||||
<section class="space-y-4">
|
<section class="space-y-4">
|
||||||
<h2 class="text-xl font-semibold">Billing History</h2>
|
<h2 class="text-xl font-semibold">Billing History</h2>
|
||||||
@@ -183,12 +188,12 @@
|
|||||||
</p>
|
</p>
|
||||||
<a href="/contact" class="btn btn-outline w-full">Provide Feedback</a>
|
<a href="/contact" class="btn btn-outline w-full">Provide Feedback</a>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
|
||||||
|
|
||||||
<form method="post" action="?/delete" use:enhance={handleAccountDeletion}>
|
<form method="post" action="?/delete" use:enhance={handleAccountDeletion}>
|
||||||
<div>
|
<div>
|
||||||
<button class="button block" disabled={loading}>Delete My Account</button>
|
<button class="btn btn-error w-full" disabled={loading}>Delete My Account</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
Reference in New Issue
Block a user