Merge branch 'main' into test-branch
This commit is contained in:
revize
910da24ed9
|
@ -14,7 +14,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#each arr as item}
|
{#each arr as item}
|
||||||
<div class="{size === "small" ? "p-0.5 lg:p-1" : "p-1 lg:p-1.5"} hover:bg-pbw-yellow/30 {size==="small" ? "rounded-lg" : "rounded-2xl"}">
|
<div class="{size === "small" ? "p-0.5 lg:p-1" : "p-1 lg:p-1.5"} hover:bg-pbw-yellow/20 dark:hover:bg-pbw-white/10 {size==="small" ? "rounded-lg" : "rounded-2xl"}">
|
||||||
{#if item[img]}
|
{#if item[img]}
|
||||||
<div class="w-full relative">
|
<div class="w-full relative">
|
||||||
{#if col === "benefit"}
|
{#if col === "benefit"}
|
||||||
|
@ -31,22 +31,22 @@
|
||||||
<div class="mt-2">
|
<div class="mt-2">
|
||||||
<h3 class=" text-pbw-red"><a href={_url(col, item)} class="hover:underline">{item.shortname || item.name}</a></h3>
|
<h3 class=" text-pbw-red"><a href={_url(col, item)} class="hover:underline">{item.shortname || item.name}</a></h3>
|
||||||
{#if col === "event"}
|
{#if col === "event"}
|
||||||
<div class="text-xl text-gray-500 my-2">
|
<div class="text-xl text-gray-500 dark:text-gray-400 my-2">
|
||||||
<span class="font-bold">{formatItemDate(item)}</span>
|
<span class="font-bold">{formatItemDate(item)}</span>
|
||||||
{#if item.attendees}<br />{item.attendees}+ ppl{/if}
|
{#if item.attendees}<br />{item.attendees}+ ppl{/if}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{#if col === "media-partner"}
|
{#if col === "media-partner"}
|
||||||
<div class="text-base text-gray-500 my-2">{item.description}</div>
|
<div class="text-base text-gray-500 dark:text-gray-400 my-2">{item.description}</div>
|
||||||
{/if}
|
{/if}
|
||||||
{#if col === "speaker"}
|
{#if col === "speaker"}
|
||||||
<div class="text-base text-gray-500 my-2"><SvelteMarkdown source={item.caption} /></div>
|
<div class="text-base text-gray-500 dark:text-gray-400 my-2"><SvelteMarkdown source={item.caption} /></div>
|
||||||
{/if}
|
{/if}
|
||||||
{#if col === "union"}
|
{#if col === "union"}
|
||||||
<div class="text-base text-gray-500 my-2"><SvelteMarkdown source={item.description} /></div>
|
<div class="text-base text-gray-500 dark:text-gray-400 my-2"><SvelteMarkdown source={item.description} /></div>
|
||||||
{/if}
|
{/if}
|
||||||
{#if col === "place"}
|
{#if col === "place"}
|
||||||
<div class="text-xl text-gray-500 my-2">{item.capacity} ppl</div>
|
<div class="text-xl text-gray-500 dark:text-gray-400 my-2">{item.capacity} ppl</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
|
@ -5,15 +5,16 @@
|
||||||
$: homepage = !$page.params.type
|
$: homepage = !$page.params.type
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
{#if homepage}
|
{#if homepage}
|
||||||
<div class="mx-6 xl:mx-0 mb-4">
|
<div class="bg-slate-100 dark:bg-pbw-dark">
|
||||||
<div class="max-w-7xl mx-auto pt-10">
|
<div class="max-w-7xl mx-auto py-20">
|
||||||
<h1 class="text-5xl uppercase font-bold text-pbw-red"><a href="/{$page.params.entry}">Prague Blockchain Week 2023</a></h1>
|
<h1 class="text-5xl uppercase font-bold text-pbw-red"><a href="/{$page.params.entry}">Prague Blockchain Week 2023</a></h1>
|
||||||
<div class="text-4xl text-pbw-yellow">June 2-11, 2023</div>
|
<div class="text-4xl text-pbw-yellow">June 2-11, 2023</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<div class="mb-24">
|
<div class="pb-24 bg-slate-100 dark:bg-pbw-dark">
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
|
@ -54,7 +54,7 @@
|
||||||
<div class="flex flex-wrap md:flex-nowrap w-full">
|
<div class="flex flex-wrap md:flex-nowrap w-full">
|
||||||
</div>
|
</div>
|
||||||
<h2 class="text-2xl uppercase font-bold text-gray-500">{tc.title} ({processedItems.length})</h2>
|
<h2 class="text-2xl uppercase font-bold text-gray-500">{tc.title} ({processedItems.length})</h2>
|
||||||
<div class="text-xl mt-6">
|
<div class="text-xl mt-6 text-gray-500 dark:text-gray-400">
|
||||||
<table class="w-full table-auto">
|
<table class="w-full table-auto">
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="text-left">
|
<tr class="text-left">
|
||||||
|
@ -92,7 +92,7 @@
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{#each processedItems as item}
|
{#each processedItems as item}
|
||||||
<tr class="">
|
<tr class="hover:bg-pbw-yellow/20 dark:hover:bg-pbw-white/10">
|
||||||
{#if type === 'events'}
|
{#if type === 'events'}
|
||||||
<td class="text-right pr-2 md:pr-4 text-base md:text-xl">{formatItemDate(item)}</td>
|
<td class="text-right pr-2 md:pr-4 text-base md:text-xl">{formatItemDate(item)}</td>
|
||||||
<td class="w-12 md:w-14">
|
<td class="w-12 md:w-14">
|
||||||
|
@ -123,11 +123,11 @@
|
||||||
{#if item.venueUrl}
|
{#if item.venueUrl}
|
||||||
<a href={item.venueUrl} class="underline hover:no-underline external">{item.venueName}</a>
|
<a href={item.venueUrl} class="underline hover:no-underline external">{item.venueName}</a>
|
||||||
{:else}
|
{:else}
|
||||||
{#if item.venueName && item.venueName !== "TBA"}{item.venueName}{:else}<span class="opacity-20">TBA</span>{/if}
|
{#if item.venueName && item.venueName !== "TBA"}{item.venueName}{:else}<span class="opacity-50">TBA</span>{/if}
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
</td>
|
</td>
|
||||||
<td class="hidden md:table-cell">{#if item.attendees}{item.attendees}{:else}<span class="opacity-20">TBA</span>{/if}</td>
|
<td class="hidden md:table-cell">{#if item.attendees}{item.attendees}{:else}<span class="opacity-50">TBA</span>{/if}</td>
|
||||||
<td class="hidden md:table-cell">
|
<td class="hidden md:table-cell">
|
||||||
{#if item.languages && item.languages.length > 0}
|
{#if item.languages && item.languages.length > 0}
|
||||||
<div class="flex gap-1">
|
<div class="flex gap-1">
|
||||||
|
@ -201,7 +201,3 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<style>
|
|
||||||
table tbody tr:hover { background-color: #fff5d2; }
|
|
||||||
</style>
|
|
|
@ -27,7 +27,7 @@
|
||||||
<title>{item.name} | #PBW{$page.params.entry}</title>
|
<title>{item.name} | #PBW{$page.params.entry}</title>
|
||||||
</svelte:head>
|
</svelte:head>
|
||||||
|
|
||||||
<div class="w-full">
|
<div class="w-full dark:text-gray-400">
|
||||||
<div class="max-w-7xl mx-auto pt-5 md:pt-10">
|
<div class="max-w-7xl mx-auto pt-5 md:pt-10">
|
||||||
<div class="mx-4 xl:mx-0">
|
<div class="mx-4 xl:mx-0">
|
||||||
<div class="flex gap-8 mb-6 md:mb-10">
|
<div class="flex gap-8 mb-6 md:mb-10">
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
{/if}
|
{/if}
|
||||||
<div class="flex-grow">
|
<div class="flex-grow">
|
||||||
<!--div class="font-normal text opacity-50 mt-4 md:mt-0 mb-1" style="line-height: 0.6em;"><a href="/{entry}/{col}">{col.toUpperCase()}</a></div-->
|
<!--div class="font-normal text opacity-50 mt-4 md:mt-0 mb-1" style="line-height: 0.6em;"><a href="/{entry}/{col}">{col.toUpperCase()}</a></div-->
|
||||||
<h2 class="text-4xl md:text-5xl font-bold text-gray-600 mt-4 md:mt-0">
|
<h2 class="text-4xl md:text-5xl font-bold text-gray-600 dark:text-gray-400 mt-4 md:mt-0">
|
||||||
{item.name}
|
{item.name}
|
||||||
</h2>
|
</h2>
|
||||||
{#if col === 'event'}
|
{#if col === 'event'}
|
||||||
|
|
|
@ -14,9 +14,10 @@ module.exports = {
|
||||||
"red": "#ff1616",
|
"red": "#ff1616",
|
||||||
"yellow": "#ffde59",
|
"yellow": "#ffde59",
|
||||||
"white": "#ffffff",
|
"white": "#ffffff",
|
||||||
|
"dark": "#252525"
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [],
|
plugins: []
|
||||||
};
|
};
|
||||||
|
|
Načítá se…
Odkázat v novém úkolu