fix: document in new tab
This commit is contained in:
parent
6b960aef19
commit
776bc6ff25
2 changed files with 14 additions and 2 deletions
|
|
@ -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>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue