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 (
|
||||
<Container key={item.id}>
|
||||
<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>
|
||||
</Container>
|
||||
)
|
||||
|
|
|
|||
|
|
@ -39,7 +39,14 @@ export function ParishBlocks({ content }: BlocksProps) {
|
|||
return (
|
||||
<Container key={item.id}>
|
||||
<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>
|
||||
</Container>
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue