Skip to content

Commit bb343cc

Browse files
committed
Refined Committee Portraits
- Changed the aspect ratio for the committee frame to be 1:1, it was weird and gave too many decimals before. Each frame's height and width is now 11.25rem - Adjusted height and width of the committee profile pictures insides the frames, removing unnecessary left padding so the pictures appear to fit basically pixel-perfect
1 parent 376817e commit bb343cc

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

client/src/pages/about.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,17 +122,17 @@ export default function AboutPage() {
122122
key={`top-${idx}`}
123123
className="flex flex-col items-start gap-0"
124124
>
125-
<div className="relative flex h-[11.5625rem] w-[11.25rem] items-center justify-center bg-[url('/frame.svg')] bg-contain bg-center bg-no-repeat">
125+
<div className="relative flex h-[11.25rem] w-[11.25rem] items-center justify-center bg-[url('/frame.svg')] bg-contain bg-center bg-no-repeat">
126126
<Image
127127
src={
128128
member.profile_picture === null
129129
? "/landing_placeholder.png"
130130
: member.profile_picture
131131
}
132132
alt="/landing_placeholder.png"
133-
width={106}
134-
height={106}
135-
className="mb-3 h-[6.625rem] w-[6.625rem]"
133+
width={108}
134+
height={108}
135+
className="mb-2 h-[6.75rem] w-[6.75rem]"
136136
/>
137137
</div>
138138
<div className="w-[11.25rem] pl-3 text-left font-firaCode text-[0.5rem] leading-tight">
@@ -154,17 +154,17 @@ export default function AboutPage() {
154154
key={`bottom-${idx}`}
155155
className="flex flex-col items-start gap-0"
156156
>
157-
<div className="relative flex h-[11.5625rem] w-[11.25rem] items-center justify-center bg-[url('/frame.svg')] bg-contain bg-center bg-no-repeat">
157+
<div className="relative flex h-[11.25rem] w-[11.25rem] items-center justify-center bg-[url('/frame.svg')] bg-contain bg-center bg-no-repeat">
158158
<Image
159159
src={
160160
member.profile_picture === null
161161
? "/landing_placeholder.png"
162162
: member.profile_picture
163163
}
164164
alt="/landing_placeholder.png"
165-
width={106}
166-
height={106}
167-
className="mb-3 h-[6.625rem] w-[6.625rem] pl-[0.03125rem]"
165+
width={108}
166+
height={108}
167+
className="mb-2 h-[6.75rem] w-[6.75rem]"
168168
/>
169169
</div>
170170
<div className="w-[11.25rem] pl-3 text-left font-firaCode text-[0.5rem] leading-tight">

0 commit comments

Comments
 (0)