Skip to content

Commit a6c150b

Browse files
committed
fix: update title for team members to reflect current roles
1 parent 31dfbfc commit a6c150b

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

src/app/(about)/overview/_components/organising-team.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const team = [
3737
{
3838
description: "Monica Oyugi",
3939
id: "monica",
40-
title: "Co-Organizer",
40+
title: "Organizer",
4141
src: "/team/monica.jpg",
4242
ctaText: "Visit",
4343
ctaLink: "#",
@@ -82,7 +82,7 @@ const team = [
8282
{
8383
description: "Prisca Akinyi",
8484
id: "prisca",
85-
title: "Co - Event Manager",
85+
title: "Event Manager",
8686
src: "/team/prisca.jpg",
8787
ctaText: "Visit",
8888
ctaLink: "#",
@@ -127,7 +127,7 @@ const team = [
127127

128128
export function OrganisingTeam() {
129129
const [active, setActive] = useState<(typeof team)[number] | boolean | null>(
130-
null,
130+
null
131131
);
132132
const id = useId();
133133
const ref = useRef<HTMLDivElement>(null);
@@ -167,7 +167,7 @@ export function OrganisingTeam() {
167167
{active && typeof active === "object" ? (
168168
<div className="fixed inset-0 grid place-items-center z-[100]">
169169
<motion.button
170-
key={`button-${active.title}-${id}`}
170+
key={`button-${active.id}-${id}`}
171171
layout={true}
172172
initial={{
173173
opacity: 0,
@@ -187,11 +187,11 @@ export function OrganisingTeam() {
187187
<X />
188188
</motion.button>
189189
<motion.div
190-
layoutId={`card-${active.title}-${id}`}
190+
layoutId={`card-${active.id}-${id}`}
191191
ref={ref}
192192
className="w-full max-w-[500px] h-full md:h-fit md:max-h-[90%] flex flex-col bg-white dark:bg-neutral-900 sm:rounded-3xl overflow-hidden"
193193
>
194-
<motion.div layoutId={`image-${active.title}-${id}`}>
194+
<motion.div layoutId={`image-${active.id}-${id}`}>
195195
<Image
196196
priority={true}
197197
width={1000}
@@ -206,7 +206,7 @@ export function OrganisingTeam() {
206206
<div className="flex justify-between items-start p-4">
207207
<div className="">
208208
<motion.h3
209-
layoutId={`title-${active.title}-${id}`}
209+
layoutId={`title-${active.id}-${id}`}
210210
className="font-medium text-neutral-700 dark:text-neutral-200 text-base"
211211
>
212212
{active.title}
@@ -265,13 +265,13 @@ export function OrganisingTeam() {
265265
<ul className="max-w-2xl mx-auto w-full grid grid-cols-1 md:grid-cols-2 items-start gap-4">
266266
{team.map((card) => (
267267
<motion.div
268-
layoutId={`card-${card.title}-${id}`}
269-
key={card.title}
268+
layoutId={`card-${card.id}-${id}`}
269+
key={card.id}
270270
onClick={() => setActive(card)}
271271
className="p-4 flex flex-col hover:bg-neutral-50 dark:hover:bg-neutral-800 rounded-xl cursor-pointer"
272272
>
273273
<div className="flex gap-4 flex-col w-full">
274-
<motion.div layoutId={`image-${card.title}-${id}`}>
274+
<motion.div layoutId={`image-${card.id}-${id}`}>
275275
<Image
276276
width={1000}
277277
height={1000}
@@ -282,7 +282,7 @@ export function OrganisingTeam() {
282282
</motion.div>
283283
<div className="flex justify-center items-center flex-col">
284284
<motion.h3
285-
layoutId={`title-${card.title}-${id}`}
285+
layoutId={`title-${card.id}-${id}`}
286286
className="font-medium text-neutral-800 dark:text-neutral-200 text-center md:text-left text-base"
287287
>
288288
{card.title}

src/app/(articles)/support.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ title: Support
55
This page lists the primary points of contact for PyCon KE 2025. This does not list all of the volunteers, without whom PyCon KE would not be possible.
66

77
- PyCon KE Organizer: Kelvin Onkundi
8-
- PyCon KE Co-Organizer: Monica Oyugi
8+
- PyCon KE Organizer: Monica Oyugi
99
- PyCon KE Event Manager: Stephany Owino
10-
- PyCon KE Co-Event Manager: Prisca Akinyi
10+
- PyCon KE Event Manager: Prisca Akinyi
1111
- PyCon KE Program Director: Rodney Osodo
1212

1313
## Q: Who should I contact if I have a registration question?

0 commit comments

Comments
 (0)