@@ -31,7 +31,7 @@ export default function OrganizationCard({
3131 onClick = { ( ) => router . push ( `/organizations/${ id } /settings` ) }
3232 className = 'hover:shadow-primary/10 cursor-pointer rounded-xl border border-zinc-800 bg-black transition-shadow duration-300 hover:shadow-lg'
3333 >
34- < div className = 'rounded-xl border border-zinc-800 bg-zinc-900 px-6 pt-6 pb-1' >
34+ < div className = 'rounded-xl border border-zinc-800 bg-zinc-900 px-4 pt-4 pb-1 md:px-6 md:pt-6 ' >
3535 < div className = 'mb-6 flex items-start gap-4' >
3636 < div className = 'flex h-14 w-14 flex-shrink-0 items-center justify-center rounded-lg' >
3737 < Image
@@ -44,17 +44,21 @@ export default function OrganizationCard({
4444 </ div >
4545 < div className = 'min-w-0 flex-1' >
4646 < h3 className = 'mb-1 text-lg font-semibold text-white' > { name } </ h3 >
47- < p className = 'text-sm text-zinc-500' > Created { createdAt } </ p >
47+ < p className = 'text-sm text-zinc-500' >
48+ Created { new Date ( createdAt ) . toLocaleDateString ( ) }
49+ </ p >
4850 </ div >
4951 </ div >
5052
5153 < div className = 'mb-6 grid grid-cols-2 gap-4' >
52- < div className = 'rounded-lg border border-zinc-800 bg-black p-4' >
54+ < div className = 'rounded-lg border border-zinc-800 bg-black p-2.5 md:p- 4' >
5355 < div className = 'mb-2 flex items-center gap-2' >
54- < div className = 'bg-active-bg grid h-7 w-7 place-content-center rounded-lg border-[0.5px] border-[rgba(167,249,80,0.24)] md:h-10 md:w-10' >
56+ < div className = 'bg-active-bg grid max- h-7 min-h-7 max-w-7 min- w-7 place-content-center rounded-lg border-[0.5px] border-[rgba(167,249,80,0.24)] md:h-10 md:w-10' >
5557 < Trophy className = 'text-primary h-3 w-3 md:h-4 md:w-4' />
5658 </ div >
57- < span className = 'text-sm font-medium text-white' > Hackathons</ span >
59+ < span className = 'text-xs font-medium text-white sm:text-sm' >
60+ Hackathons
61+ </ span >
5862 </ div >
5963 < div className = 'my-2 text-2xl font-semibold text-white' >
6064 { hackathons . count }
@@ -78,12 +82,14 @@ export default function OrganizationCard({
7882 </ div >
7983 </ div >
8084
81- < div className = 'rounded-lg border border-zinc-800 bg-black p-4' >
85+ < div className = 'rounded-lg border border-zinc-800 bg-black p-2.5 md:p- 4' >
8286 < div className = 'mb-2 flex items-center gap-2' >
8387 < div className = 'bg-active-bg grid h-7 w-7 place-content-center rounded-lg border-[0.5px] border-[rgba(167,249,80,0.24)] md:h-10 md:w-10' >
8488 < HandCoins className = 'text-primary h-3 w-3 md:h-4 md:w-4' />
8589 </ div >
86- < span className = 'text-sm font-medium text-white' > Grants</ span >
90+ < span className = 'text-xs font-medium text-white sm:text-sm' >
91+ Grants
92+ </ span >
8793 </ div >
8894 < div className = 'my-2 text-2xl font-semibold text-white' >
8995 { grants . count }
0 commit comments