Adjusted the changes.

This commit is contained in:
NoobDeveloper412 2024-10-01 17:42:40 +05:00
parent b37146523c
commit 123f11ed5b
3 changed files with 4 additions and 3 deletions

View file

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

View file

@ -5,6 +5,7 @@ const filteredPeople = core
? people.filter((p) => !team.includes(p.id)).filter((p) => p.imageUrl) ? people.filter((p) => !team.includes(p.id)).filter((p) => p.imageUrl)
: team; : team;
console.log(team, core)
// Limit the number of members to 12 (2 rows with a max of 6 columns each) // Limit the number of members to 12 (2 rows with a max of 6 columns each)
const limitedPeople = filteredPeople.slice(0, 12); const limitedPeople = filteredPeople.slice(0, 12);

View file

@ -86,7 +86,7 @@ const sectionsConfig = [
<div class="middle-pane-big"> <div class="middle-pane-big">
<MembersGrid <MembersGrid
people={core.people} people={core.people}
team={core.teams["members"]} team={core.members}
core={false} core={false}
/> />
</div> </div>
@ -147,7 +147,7 @@ const sectionsConfig = [
<div class="middle-pane-big"> <div class="middle-pane-big">
<MembersGrid <MembersGrid
people={core.people} people={core.people}
team={core.teams["community-partners"]} team={core["community-partners"]}
/> />
</div> </div>
</div> </div>