aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/launch/ticket/+page.svelte
blob: 2585c57cb7d78e72144143fcea3b0e10608daea0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<script>
	export let data;
	let { ticket } = data;
</script>

<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">
		<h1 class="mb-4 text-4xl font-bold leading-none tracking-tight text-gray-800 text-center">
			Your Ticket
		</h1>

		<img
			src={`/tickets/${(ticket + 1).toString().padStart(2, '0')}.png`}
			class="w-full max-w-[800px]"
			alt="Ticket"
		/>

		<div class="w-full flex">
			<a href="/" class="mx-auto">
				<button
					class="bg-black text-white border rounded-full px-8 py-4 font-bold hover:opacity-80 text-2xl"
				>
					Done
				</button>
			</a>
		</div>
	</div>
</div>