fix: document in new tab

This commit is contained in:
Benno Tielen 2026-06-05 09:47:25 +02:00
parent 6b960aef19
commit 776bc6ff25
2 changed files with 14 additions and 2 deletions

View file

@ -52,7 +52,12 @@ export function Blocks({ content }: BlocksProps) {
return ( return (
<Container key={item.id}> <Container key={item.id}>
<Section padding={'medium'}> <Section padding={'medium'}>
<Button size={'lg'} href={item.file.url || 'notfound'} schema={'contrast'}>{item.button}</Button> <Button
size={'lg'}
href={item.file.url || 'notfound'}
schema={'contrast'}
target={'_blank'}
>{item.button}</Button>
</Section> </Section>
</Container> </Container>
) )

View file

@ -39,7 +39,14 @@ export function ParishBlocks({ content }: BlocksProps) {
return ( return (
<Container key={item.id}> <Container key={item.id}>
<Section padding={"medium"}> <Section padding={"medium"}>
<Button size={"lg"} href={item.file.url || "notfound"} schema={"contrast"}>{item.button}</Button> <Button
size={"lg"}
href={item.file.url || "notfound"}
schema={"contrast"}
target={"_blank"}
>
{item.button}
</Button>
</Section> </Section>
</Container> </Container>
) )