Skip to content

Commit 318ebb5

Browse files
committed
adjust styling for "our team"
1 parent 3fc3478 commit 318ebb5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/DisplayMembers.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const DisplayMembers = () => {
7878
return (
7979
<>
8080
{members?.data && (
81-
<div className="mt-4 grid grid-cols-1 place-items-center gap-16 md:grid-cols-3 lg:grid-cols-3 xl:grid-cols-4">
81+
<div className="mt-4 grid grid-cols-2 place-items-center gap-y-6 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5">
8282
{members.data.map((member) =>
8383
MemberLink({
8484
image: member.avatar_url,

components/MemberLink.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import { IconCoffee } from '@tabler/icons-react';
22

33
const MemberLink: React.FC<{ image: string; name: string; sponsor?: string }> = ({ image, name, sponsor }) => {
44
return (
5-
<div key={name} className="flex w-32 flex-col items-center justify-center gap-2">
5+
<div key={name} className="flex flex-col items-center justify-center gap-2">
66
<a href={`https://github.com/${name}`} target="_blank" className="flex flex-col items-center gap-2">
77
<p className="text-sky-500 font-semibold">{name}</p>
8-
<img src={image} alt={`${name}-image`} className="rounded-md bg-neutral-100 shadow-md dark:bg-neutral-900" />
8+
<img src={image} alt={`${name}-image`} className="w-24 rounded-md bg-neutral-100 shadow-md dark:bg-neutral-900" />
99
</a>
1010
<a href={sponsor ? `https://ko-fi.com/${sponsor}` : ''} target="_blank" className="w-full">
1111
<button disabled={!sponsor} className='flex w-full items-center justify-center gap-2 rounded-md p-2 text-sky-500 bg-sky-500/20 hover:bg-sky-500/30 disabled:text-slate-500 disabled:bg-slate-500/20'>

0 commit comments

Comments
 (0)