Fixing party photos

This commit is contained in:
Bradley Shellnut 2022-11-10 22:35:54 -06:00 committed by GitHub
parent 0f2cfbd603
commit 846102d7c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,6 +60,10 @@ export default function PartyPage({ mainImage, officiantImage, partyImages }) {
{...mainImage?.imageProps}
alt={mainImage?.alt}
placeholder="blur"
style={{
width: '100%',
height: 'auto',
}}
/>
</div>
<h2 className="center">The Party</h2>
@ -85,7 +89,12 @@ export default function PartyPage({ mainImage, officiantImage, partyImages }) {
{partyImages.map((member, index) => (
<PartyCard className="card" key={index}>
<h2 className="center">{member.name}</h2>
<Image {...member.imageProps} alt={member.alt} placeholder="blur" />
<Image {...member.imageProps} alt={member.alt} placeholder="blur"
style={{
width: '100%',
height: 'auto',
}}
/>
<h3 className="center">{member.title}</h3>
</PartyCard>
))}