This commit is contained in:
parent
afc6816451
commit
e63a5c2fb6
10 changed files with 11 additions and 11 deletions
|
|
@ -38,7 +38,7 @@ export default async function MagazinePage() {
|
|||
width={magazine_cover.width || 500}
|
||||
height={magazine_cover.height || 600}
|
||||
alt={'Pfarreimagazin Ausgabe'}
|
||||
unoptimized={true}
|
||||
unoptimized={false}
|
||||
/>
|
||||
</a>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ export default async function DonationPage({ params }: { params: Promise<{id: st
|
|||
<Row alignItems={"center"}>
|
||||
<Col>
|
||||
{ typeof image == "object" && image.url &&
|
||||
<Image src={image.url} width={300} height={300} alt="" unoptimized={true}/>
|
||||
<Image src={image.url} width={300} height={300} alt="" unoptimized={false}/>
|
||||
}
|
||||
</Col>
|
||||
<Col>
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ export const BlogExcerpt = ({id, title, excerpt, photo}: BlogExcerptProps) => {
|
|||
height={photo.height}
|
||||
alt={"Blogbild"}
|
||||
className={styles.image}
|
||||
unoptimized={true}
|
||||
unoptimized={false}
|
||||
/>
|
||||
</Link>
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ export const ContactPerson2 = ({contact, photo}: ContactPerson2Props) => {
|
|||
className={styles.photo}
|
||||
src={photo}
|
||||
alt={contact.name}
|
||||
unoptimized={true}
|
||||
unoptimized={false}
|
||||
/>
|
||||
}
|
||||
<div>
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ export const ContactPersonCard = ({
|
|||
alt={contact.name}
|
||||
width={200}
|
||||
height={200}
|
||||
unoptimized={true}
|
||||
unoptimized={false}
|
||||
/>
|
||||
) : (
|
||||
<div className={styles.photoPlaceholder} />
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ export const DonationAppeal = () => {
|
|||
{ data.map(appeal =>
|
||||
<div key={appeal.id} className={styles.col}>
|
||||
<h3>{appeal.title}</h3>
|
||||
<Image src={appeal.image} alt={""} width={200} height={200} unoptimized={true} />
|
||||
<Image src={appeal.image} alt={""} width={200} height={200} unoptimized={false} />
|
||||
|
||||
<p>
|
||||
{appeal.text}
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ export const jsxConverters: JSXConvertersFunction = ({ defaultConverters }) => (
|
|||
width={photo.width}
|
||||
height={photo.height}
|
||||
alt={node.value.alt}
|
||||
unoptimized={true}
|
||||
unoptimized={false}
|
||||
/>
|
||||
)
|
||||
},
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ export const PageHeader = ({ title, description, image, alt }: PageHeaderProps)
|
|||
<Container>
|
||||
{image && typeof image === 'string' ? (
|
||||
<Image
|
||||
unoptimized={true}
|
||||
unoptimized={false}
|
||||
className={styles.image}
|
||||
src={image}
|
||||
width={1100}
|
||||
|
|
@ -36,7 +36,7 @@ export const PageHeader = ({ title, description, image, alt }: PageHeaderProps)
|
|||
/>
|
||||
) : image ? (
|
||||
<Image
|
||||
unoptimized={true}
|
||||
unoptimized={false}
|
||||
className={styles.image}
|
||||
src={image}
|
||||
alt={alt || ''}
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ export const PublicationAndNewsletterView = ({
|
|||
width={magazineCover.width || 500}
|
||||
height={magazineCover.height || 600}
|
||||
alt={'Pfarreimagazin Ausgabe'}
|
||||
unoptimized={true}
|
||||
unoptimized={false}
|
||||
/>
|
||||
</a>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ export function EventPage(
|
|||
src={photo}
|
||||
className={styles.photo}
|
||||
alt={"Veranstaltungsbild"}
|
||||
unoptimized={true}
|
||||
unoptimized={false}
|
||||
/>
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue