Skip to content

Commit

Permalink
Merge pull request #210 from gamedig/new-team-member
Browse files Browse the repository at this point in the history
  • Loading branch information
cainthebest authored Feb 14, 2025
2 parents 0e35a59 + 1008922 commit 06bd4ef
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
9 changes: 7 additions & 2 deletions .vitepress/theme/components/HomePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,13 @@ onMounted(fetchContributors);
<!-- Section to display team members -->
<div class="section vp-doc flex flex-col items-center mt-10">
<h2 id="meet-the-team" class="section-title op70 font-normal">Meet The Team</h2>
<div class="section-content w-full p-10">
<VPTeamMembers size="small" :members="team.members" />

<!-- Workaround to display team members with odd number in two columns -->
<div class="section-content-top w-full p-10 pb-1">
<VPTeamMembers size="small" :members="team.members.slice(0, 2)" />
</div>
<div class="section-content-bottom w-full p-10 pt-1">
<VPTeamMembers size="small" :members="team.members.slice(2)" />
</div>
</div>

Expand Down
13 changes: 9 additions & 4 deletions .vitepress/theme/composables/team.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const teamMembers: TeamMember[] = [
{
avatar: 'https://github.com/CosminPerRam.png',
github: 'CosminPerRam',
name: 'CosminPerRam',
name: 'Cosmin',
title: 'Programmer',
org: 'nerds-sh',
desc: 'Founder of Rust GameDig & GameDig Maintainer.',
Expand All @@ -78,6 +78,13 @@ const teamMembers: TeamMember[] = [
title: 'Programmer',
desc: 'Rust GameDig Maintainer.',
},
{
avatar: 'https://github.com/xCausxn.png',
github: 'xCausxn',
name: 'James',
title: 'Programmer',
desc: 'Node GameDig Maintainer.',
},
];

/**
Expand All @@ -86,8 +93,6 @@ const teamMembers: TeamMember[] = [
*/
export default defineLoader({
load(): Data {
return {
members: teamMembers.map(createLinks),
};
return { members: teamMembers.map(createLinks) };
},
});

0 comments on commit 06bd4ef

Please sign in to comment.