mirror of
https://github.com/BradNut/weddingsite
synced 2025-09-08 17:40:36 +00:00
Fixing party photos
This commit is contained in:
parent
0f2cfbd603
commit
846102d7c6
1 changed files with 10 additions and 1 deletions
|
|
@ -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>
|
||||
))}
|
||||
|
|
|
|||
Loading…
Reference in a new issue