blob: ec649b92a42d63a0353983b1313d72c1d5c2d1f3 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
<script>
import { loginRedirect } from '$lib/store';
import { beforeNavigate } from '$app/navigation';
import { info } from '$lib/utils';
export let data;
let { user, tickets } = data;
$loginRedirect = '/launch/purchase';
let hasTicket = !!user?.accounts.find((a) => tickets.includes(a.asset));
$: link = hasTicket ? '/launch/ticket' : user ? $loginRedirect : '/register';
$: text = (hasTicket ? 'View' : 'Purchase') + ' Ticket';
beforeNavigate(({ to }) => {
if (to?.routeId === 'register') info('Please sign in so we can get you a ticket');
});
</script>
<div class="mx-auto flex items-center justify-center px-8 mt-20">
<div class="flex flex-col w-full bg-white rounded shadow-lg sm:w-3/4 lg:w-3/5">
<div class="flex flex-col w-full md:flex-row">
<div
class="flex flex-row justify-around p-4 font-bold leading-none text-gray-800 uppercase bg-gray-400 rounded md:flex-col md:items-center md:justify-center md:w-1/4"
>
<div class="md:text-3xl">Oct</div>
<div class="md:text-6xl">26</div>
<div class="md:text-xl">6 pm</div>
</div>
<div class="p-4 font-normal text-gray-800 md:w-3/4 space-y-5">
<h1 class="mb-4 text-4xl font-bold leading-none tracking-tight text-gray-800">
Coinos Launch Party!
</h1>
<p class="leading-normal mb-2">
Come join us at our launch party celebrating our new design and 10 years since our <a
href="https://github.com/coinos/coinos-server/commit/b25d11b"
class="underline"
target="_blank"
rel="noreferrer">first commit</a
>!
</p>
<div class="flex">
<div class="space-y-5">
<div class="ml-8">
<p><b>When</b></p>
<p>6pm October 26</p>
</div>
<div class="ml-8">
<p><b>Where</b></p>
<p>The Loft Lounge</p>
<p>1184 Denman Street, #203</p>
<p>Vancouver, BC</p>
</div>
</div>
<img src="/icons/party.svg" alt="Partygoers" class="w-[120px] mx-auto" />
</div>
<p>
We'll introduce our new interface for merchants to take bitcoin payments, discuss how we
can get all of Metro Vancouver on a bitcoin economy, and enjoy tasty food and drinks from <a
href="https://loftondenman.com/"
class="underline">The Loft</a
>!
</p>
<p>
We're asking for a nominal $6 entry fee so we can get an idea of how much space to
reserve.
</p>
<div class="flex w-full my-8">
<a href={link} class="mx-auto">
<button
class="bg-white text-black border rounded-full px-8 py-4 font-bold hover:opacity-80 text-2xl"
>
{text}
</button>
</a>
</div>
</div>
</div>
</div>
</div>
|