aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/locales/en.json2
-rw-r--r--src/routes/launch/thanks/[asset]/+page.svelte9
-rw-r--r--src/routes/launch/ticket/+page.server.js3
-rw-r--r--src/routes/launch/ticket/+page.svelte9
4 files changed, 12 insertions, 11 deletions
diff --git a/src/locales/en.json b/src/locales/en.json
index a6c94b58..ad87ed7f 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -152,7 +152,7 @@
"settings": "Settings",
"support": "Support"
},
- "newSiteHeader": "Welcome to the <a href=\"/news\" class=\"underline underline-offset-4 text-black hover:opacity-80\" >new and improved coinos</a>, focused on merchant adoption! Looking for the old coinos? Visit <a href=\"https://classic.coinos.io\" class=\"underline underline-offset-4 text-black hover:opacity-80\">classic.coinos.io</a>.",
+ "newSiteHeader": "Join us at our <a href=\"/launch\" class=\"underline underline-offset-4 text-black hover:opacity-80\">launch party</a> in Vancouver on October 6! Looking for the old coinos? Visit <a href=\"https://classic.coinos.io\" class=\"underline underline-offset-4 text-black hover:opacity-80\">classic.coinos.io</a>",
"news": {
"header": "News",
"subheader": "Latest Updates",
diff --git a/src/routes/launch/thanks/[asset]/+page.svelte b/src/routes/launch/thanks/[asset]/+page.svelte
index 4f0ec3bb..43f10057 100644
--- a/src/routes/launch/thanks/[asset]/+page.svelte
+++ b/src/routes/launch/thanks/[asset]/+page.svelte
@@ -15,17 +15,10 @@
</h1>
<p>We look forward to seeing you!</p>
-
- <p>
- We've minted your ticket as an <a
- href={`https://blockstream.info/liquid/asset/${asset}`}
- class="underline">NFT on the Liquid Blockchain</a
- > as a proof of purchase and commemorative token.
- </p>
</div>
<div class="w-full flex">
- <a href={`/${user.username}/dashboard`} class="mx-auto">
+ <a href="/launch/ticket" class="mx-auto">
<button
class="bg-black text-white border rounded-full px-8 py-4 font-bold hover:opacity-80 text-2xl"
>
diff --git a/src/routes/launch/ticket/+page.server.js b/src/routes/launch/ticket/+page.server.js
index 054a88be..d2b51cfc 100644
--- a/src/routes/launch/ticket/+page.server.js
+++ b/src/routes/launch/ticket/+page.server.js
@@ -4,5 +4,6 @@ export const load = async ({ cookies, parent }) => {
let { user } = await parent();
let tickets = await get('/tickets');
let ticket = tickets.findIndex((t) => user.accounts.find((a) => a.asset === t));
- return { ticket };
+ let asset = tickets[ticket];
+ return { asset, ticket };
};
diff --git a/src/routes/launch/ticket/+page.svelte b/src/routes/launch/ticket/+page.svelte
index 2585c57c..3879abcd 100644
--- a/src/routes/launch/ticket/+page.svelte
+++ b/src/routes/launch/ticket/+page.svelte
@@ -1,6 +1,6 @@
<script>
export let data;
- let { ticket } = data;
+ let { asset, ticket } = data;
</script>
<div class="mx-auto h-screen flex items-center justify-center px-4">
@@ -9,6 +9,13 @@
Your Ticket
</h1>
+ <p>
+ We've minted your ticket as an <a
+ href={`https://blockstream.info/liquid/asset/${asset}`}
+ class="underline">NFT on the Liquid Blockchain</a
+ > as a proof of purchase and commemorative token.
+ </p>
+
<img
src={`/tickets/${(ticket + 1).toString().padStart(2, '0')}.png`}
class="w-full max-w-[800px]"