Skip to content

Commit 755a3a7

Browse files
authored
Community page v0.5 (#4591)
1 parent 2c447d3 commit 755a3a7

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

frontend/src/components/blocks/communities-section.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,22 +57,26 @@ export const CommunitiesSection = ({ title, communities }: Props) => {
5757

5858
return (
5959
<MultiplePartsCard key={community.name}>
60-
<CardPart>
60+
<CardPart shrink={false}>
6161
<Heading size={4}>{community.name}</Heading>
6262
</CardPart>
63-
<CardPart background="milk">
63+
<CardPart background="milk" fullHeight={true}>
6464
{community.logo && (
6565
<>
6666
<VerticalStack alignItems="center" gap="small">
67-
<img src={community.logo} alt={community.name} />
67+
<img
68+
src={community.logo}
69+
alt={community.name}
70+
width={128}
71+
/>
6872
</VerticalStack>
6973
<Spacer size="small" />
7074
</>
7175
)}
7276

7377
<StyledHTMLText text={community.description} baseTextSize={2} />
7478
</CardPart>
75-
<CardPart background="milk">
79+
<CardPart background="milk" shrink={false}>
7680
<VerticalStack alignItems="center" gap="small">
7781
<SocialLinks hoverColor="green" socials={socialLinks} />
7882
</VerticalStack>

0 commit comments

Comments
 (0)