Minor updates.

This commit is contained in:
NoobDeveloper412 2024-09-24 17:07:20 +05:00
parent e0bc306397
commit 58c08ed410
16 changed files with 124 additions and 9 deletions

BIN
public/speakers/ahmed.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

BIN
public/speakers/ameen.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

BIN
public/speakers/guy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

BIN
public/speakers/image-8.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

BIN
public/speakers/image-9.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

BIN
public/speakers/jaromil.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

BIN
public/speakers/paul.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

View file

@ -92,8 +92,8 @@ const sortedSections = sectionsConfig
<h1 class="my-6 glitch-text ">Speakers</h1>
<SpeakerGrid
people={core.people}
team={core.teams["core-team"]}
core={false}
team={core.teams["speakers"]}
core={true}
/>
</div>
)}

View file

@ -35,11 +35,11 @@ function personLink(person) {
<div
class={`partner-item ${core ? "person-item" : ""} text-center items-center p-2`}
>
<a href={personLink(person)}>
<a href={personLink(person)} class={`${core ? "person-item" : ""}`}>
<img
src={person.imageUrl}
alt={person.name}
class="partner-img h-24 md:h-48 aspect-[16/11] w-full h-full object-contain p-0 "
class="partner-img h-24 md:h-48 aspect-[16/11] w-full h-full object-contain p-0 "
/>
</a>
<div class="p-2 partner-text">

View file

@ -2,9 +2,7 @@
const { people, team, core } = Astro.props;
// Filter based on the `core` parameter
const members = core
? people.filter((p) => team.includes(p.id)) // If `core` is true, filter for team members
: people.filter((p) => !team.includes(p.id)); // If `core` is false or undefined, filter for non-team members
const members = team
const filteredPeople = members.filter((p) => p.imageUrl).slice(0, 12);
@ -19,6 +17,8 @@ function personLink(person) {
return `https://github.com/${person.refs.github}`;
} else if (person.refs?.matrix) {
return `https://matrix.to/#/${person.refs.matrix}`;
} else if (person.refs?.designation) {
return `${person.refs.designation}`;
} else if (person.refs?.email) {
return `mailto:${person.refs.email}`;
} else {
@ -28,7 +28,7 @@ function personLink(person) {
---
<div
class="grid grid-cols-3 lg:grid-cols-4 xl:grid-cols-6 md:gap-4 place-items-start"
class="grid grid-cols-3 lg:grid-cols-4 xl:grid-cols-6 place-items-start"
>
{
filteredPeople.map((person) => (
@ -43,16 +43,21 @@ function personLink(person) {
/>
</a>
<div class="mt-4">
<h3 class="text-xs md:text-lg font-bold leading-6">{person.name}</h3>
<h3 class="text-xs md:text-[16px] font-bold leading-9">{person.name}</h3>
{person.refs && (
<p class="text-xs text-gray-500">
{person.refs.twitter && `@${person.refs.twitter}`}
{person.refs.email && ` | Email: ${person.refs.email}`}
{person.refs.bsky && ` | bsky: ${person.refs.bsky}`}
{person.refs.linkedin && ` | LinkedIn: ${person.refs.linkedin}`}
{person.refs.github && ` | GitHub: ${person.refs.github}`}
{person.refs.matrix && ` | Matrix: ${person.refs.matrix}`}
{person.refs.email && ` | Email: ${person.refs.email}`}
</p>
<p class="text-xs text-gray-500">
{person.refs.designation && `${person.refs.designation}`}
</p>
)}
</div>
</div>

View file

@ -212,6 +212,116 @@
"twitter": "ShieldingSummit"
}
}
],
"speakers": [
{
"name": "DAVID CHAUM",
"imageUrl": "/speakers/davidchaum.png",
"refs": {
"website": "https://hoprnet.org/",
"twitter": "hoprnet",
"designation": "Founder of Secret Network, CEO, SCRT Labs"
}
},
{
"name": "TOR EKELAND",
"imageUrl": "/speakers/torekeland.png",
"refs": {
"website": "https://hoprnet.org/",
"twitter": "hoprnet",
"designation": "Founder of Secret Network, CEO, SCRT Labs"
}
},
{
"name": "MICHAEL BAUWENS",
"imageUrl": "/speakers/michaelbauwens.png",
"refs": {
"website": "https://hoprnet.org/",
"twitter": "hoprnet",
"designation": "Founder of Secret Network, CEO, SCRT Labs"
}
},
{
"name": "VITALIK BUTERIN",
"imageUrl": "/speakers/vitalikbuterin.png",
"refs": {
"website": "https://hoprnet.org/",
"twitter": "hoprnet",
"designation": "Founder of Secret Network, CEO, SCRT Labs"
}
},
{
"name": "PAUL DYLAN-ENNIS",
"imageUrl": "/speakers/paul.png",
"refs": {
"website": "https://hoprnet.org/",
"twitter": "hoprnet",
"designation": "Founder of Secret Network, CEO, SCRT Labs"
}
},
{
"name": "JAROMIL",
"imageUrl": "/speakers/jaromil.png",
"refs": {
"website": "https://hoprnet.org/",
"twitter": "hoprnet",
"designation": "Founder of Secret Network, CEO, SCRT Labs"
}
},
{
"name": "AMEEN",
"imageUrl": "/speakers/ameen.png",
"refs": {
"website": "https://hoprnet.org/",
"twitter": "hoprnet",
"designation": "Founder of Secret Network, CEO, SCRT Labs"
}
},
{
"name": "AHMED",
"imageUrl": "/speakers/ahmed.png",
"refs": {
"website": "https://hoprnet.org/",
"twitter": "hoprnet",
"designation": "Founder of Secret Network, CEO, SCRT Labs"
}
},
{
"name": "SCOTT MOORE",
"imageUrl": "/speakers/scottmoore.png",
"refs": {
"website": "https://hoprnet.org/",
"twitter": "hoprnet",
"designation": "Founder of Secret Network, CEO, SCRT Labs"
}
},
{
"name": "GUY ZYSKIND",
"imageUrl": "/speakers/guy.png",
"refs": {
"website": "https://hoprnet.org/",
"twitter": "hoprnet",
"designation": "Founder of Secret Network, CEO, SCRT Labs"
}
},
{
"name": "GUY ZYSKIND",
"imageUrl": "/speakers/guy.png",
"refs": {
"website": "https://hoprnet.org/",
"twitter": "hoprnet",
"designation": "Founder of Secret Network, CEO, SCRT Labs"
}
},
{
"name": "GUY ZYSKIND",
"imageUrl": "/speakers/guy.png",
"refs": {
"website": "https://hoprnet.org/",
"twitter": "hoprnet",
"designation": "Founder of Secret Network, CEO, SCRT Labs"
}
}
]
},
"research": [