Skip to content

Commit

Permalink
Improve display of the team page (#676)
Browse files Browse the repository at this point in the history
As nobody has a picture, it looks better to not display it
  • Loading branch information
renchap committed May 11, 2024
1 parent 0cf3b65 commit 30f91c6
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions pages/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ const About = () => (
{team.map((member) => (
<div
key={member.name}
className="col-span-12 sm:col-span-6 lg:col-span-4"
className="col-span-6 lg:col-span-4 mb-6"
>
<div className="relative mb-4 aspect-video w-full overflow-hidden rounded-lg bg-blurple-gradient shadow">
{/* <div className="relative mb-4 aspect-video w-full overflow-hidden rounded-lg bg-blurple-gradient shadow">
{member.image && (
<Image
src={member.image}
Expand All @@ -100,13 +100,11 @@ const About = () => (
className="grayscale"
/>
)}
</div>

<span className="b2 block !font-bold">{member.name}</span>
</div> */}

<div className="flex items-center">
<span className="b2 block flex-grow !font-semibold text-gray-1">
{member.position}
<span className="b2 block flex-grow !font-bold">
{member.name}
</span>

{member.socials && (
Expand All @@ -122,6 +120,12 @@ const About = () => (
</a>
)}
</div>

<div className="flex items-center">
<span className="b2 block flex-grow !font-semibold text-gray-1">
{member.position}
</span>
</div>
</div>
))}
</div>
Expand All @@ -134,7 +138,7 @@ const About = () => (
</div>

<div className="col-span-12 md:col-span-3">
<a id="reports" className="invisible relative -top-32"/>
<a id="reports" className="invisible relative -top-32" />
<h2 className="h3 mb-4">Reports</h2>

<ul className="list-disc pl-3">
Expand Down

0 comments on commit 30f91c6

Please sign in to comment.