add partner and speakers

This commit is contained in:
tree🌴 2023-05-12 19:21:11 +02:00
parent 70f04ead47
commit 68769325d8
6 changed files with 66 additions and 24 deletions

View File

@ -32,11 +32,15 @@
<div class="pb-4 px-4"> <div class="pb-4 px-4">
<div class="mt-4 speaker-name animate-speaker font-mono2">{item.name.toUpperCase()}</div> <div class="mt-4 speaker-name animate-speaker font-mono2">{item.name.toUpperCase()}</div>
<div class="text-mild"> <div class="text-mild">
{#if item.twitter}
<a <a
href={twitterLink(item.twitter)} href={twitterLink(item.twitter)}
class="hover:underline animate-speaker" class="hover:underline animate-speaker"
target="_blank">@{item.twitter}</a target="_blank">@{item.twitter}</a
> >
{:else if item.link}
<a href={item.link} class="hover:underline animate-speaker" target="_blank">{item.linkText || "link"}</a>
{/if}
</div> </div>
{#if item.caption} {#if item.caption}
<div class="mt-2 text-sm text-supermild markdown-basic"> <div class="mt-2 text-sm text-supermild markdown-basic">

View File

@ -191,6 +191,19 @@ people:
caption: | caption: |
Summoner of [IranUnchained](https://www.iranunchained.com/), [Privacy Pools](https://www.privacypools.com/), [MolochDAO](https://molochdao.com/) Summoner of [IranUnchained](https://www.iranunchained.com/), [Privacy Pools](https://www.privacypools.com/), [MolochDAO](https://molochdao.com/)
country: us country: us
- id: alex-kampa
name: Alex Kampa
img: alex-kampa.jpg
link: https://lu.linkedin.com/in/alex-kampa
linkText: "@alex-kampa"
caption: |
Director at [Aragon ZK Research](https://research.aragon.org/)
- id: antoni-zolciak
name: Antoni Zolciak
img: antoni-zolciak.jpg
twitter: AntoniZolciak
caption: |
Co-founder of [Aleph Zero](https://alephzero.org/) & [Cardinal](https://cardinal.co/)
hosts: hosts:
- mykola - mykola
#- tree #- tree
@ -200,13 +213,27 @@ speakers:
- ameen-soleimani - ameen-soleimani
- guy-zyskind - guy-zyskind
- max-hampshire - max-hampshire
- antoni-zolciak
- alex-kampa
- mario-havel - mario-havel
- manu-alzuru - manu-alzuru
- nick-almond - nick-almond
- juraj-bednar - juraj-bednar
- dcbuilder - dcbuilder
- alona-shevchenko - alona-shevchenko
partnerLevels:
- key: 2
name: Sponsors
- key: null
name: Media partners
partners: partners:
- id: aragon-zk-research
name: Aragon ZK Research
web: https://research.aragon.org/
twitter: aragon_zk
img: aragon-zk-research.svg
padding: 4
level: 2
- id: lunardao - id: lunardao
name: LunarDAO name: LunarDAO
web: https://lunardao.net web: https://lunardao.net

View File

@ -63,10 +63,12 @@
</div> </div>
<div class="" id="sponsors"> <div class="" id="sponsors">
<div class="middle-pane-medium pt-16 mx-auto pb-32"> <div class="middle-pane-medium pt-16 mx-auto pb-24">
<div class="section-header" on:mouseenter={animateText}>Partners</div> <div class="section-header" on:mouseenter={animateText}>Partners</div>
<div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-2 mb-12"> {#each data.config.partnerLevels as level}
{#each data.config.partners as partner} <div class="lowercase pb-6 text-xl font-mono2">{level.name}</div>
<div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-2 mb-6">
{#each data.config.partners.filter(p => p.level == level.key) as partner}
<div class="partner-item text-center items-center p-2" on:mouseenter={animateSection(40)}> <div class="partner-item text-center items-center p-2" on:mouseenter={animateSection(40)}>
<div> <div>
<a href={partner.web} <a href={partner.web}
@ -91,7 +93,8 @@
</div> </div>
{/each} {/each}
</div> </div>
<div> {/each}
<div class="mt-10">
<a href={data.config.sponsorUrl} <a href={data.config.sponsorUrl}
><button class="button text-lg" on:mouseenter={animateText}>Become a partner</button></a ><button class="button text-lg" on:mouseenter={animateText}>Become a partner</button></a
> >

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB