diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/locales/en.json | 2 | ||||
| -rw-r--r-- | src/routes/launch/+page.svelte | 43 | ||||
| -rw-r--r-- | src/routes/scan/+page.svelte | 2 |
3 files changed, 33 insertions, 14 deletions
diff --git a/src/locales/en.json b/src/locales/en.json index ad87ed7f..60cd1b0e 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -152,7 +152,7 @@ "settings": "Settings", "support": "Support" }, - "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>", + "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 26! 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/+page.svelte b/src/routes/launch/+page.svelte index 1110e86e..6faf492d 100644 --- a/src/routes/launch/+page.svelte +++ b/src/routes/launch/+page.svelte @@ -1,7 +1,12 @@ <script> + import { LandingHeader } from '$comp'; import { loginRedirect } from '$lib/store'; import { beforeNavigate } from '$app/navigation'; import { info } from '$lib/utils'; + import { Icon } from '$comp'; + import { t } from '$lib/translations'; + import { goto } from '$app/navigation'; + import { scroll } from '$lib/utils'; export let data; let { user, tickets } = data; @@ -14,8 +19,25 @@ beforeNavigate(({ to }) => { if (to?.routeId === 'register') info('Please sign in so we can get you a ticket'); }); + + let showMobileMenu = false; + const mobileMenuButtonClick = (section) => { + showMobileMenu = false; + scroll(section); + }; </script> +<header class="w-full lg:w-5/6 py-5 mx-auto fixed md:sticky z-10 top-0 bg-white/90"> + <nav class="block xl:flex flex-wrap justify-between items-center"> + <div class="flex justify-start md:justify-center items-center md:space-x-10"> + <a href="/" class="hidden md:block"> + <Icon icon="logo" style="mb-5 xl:mb-0" /> + </a> + <Icon icon="logo" style="block md:hidden ml-5 w-48" /> + </div> + </nav> +</header> + <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"> @@ -28,16 +50,12 @@ </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! + 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 - >! + Come join us at our launch party celebrating our new design and 10 years serving the + Vancouver Bitcoin community! </p> <div class="flex"> @@ -58,15 +76,16 @@ </div> <p> - We'll introduce our new interface, discuss how we can get Vancouver on bitcoin, and enjoy - tasty food and drinks from <a href="https://loftondenman.com/" class="underline" - >The Loft</a + We'll introduce our new interface and then network 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. + The Loft will be accepting Lightning payments at the event and going forward into the + future as well! We're charging $6 for for an NFT ticket that gets you entry, appies, and the + chance to win some swag and sats. </p> <div class="flex w-full my-8"> diff --git a/src/routes/scan/+page.svelte b/src/routes/scan/+page.svelte index 1c14cb6d..dc6e291d 100644 --- a/src/routes/scan/+page.svelte +++ b/src/routes/scan/+page.svelte @@ -7,7 +7,7 @@ let scanner, vid; onMount(() => { - scanner = new QrScanner(vid, (text) => goto(`/send/${text}`)); + scanner = new QrScanner(vid, (text) => goto(`/send/${text}`), { highlightScanRegion: true, highlightCodeOutline: true }); scanner.start(); }); |
