Add disclaimer

This commit is contained in:
tree 2023-02-01 12:35:45 +01:00
parent d0824a6a29
commit 6de09a1c13
5 changed files with 24 additions and 1 deletions

View File

@ -0,0 +1,13 @@
<script>
export let type = "events";
</script>
<div class="mt-4 mb-8 text-xl bg-pbw-yellow/20 dark:bg-gray-700 p-4 pbw-text-color-secondary">
{#if type === 'events'}
⚠️ All events published here are independent and have their own organisers. Prague Blockchain Week is an independent initiative that informs about these events.
If you want information about tickets, or to contact the organizers of a specific event - then contact them directly.
{/if}
{#if type === 'speakers'}
⚠️ All these people are guests of the individual events, which have their own organizers and have no direct connection to Prague Blockchain Week.
{/if}
</div>

View File

@ -24,7 +24,7 @@
target="_blank">data.prgblockweek.com/23/index.json</a
>.
<div class="h-4" />
📖 The source data GitHub repository →<a
📖 The source data GitHub repository → <a
href="https://github.com/utxo-foundation/prague-blockchain-week"
class="underline hover:no-underline"
target="_blank">utxo-foundation/prague-blockchain-week</a

View File

@ -1,6 +1,7 @@
<script>
import CollectionList from '$lib/components/CollectionList.svelte';
import TimelineHeatmap from '$lib/components/TimelineHeatmap.svelte';
import Disclaimer from '$lib/components/Disclaimer.svelte';
import Footer from '$lib/components/Footer.svelte';
import { page } from '$app/stores';
@ -49,11 +50,13 @@
<h2 class="text-2xl uppercase font-bold pbw-text-color-secondary">
<a href="/{entry}/events">Conferences & Hackathons</a> ({conferences.length})
</h2>
<Disclaimer />
<div
class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 xl:grid-cols-6 my-6 text-center text-2xl"
>
<CollectionList arr={conferences} img="logo" col="event" {entry} offer={true} />
</div>
<h2 class="text-2xl uppercase font-bold pbw-text-color-secondary">
<a href="/{entry}/events">Other events</a> ({otherEvents.length})
</h2>
@ -65,6 +68,7 @@
<h2 class="text-2xl uppercase font-bold mt-10 pbw-text-color-secondary">
<a href="/{entry}/speakers">Speakers</a> ({data.bundle.speakers.length})
</h2>
<Disclaimer type="speakers" />
<h2 class="text-xl uppercase font-bold mt-10 pbw-text-color-secondary">International 🌎</h2>
<div
class="grid grid-cols-3 sm:grid-cols-3 md:grid-cols-6 xl:grid-cols-8 my-6 text-center text-xl"

View File

@ -12,6 +12,7 @@
import makeBlockie from 'ethereum-blockies-base64';
import TimelineHeatmap from '$lib/components/TimelineHeatmap.svelte';
import ItemLogo from '$lib/components/ItemLogo.svelte';
import Disclaimer from '$lib/components/Disclaimer.svelte';
import { compareAsc, compareDesc, addMinutes } from 'date-fns';
import { writable } from 'svelte/store';
@ -72,6 +73,9 @@
<h2 class="text-2xl uppercase font-bold pbw-text-color-secondary">
{tc.title} ({processedItems.length})
</h2>
{#if ['events', 'speakers'].includes(type)}
<Disclaimer {type} />
{/if}
<div class="text-xl mt-6 pbw-text-color-base">
<table class="w-full table-auto">
<thead>

View File

@ -1,6 +1,7 @@
<script>
import { page } from '$app/stores';
import TimelineHeatmap from '$lib/components/TimelineHeatmap.svelte';
import Disclaimer from '$lib/components/Disclaimer.svelte';
import CalendarList from '$lib/components/CalendarList.svelte';
import Footer from '$lib/components/Footer.svelte';
import Header from '$lib/components/Header.svelte';
@ -61,6 +62,7 @@
<div class="max-w-7xl mx-auto pt-5 md:pt-10">
<div class="mx-4 xl:mx-0">
<TimelineHeatmap {data} highlightDay={$page.params.date} />
<Disclaimer type="events" />
{#each days as day}
<div class="mb-14">
<h2 class="text-3xl md:text-3xl">