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