mmwut
ci/woodpecker/push/woodpecker Pipeline was successful
Podrobnosti
ci/woodpecker/push/woodpecker Pipeline was successful
Podrobnosti
This commit is contained in:
rodič
88b64d52dc
revize
df1bafbcaa
|
@ -0,0 +1,38 @@
|
|||
[
|
||||
{
|
||||
"id": "1",
|
||||
"name": "Hackathon Registration Opens",
|
||||
"desciption": "Gate opens! Register and do your part for a privacy and security",
|
||||
"speakers": [""],
|
||||
"datetime": "Fri, 11 Nov 2022 14:00:00 GMT",
|
||||
"stage": "",
|
||||
"eventtype": "Key"
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
"name": "How to build censorship resistant web",
|
||||
"desciption": "This web is super hard to take down. We doubt that any government would try, despite our growing popularity. But even if they do, they will fail. Learn why, what option you have and build a similar web with Adam.",
|
||||
"speakers": ["Adam Sobotka", "TheoDD"],
|
||||
"datetime": "Sat, 12 Nov 2022 14:00:00 GMT",
|
||||
"stage": "Atrium",
|
||||
"eventtype": "Workshop"
|
||||
},
|
||||
{
|
||||
"id": "3",
|
||||
"name": "Lunarpunk infrastructure",
|
||||
"desciption": "Introducing smart contract infrastructure for the Dark Forest",
|
||||
"speakers": ["Rachel Rose O'Leary"],
|
||||
"datetime": "Sat, 12 Nov 2022 16:00:00 GMT",
|
||||
"stage": "Atrium",
|
||||
"eventtype": "Talk"
|
||||
},
|
||||
{
|
||||
"id": "4",
|
||||
"name": "Using AI with ZKP",
|
||||
"desciption": "How to utilize machine learning with ZKP to preserve privacy",
|
||||
"speakers": ["DCBuild3r"],
|
||||
"datetime": "Sun, 13 Nov 2022 10:00:00 GMT",
|
||||
"stage": "Atrium",
|
||||
"eventtype": "Talk"
|
||||
}
|
||||
]
|
|
@ -22,6 +22,7 @@
|
|||
.filter((c) => data.type === 'all' || c.roles.includes(data.typeConfig.role))
|
||||
.sort((a, b) => 0.5 - Math.random())
|
||||
.map(wrapContributor);
|
||||
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
/** @type {import('./$types').PageLoad} */
|
||||
|
||||
import events from '$lib/events.json';
|
||||
export const prerender = true;
|
||||
|
||||
export async function load() {
|
||||
return { events };
|
||||
}
|
|
@ -1,3 +1,15 @@
|
|||
<script>
|
||||
export let data;
|
||||
//const selected = new Date().getDay();
|
||||
let selectedDay = 6;
|
||||
$: filteredEvents = data.events.filter((e) => {
|
||||
console.log(new Date(e.datetime).getDay(), selectedDay);
|
||||
//new Date(e.datetime).getDay() === selected;
|
||||
true;
|
||||
});
|
||||
//console.log(filteredEvents);
|
||||
</script>
|
||||
|
||||
<section
|
||||
class="text-white body-font bg-black px-2 py-6 md:py-12 flex justify-center flex-row overflow-x-scroll flex-wrap text-sm md:text-base"
|
||||
>
|
||||
|
@ -20,88 +32,47 @@
|
|||
|
||||
<section class="text-white bg-black body-font overflow-hidden">
|
||||
<div class="container px-5 py-24 mx-auto">
|
||||
<div class="-my-8 divide-y-2 divide-gray-800">
|
||||
<div class="py-8 flex flex-wrap md:flex-nowrap">
|
||||
<div class="md:w-64 md:mb-0 mb-6 flex-shrink-0 flex flex-col">
|
||||
<span class="font-semibold title-font text-white">3pm-4pm</span>
|
||||
<a href="/venues" class="mt-1 text-white text-sm mb-1 hover:underline">🞋 Atrium</a>
|
||||
<span class="mt-1 text-gray-500 text-sm">WORKSHOP</span>
|
||||
|
||||
</div>
|
||||
<div class="md:flex-grow">
|
||||
<h2 class="text-2xl font-medium text-white title-font mb-2">
|
||||
How to build censorship resistant web
|
||||
</h2>
|
||||
<p class="leading-relaxed">
|
||||
This web is super hard to take down. We doubt that any government would try, despite our
|
||||
growing popularity. But even if they do, they will fail. Learn why, what option you have
|
||||
and build a similar web with Adam.
|
||||
</p>
|
||||
<div class="col-start-2 row-start-1 row-end-3 mt-4 lg:mt-0 xl:mt-4">
|
||||
<dt class="sr-only">Users</dt>
|
||||
<dd
|
||||
class="flex justify-start -space-x-1.5"
|
||||
>
|
||||
<img
|
||||
src="/photos/contributors/adam.jpg"
|
||||
alt="Adam"
|
||||
class="w-6 h-6 rounded-full bg-slate-100 ring-2 ring-white grayscale"
|
||||
loading="lazy"
|
||||
/>
|
||||
<img
|
||||
src="/photos/contributors/anett.jpg"
|
||||
alt="Adam"
|
||||
class="w-6 h-6 rounded-full bg-slate-100 ring-2 ring-white grayscale"
|
||||
loading="lazy"
|
||||
/>
|
||||
<p class="pl-6">
|
||||
<a href="/contributors">Adam Sobotka</a> +
|
||||
<a href="/contributors">Anett Rolikova</a>
|
||||
</p>
|
||||
</dd>
|
||||
{#each filteredEvents as evt}
|
||||
<div class="-my-8 divide-y-2 divide-gray-800">
|
||||
<div class="py-8 flex flex-wrap md:flex-nowrap">
|
||||
<div class="md:w-64 md:mb-0 mb-6 flex-shrink-0 flex flex-col">
|
||||
<span class="font-semibold title-font text-white">3pm-4pm</span>
|
||||
<a href="/venues" class="mt-1 text-white text-sm mb-1 hover:underline">🞋 Atrium</a>
|
||||
<span class="mt-1 text-gray-500 text-sm">WORKSHOP</span>
|
||||
</div>
|
||||
</div>
|
||||
</div><div class="py-8 flex flex-wrap md:flex-nowrap">
|
||||
<div class="md:w-64 md:mb-0 mb-6 flex-shrink-0 flex flex-col">
|
||||
<span class="font-semibold title-font text-white">3pm-4pm</span>
|
||||
<a href="/venues" class="mt-1 text-white text-sm mb-1 hover:underline">🞋 Atrium</a>
|
||||
<span class="mt-1 text-gray-500 text-sm">WORKSHOP</span>
|
||||
|
||||
</div>
|
||||
<div class="md:flex-grow">
|
||||
<h2 class="text-2xl font-medium text-white title-font mb-2">
|
||||
How to build censorship resistant web
|
||||
</h2>
|
||||
<p class="leading-relaxed">
|
||||
This web is super hard to take down. We doubt that any government would try, despite our
|
||||
growing popularity. But even if they do, they will fail. Learn why, what option you have
|
||||
and build a similar web with Adam.
|
||||
</p>
|
||||
<div class="col-start-2 row-start-1 row-end-3 mt-4 lg:mt-0 xl:mt-4">
|
||||
<dt class="sr-only">Users</dt>
|
||||
<dd
|
||||
class="flex justify-start -space-x-1.5"
|
||||
>
|
||||
<img
|
||||
src="/photos/contributors/adam.jpg"
|
||||
alt="Adam"
|
||||
class="w-6 h-6 rounded-full bg-slate-100 ring-2 ring-white grayscale"
|
||||
loading="lazy"
|
||||
/>
|
||||
<img
|
||||
src="/photos/contributors/anett.jpg"
|
||||
alt="Adam"
|
||||
class="w-6 h-6 rounded-full bg-slate-100 ring-2 ring-white grayscale"
|
||||
loading="lazy"
|
||||
/>
|
||||
<p class="pl-6">
|
||||
<a href="/contributors">Adam Sobotka</a> +
|
||||
<a href="/contributors">Anett Rolikova</a>
|
||||
</p>
|
||||
</dd>
|
||||
<div class="md:flex-grow">
|
||||
<h2 class="text-2xl font-medium text-white title-font mb-2">
|
||||
How to build censorship resistant web
|
||||
</h2>
|
||||
<p class="leading-relaxed">
|
||||
This web is super hard to take down. We doubt that any government would try, despite
|
||||
our growing popularity. But even if they do, they will fail. Learn why, what option
|
||||
you have and build a similar web with Adam.
|
||||
</p>
|
||||
<div class="col-start-2 row-start-1 row-end-3 mt-4 lg:mt-0 xl:mt-4">
|
||||
<dt class="sr-only">Users</dt>
|
||||
<dd class="flex justify-start -space-x-1.5">
|
||||
<img
|
||||
src="/photos/contributors/adam.jpg"
|
||||
alt="Adam"
|
||||
class="w-6 h-6 rounded-full bg-slate-100 ring-2 ring-white grayscale"
|
||||
loading="lazy"
|
||||
/>
|
||||
<img
|
||||
src="/photos/contributors/anett.jpg"
|
||||
alt="Adam"
|
||||
class="w-6 h-6 rounded-full bg-slate-100 ring-2 ring-white grayscale"
|
||||
loading="lazy"
|
||||
/>
|
||||
<p class="pl-6">
|
||||
<a href="/contributors">Adam Sobotka</a> +
|
||||
<a href="/contributors">Anett Rolikova</a>
|
||||
</p>
|
||||
</dd>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/each}
|
||||
</div>
|
||||
</section>
|
||||
|
|
Načítá se…
Odkázat v novém úkolu