Skip to content

Commit 02d4255

Browse files
committed
Add values section to About page highlighting community principles and initiatives
Signed-off-by: Steve Yonkeu <yokwejuste@yahoo.com>
1 parent f4d6c59 commit 02d4255

1 file changed

Lines changed: 49 additions & 76 deletions

File tree

src/pages/About.jsx

Lines changed: 49 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,45 @@ const About = () => {
6666
},
6767
];
6868

69+
const valuesData = [
70+
{
71+
title: "Building a Welcoming Community",
72+
text: "We believe that diversity and inclusivity are essential for the growth and success of our community. Everyone is welcome here, regardless of background, experience level, or identity.",
73+
image: "/images/general/2e243534d6899d8f474f419e1ac832c9.webp",
74+
alt: "Platform",
75+
},
76+
{
77+
title: "Inspiring Talks",
78+
text: "From beginner tutorials to advanced deep dives, we offer a wide range of talks to cater to the needs of our diverse community. Learn from local and international Python experts.",
79+
image: "/images/general/Unknown.webp",
80+
alt: "Talks",
81+
},
82+
{
83+
title: "Practical Workshops",
84+
text: "We learn by doing. Our hands-on workshops are designed to help you build real skills that you can apply immediately in your projects and career.",
85+
image: "/images/patterns/African.webp",
86+
alt: "Workshops",
87+
},
88+
{
89+
title: "Simple and All-Inclusive",
90+
text: "We want to create a welcoming and inclusive environment for everyone, regardless of their background or experience. No gatekeeping, just community.",
91+
image: "/images/general/aa8b76bc47ebdea99b84fa3a26a94ade.webp",
92+
alt: "Networking",
93+
},
94+
{
95+
title: "Innovation & Creativity",
96+
text: "We encourage creative problem-solving and innovative thinking. PyCon Cameroon is a space where new ideas are born and nurtured.",
97+
image: "/images/general/ac5ca270fe9d4f7c17c5b2bf97337208.webp",
98+
alt: "Innovation",
99+
},
100+
{
101+
title: "Growing Together",
102+
text: "Whether you're mentoring others or learning yourself, we believe in the power of shared growth. Together, we're building the future of Python in Cameroon.",
103+
image: "/images/general/5a266f7460a16bd5e7b0d2cabf54e874.webp",
104+
alt: "Growth",
105+
},
106+
];
107+
69108
const partnerCommunities = [
70109
{ name: "UbuCon Cameroon", image: "/images/partners/canonical-cm.webp", link: "#" },
71110
{ name: "Django Cameroon", image: "/images/partners/djcmr.webp", link: "https://djangocameroon.org" },
@@ -216,82 +255,15 @@ const About = () => {
216255
</div>
217256

218257
<div className="grid grid-3 stagger">
219-
<div className="card animate-on-scroll slide-up">
220-
<div className="card-icon">
221-
<LazyImage
222-
src="/images/general/2e243534d6899d8f474f419e1ac832c9.webp"
223-
alt="Platform"
224-
/>
225-
</div>
226-
<h3 className="card-title">Building a Welcoming Community</h3>
227-
<p className="card-text">
228-
We believe that diversity and inclusivity are essential for the
229-
growth and success of our community. Everyone is welcome here,
230-
regardless of background, experience level, or identity.
231-
</p>
232-
</div>
233-
234-
<div className="card animate-on-scroll slide-up">
235-
<div className="card-icon">
236-
<LazyImage src="/images/general/Unknown.webp" alt="Talks" />
237-
</div>
238-
<h3 className="card-title">Inspiring Talks</h3>
239-
<p className="card-text">
240-
From beginner tutorials to advanced deep dives, we offer a wide
241-
range of talks to cater to the needs of our diverse community.
242-
Learn from local and international Python experts.
243-
</p>
244-
</div>
245-
246-
<div className="card animate-on-scroll slide-up">
247-
<div className="card-icon">
248-
<LazyImage src="/images/patterns/African.webp" alt="Workshops" />
249-
</div>
250-
<h3 className="card-title">Practical Workshops</h3>
251-
<p className="card-text">
252-
We learn by doing. Our hands-on workshops are designed to help
253-
you build real skills that you can apply immediately in your
254-
projects and career.
255-
</p>
256-
</div>
257-
258-
<div className="card animate-on-scroll slide-up">
259-
<div className="card-icon">
260-
<LazyImage
261-
src="/images/general/aa8b76bc47ebdea99b84fa3a26a94ade.webp"
262-
alt="Networking"
263-
/>
264-
</div>
265-
<h3 className="card-title">Simple and All-Inclusive</h3>
266-
<p className="card-text">
267-
We want to create a welcoming and inclusive environment for
268-
everyone, regardless of their background or experience. No
269-
gatekeeping, just community.
270-
</p>
271-
</div>
272-
273-
<div className="card animate-on-scroll slide-up">
274-
<h3 className="card-title">Innovation & Creativity</h3>
275-
<p className="card-text">
276-
We encourage creative problem-solving and innovative thinking.
277-
PyCon Cameroon is a space where new ideas are born and nurtured.
278-
</p>
279-
</div>
280-
281-
<div className="card animate-on-scroll slide-up">
282-
<div className="card-icon">
283-
<LazyImage
284-
src="/images/general/5a266f7460a16bd5e7b0d2cabf54e874.webp"
285-
alt="Growth"
286-
/>
258+
{valuesData.map((value, index) => (
259+
<div className="card animate-on-scroll slide-up" key={index}>
260+
<div className="card-icon">
261+
<LazyImage src={value.image} alt={value.alt} />
262+
</div>
263+
<h3 className="card-title">{value.title}</h3>
264+
<p className="card-text">{value.text}</p>
287265
</div>
288-
<h3 className="card-title">Growing Together</h3>
289-
<p className="card-text">
290-
Whether you're mentoring others or learning yourself, we believe
291-
in the power of shared growth. Together, we're building the
292-
future of Python in Cameroon.
293-
</p>
294-
</div>
266+
))}
295267
</div>
296268
</div>
297269
</section>
@@ -311,11 +283,12 @@ const About = () => {
311283
</p>
312284
</div>
313285

314-
<div className="grid grid-3 stagger">
286+
<div style={{ display: 'flex', flexWrap: 'wrap', gap: 'var(--spacing-lg)', justifyContent: 'center' }}>
315287
{teamData.map((member, index) => (
316288
<div
317289
className="card team-card animate-on-scroll slide-up"
318290
key={index}
291+
style={{ flex: '0 1 calc(33.333% - var(--spacing-lg))', minWidth: '280px' }}
319292
>
320293
<div
321294
className="team-card-img"

0 commit comments

Comments
 (0)