From 526095d181f67a5e53bdee8fe3db86878870394d Mon Sep 17 00:00:00 2001 From: tree Date: Mon, 13 Feb 2023 18:10:11 +0100 Subject: [PATCH] Add ticket discount form --- src/app.css | 2 +- src/lib/config.js | 6 ++++++ src/routes/+page.svelte | 9 +++++---- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/app.css b/src/app.css index d9d7dd8..7d1de73 100644 --- a/src/app.css +++ b/src/app.css @@ -1,4 +1,4 @@ -@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap'); +@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono:wght@400;700&display=swap'); @tailwind base; @tailwind components; diff --git a/src/lib/config.js b/src/lib/config.js index a349bd3..b4e23f9 100644 --- a/src/lib/config.js +++ b/src/lib/config.js @@ -39,6 +39,8 @@ tickets: - Coffee breaks - Buffet lunch - Networking drinks with speakers & attendees + hint: | + [Apply for a discount →](https://tally.so/r/mYPDJW)
(as independent developer, student, privacy advocate, open-source contributor..) - title: "#Lunarpunk Party" price: 350 CZK (~15 EUR) includes: @@ -52,6 +54,10 @@ faq: text: Our event is for anyone interested in privacy topics in the Web3 industry. There will be space for about 300 enthusiasts. - title: Will the talks be livestreamed and/or recorded? text: Yes, we plan do both. Livestream of the whole conference and recordings of the lectures will be publicly available. +- title: When will tickets go on sale? What will be the payment options? + text: Tickets will go on sale in early March 2023. Payment will be possible via credit card, Bitcoin (on-chain), Lightning Network or possibly other cryptocurrencies. +- title: All-day access ticket is expensive for me. Do you offer any discounts? + text: Yes, we do! We offer discounts (up to 75%) for independent developers, students and especially active privacy advocates or open-source contributors to private protocols or tools. If you are interested in a discount, please fill out [this form](https://tally.so/r/mYPDJW). - title: How do I get to the venue? text: Venue X10 (full name "[Divadlo X10](https://divadlox10.cz)") is located in the centre of Prague near the metro station *Národní Třída* (Line B) and *Můstek* (Line A,C). The address is [Charvátova 10/39, Prague 1, 110 00](https://goo.gl/maps/Yh8qWagnqB1DvK676) ([Google Maps](https://goo.gl/maps/Yh8qWagnqB1DvK676)). people: diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index d4d8065..973abd8 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -105,12 +105,10 @@
{#each data.config.tickets as tt}
{tt.title}
-
{tt.price}
+
{tt.price}
    {#each tt.includes as ti}
  • {ti}
  • @@ -122,6 +120,9 @@ {#if tt.note}
    {tt.note}
    {/if} + {#if tt.hint} +
    + {/if}
{/each}