From 91eedce35ffc320293ed10c528c11f28396bd51f Mon Sep 17 00:00:00 2001 From: tree Date: Tue, 21 Feb 2023 17:36:29 +0100 Subject: [PATCH] Update tickets section --- src/lib/config.yaml | 12 +++++++----- src/routes/+layout.svelte | 12 +++++++----- src/routes/+page.svelte | 25 +++++++++++++++++-------- 3 files changed, 31 insertions(+), 18 deletions(-) diff --git a/src/lib/config.yaml b/src/lib/config.yaml index 469b591..bb7d248 100644 --- a/src/lib/config.yaml +++ b/src/lib/config.yaml @@ -51,19 +51,21 @@ themes: - title: Veksl desc: Easy onboarding to cryptocurrencies without KYC/AML using peer-to-peer tools is crucial for privacy. What options do we have today? ticketsIntro: Be a part of the first Web3Privacy Summit experience… -ticketsNote: Tickets will go on sale in early March 2023. +ticketsNote: Tickets will go on sale in late February 2023. +ticketing: false +ticketingUrl: https://tickets.web3privacy.info/w3ps1/ tickets: - title: All-day Access - price: 2350 CZK (~99 EUR) + price: €99 includes: - All talks & panels - 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..) + [Apply for a discount →](https://attend.web3privacy.info)
(as independent developer, student, privacy advocate, open-source contributor..) - title: "#Lunarpunk Party" - price: 350 CZK (~15 EUR) + price: €15 includes: - 8pm - morning - Prague rave from top DJs @@ -84,7 +86,7 @@ faq: - 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). + 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://attend.web3privacy.info). - title: Why event isn't admission free? text: We would like to have most of the cost of the event covered by admission fees directly from visitors. We want to be independent of sponsors and reduce the pressure to make it a "sales" or marketing event. - title: How do I get to the venue? diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index aa61e49..93299da 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -16,8 +16,9 @@ { title: 'Speakers', url: '#speakers' }, { title: 'Program', url: '#program' }, { title: 'Sponsors', url: '#sponsors' }, - { title: 'FAQ', url: '#faq' }, { title: 'Ticket', url: '#ticket', class: 'button' }, + { title: 'FAQ', url: '#faq' }, + { title: 'Chat', url: 'https://chat.web3privacy.info', external: true }, ]; const homepageAnimation = () => { @@ -36,6 +37,7 @@ } const arr = [] for (const mi of menu) { + if (mi.external) continue; const el = document.getElementById(mi.title.toLowerCase()) const pos = el.getBoundingClientRect() //console.log(mi.title, pos.top, pos.bottom) @@ -66,13 +68,13 @@ -
+
- {data.config.parent} + {data.config.parent}
@@ -80,7 +82,7 @@ {#each menu.filter(i => !i.hidden) as mi} @@ -142,7 +144,7 @@ /> - + @{data.config.twitter}
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 98390fc..01a4e68 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -2,6 +2,7 @@ import SvelteMarkdown from 'svelte-markdown'; import PeopleList from '$lib/components/PeopleList.svelte'; import { animateText } from '$lib/helpers'; + import { goto } from '$app/navigation'; export let data; @@ -103,7 +104,7 @@
Sponsors
-
{data.config.ticketsNote}
+ {#if data.config.ticketing} + + {/if} + {#if data.config.ticketsNote} +
{data.config.ticketsNote}
+ {/if}