Completed with the testimonials.

This commit is contained in:
NoobDeveloper412 2024-09-25 20:25:54 +05:00
parent 7d1cec8b92
commit 3819b98709
15 changed files with 86 additions and 97 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View file

@ -148,7 +148,7 @@ const sortedSections = sectionsConfig
{section.name === "membersGrid" && (
<div class="mx-4 mt-16">
<h1 class="my-6 middle-pane-medium glitch-text">Members</h1>
<div class="middle-pane-big">
<div class="middle-pane-medium">
<MembersGrid people={core.people} team={core.teams["members"]} core={false} />
</div>
</div>

View file

@ -1,6 +1,4 @@
---
import core from "../core.json";
const testimonials = [
{
id: "jaromil",
@ -8,7 +6,7 @@ const testimonials = [
designation: "Hacktivist, Founder & Director at Dyne.org Foundation",
reviewText:
"Privacy-by-design is the best way to approach the web3 frontier and develop something that empowers people and builds the critical mass for its sustainability. Web3Privacy Now focuses on the best possible goals for crypto developments: privacy, independence and decentralisation.",
imageUrl: null,
imageUrl: "/testimonials/jaromil.jpg",
},
{
id: "hackguru",
@ -16,7 +14,8 @@ const testimonials = [
designation: "Developer Relation at Waku",
reviewText:
"They have been organising amazing pro-privacy initiatives. Been a big fan and excited to continue contributing to this amazing community : )",
imageUrl: null,
imageUrl: "/testimonials/hack-guru.jpg",
},
{
id: "lunar-dao",
@ -24,7 +23,7 @@ const testimonials = [
designation: null,
reviewText:
"A catalyst leading a brilliant charge into privacy content for the web3 ecosystem.",
imageUrl: null,
imageUrl: "/testimonials/lunar-dao.jpg",
},
{
id: "amit-chaudhary",
@ -32,7 +31,7 @@ const testimonials = [
designation: "Founder Labyrinth, Ex Head of DeFi Research Polygon",
reviewText:
"This is the best community for privacy that unites people to collaborate and turns user privacy into reality with exciting narratives.",
imageUrl: null,
imageUrl: "/testimonials/amit-chaudhary.jpg",
},
{
id: "andreea",
@ -40,7 +39,7 @@ const testimonials = [
designation: null,
reviewText:
"I loved the event, the place, the people, the conversations, the swag. You guys are incredible! I think I wont be attending other crypto events that much anymore.",
imageUrl: null,
imageUrl: "/testimonials/andreea.jpg",
},
{
id: "cryptocanal",
@ -48,7 +47,7 @@ const testimonials = [
designation: null,
reviewText:
"One event at a time, they are building an ecosystem to ensure that no one forgets the political frontiers being pushed by crypto. Web3Privacy Now has been rallying support and ensuring that privacy holds a prime spot at all the major conferences worldwide.",
imageUrl: null,
imageUrl: "/testimonials/cryptocanal.jpg",
},
{
id: "matteo-tambussi",
@ -56,7 +55,8 @@ const testimonials = [
designation: "Founder of Spaghetteth, Project Manager StakeCapital",
reviewText:
"The balance between Transparency and Privacy, accountable and unaccountable, manifest and secret, convex and concave, 1 and 0 is one of the most fun puzzles blockchain tech has to solve for the world. W3P community approaches this with incredible humility and an unravel-the-knot open debate approach. Also I like how they dress.",
imageUrl: null,
imageUrl: "/testimonials/matto-tambussi.jpg",
},
{
id: "pie-man",
@ -64,27 +64,13 @@ const testimonials = [
designation: "Co-Founder Fairblock Network",
reviewText:
"Most bullish event by far in EthCC was Web3Privacy Now: right in the middle of the park without anything fancy going on, the only incentive to stay was lovely people with extreme passion for deep but practical steps, cryptography, and amazing applications.",
imageUrl: null,
imageUrl: "/testimonials/pie-man.jpg",
},
];
function enrichTestimonials(testimonials, people) {
return testimonials.map((testimonial) => {
const person = people.find((p) => p.id === testimonial.id);
if (person && person.imageUrl) {
return {
...testimonial,
imageUrl: person.imageUrl,
};
}
return testimonial;
});
}
// Usage
const enrichedTestimonials = enrichTestimonials(testimonials, core.people);
let currentTestimonial = 0;
let currentTestimonial = 1;
---
<div class="w-full mx-auto px-8 border-2 border-[#202020]">
@ -93,7 +79,7 @@ let currentTestimonial = 0;
class="flex flex-col md:flex-row my-4 md:my-0 items-center justify-center testimonial-fade active overflow-hidden person-item"
>
<img
src={enrichedTestimonials[currentTestimonial].imageUrl}
src={testimonials[currentTestimonial].imageUrl}
class="grayscale h-24 rounded-full"
alt="Review Image"
id="testimonial-image"
@ -101,10 +87,10 @@ let currentTestimonial = 0;
<div class="relative lg:w-9/12">
<div class="relative py-12 px-8 text-gray-700 leading-relaxed">
<h2 class="font-bold" id="testimonial-author">
{enrichedTestimonials[currentTestimonial].author}:
{testimonials[currentTestimonial].author}:
</h2>
<p class="leading-tight" id="testimonial-text">
"{enrichedTestimonials[currentTestimonial].reviewText}"
"{testimonials[currentTestimonial].reviewText}"
</p>
</div>
</div>
@ -162,71 +148,75 @@ let currentTestimonial = 0;
<script>
document.addEventListener("DOMContentLoaded", function () {
const testimonials = [
{
id: "jaromil",
author: "Jaromil",
designation: "Hacktivist, Founder & Director at Dyne.org Foundation",
reviewText:
"Privacy-by-design is the best way to approach the web3 frontier and develop something that empowers people and builds the critical mass for its sustainability. Web3Privacy Now focuses on the best possible goals for crypto developments: privacy, independence and decentralisation.",
imageUrl: null,
},
{
id: "hackguru",
author: "HackGuru",
designation: "Developer Relation at Waku",
reviewText:
"They have been organising amazing pro-privacy initiatives. Been a big fan and excited to continue contributing to this amazing community : )",
imageUrl: null,
},
{
id: "lunar-dao",
author: "Lunar Dao",
designation: null,
reviewText:
"A catalyst leading a brilliant charge into privacy content for the web3 ecosystem.",
imageUrl: null,
},
{
id: "amit-chaudhary",
author: "Amit Chaudhary",
designation: "Founder Labyrinth, Ex Head of DeFi Research Polygon",
reviewText:
"This is the best community for privacy that unites people to collaborate and turns user privacy into reality with exciting narratives.",
imageUrl: null,
},
{
id: "andreea",
author: "Andreea",
designation: null,
reviewText:
"I loved the event, the place, the people, the conversations, the swag. You guys are incredible! I think I wont be attending other crypto events that much anymore.",
imageUrl: null,
},
{
id: "cryptocanal",
author: "CryptoCanal",
designation: null,
reviewText:
"One event at a time, they are building an ecosystem to ensure that no one forgets the political frontiers being pushed by crypto. Web3Privacy Now has been rallying support and ensuring that privacy holds a prime spot at all the major conferences worldwide.",
imageUrl: null,
},
{
id: "matteo-tambussi",
author: "Matteo Tambussi",
designation: "Founder of Spaghetteth, Project Manager StakeCapital",
reviewText:
"The balance between Transparency and Privacy, accountable and unaccountable, manifest and secret, convex and concave, 1 and 0 is one of the most fun puzzles blockchain tech has to solve for the world. W3P community approaches this with incredible humility and an unravel-the-knot open debate approach. Also I like how they dress.",
imageUrl: null,
},
{
id: "pie-man",
author: "Pie Man",
designation: "Co-Founder Fairblock Network",
reviewText:
"Most bullish event by far in EthCC was Web3Privacy Now: right in the middle of the park without anything fancy going on, the only incentive to stay was lovely people with extreme passion for deep but practical steps, cryptography, and amazing applications.",
imageUrl: null,
},
];
{
id: "jaromil",
author: "Jaromil",
designation: "Hacktivist, Founder & Director at Dyne.org Foundation",
reviewText:
"Privacy-by-design is the best way to approach the web3 frontier and develop something that empowers people and builds the critical mass for its sustainability. Web3Privacy Now focuses on the best possible goals for crypto developments: privacy, independence and decentralisation.",
imageUrl: "/testimonials/jaromil.jpg",
},
{
id: "hackguru",
author: "HackGuru",
designation: "Developer Relation at Waku",
reviewText:
"They have been organising amazing pro-privacy initiatives. Been a big fan and excited to continue contributing to this amazing community : )",
imageUrl: "/testimonials/hack-guru.jpg",
},
{
id: "lunar-dao",
author: "Lunar Dao",
designation: null,
reviewText:
"A catalyst leading a brilliant charge into privacy content for the web3 ecosystem.",
imageUrl: "/testimonials/lunar-dao.jpg",
},
{
id: "amit-chaudhary",
author: "Amit Chaudhary",
designation: "Founder Labyrinth, Ex Head of DeFi Research Polygon",
reviewText:
"This is the best community for privacy that unites people to collaborate and turns user privacy into reality with exciting narratives.",
imageUrl: "/testimonials/amit-chaudhary.jpg",
},
{
id: "andreea",
author: "Andreea",
designation: null,
reviewText:
"I loved the event, the place, the people, the conversations, the swag. You guys are incredible! I think I wont be attending other crypto events that much anymore.",
imageUrl: "/testimonials/andreea.jpg",
},
{
id: "cryptocanal",
author: "CryptoCanal",
designation: null,
reviewText:
"One event at a time, they are building an ecosystem to ensure that no one forgets the political frontiers being pushed by crypto. Web3Privacy Now has been rallying support and ensuring that privacy holds a prime spot at all the major conferences worldwide.",
imageUrl: "/testimonials/cryptocanal.jpg",
},
{
id: "matteo-tambussi",
author: "Matteo Tambussi",
designation: "Founder of Spaghetteth, Project Manager StakeCapital",
reviewText:
"The balance between Transparency and Privacy, accountable and unaccountable, manifest and secret, convex and concave, 1 and 0 is one of the most fun puzzles blockchain tech has to solve for the world. W3P community approaches this with incredible humility and an unravel-the-knot open debate approach. Also I like how they dress.",
imageUrl: "/testimonials/matto-tambussi.jpg",
},
{
id: "pie-man",
author: "Pie Man",
designation: "Co-Founder Fairblock Network",
reviewText:
"Most bullish event by far in EthCC was Web3Privacy Now: right in the middle of the park without anything fancy going on, the only incentive to stay was lovely people with extreme passion for deep but practical steps, cryptography, and amazing applications.",
imageUrl: "/testimonials/pie-man.jpg",
},
];
let currentTestimonial = 0;

View file

@ -221,10 +221,9 @@
"paul-dylan-ennis",
"jaromil",
"ameen-soleimani",
"ahmed",
"ahmed-ghappour",
"scott-moore",
"juraj-bednar",
"pavol-luptak",
"kurt-opsahl",
"guy-zyskind"
],