aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/launch/purchase/+page.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-10-13 22:03:43 -0700
committerAdam Soltys <[email protected]>2022-10-13 22:03:43 -0700
commitbd7b87e122b6eedd02b0973319f6e70d851706fb (patch)
tree8c533e58fbf150046d3c8789a0dc8d47bd168b01 /src/routes/launch/purchase/+page.svelte
parent9d0f05923bbd23cc314dd4746c6a820bab2c8f7e (diff)
downloadcoinos-ui-bd7b87e122b6eedd02b0973319f6e70d851706fb.tar.gz
coinos-ui-bd7b87e122b6eedd02b0973319f6e70d851706fb.zip
ticket page
Diffstat (limited to 'src/routes/launch/purchase/+page.svelte')
-rw-r--r--src/routes/launch/purchase/+page.svelte11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/routes/launch/purchase/+page.svelte b/src/routes/launch/purchase/+page.svelte
index b00b6baf..ecec51df 100644
--- a/src/routes/launch/purchase/+page.svelte
+++ b/src/routes/launch/purchase/+page.svelte
@@ -33,17 +33,20 @@
// if (balance < amount) throw redirect(307, `/${username}/fund/${amount - balance}`);
</script>
-<div class="mx-auto h-screen flex items-center justify-center px-8">
- <div class="p-4 font-normal text-gray-800 mx-auto mb-8 space-y-5">
+<div class="mx-auto h-screen flex items-center justify-center px-4">
+ <div class="font-normal text-gray-800 mx-auto mb-8 space-y-8">
{#if balance > amount}
<h1 class="mb-4 text-4xl font-bold leading-none tracking-tight text-gray-800 text-center">
Confirm Purchase
</h1>
- <img src={`/tickets/${(ticket + 1).toString().padStart(2, '0')}.png`} class="my-8" />
+ <img
+ src={`/tickets/${(ticket + 1).toString().padStart(2, '0')}.png`}
+ class="w-full max-w-[800px]"
+ />
<form method="POST" use:enhance>
- <input type="hidden" name="ticket" value={ticket} />
+ <input type="hidden" name="ticket" value={ticket} />
<div class="w-full flex">
<button
class="bg-black text-white border rounded-full px-8 py-4 font-bold hover:opacity-80 mx-auto text-2xl"