fix: don't display nav
This commit is contained in:
parent
bac422effc
commit
f197d1dbcb
2 changed files with 29 additions and 24 deletions
|
|
@ -77,6 +77,7 @@ export default async function WorshipPage({searchParams}: {
|
|||
</Container>
|
||||
</Section>
|
||||
|
||||
{events.length > 0 &&
|
||||
<Section padding={"small"}>
|
||||
<NextPrevButtons
|
||||
prev={{
|
||||
|
|
@ -89,6 +90,7 @@ export default async function WorshipPage({searchParams}: {
|
|||
}}
|
||||
/>
|
||||
</Section>
|
||||
}
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
|
@ -117,6 +117,8 @@ export default async function EventsPage({searchParams}: {
|
|||
</Container>
|
||||
</Section>
|
||||
|
||||
{/*prevents bots indexing till infinity*/}
|
||||
{ events.length > 0 &&
|
||||
<Section padding={"small"}>
|
||||
<NextPrevButtons
|
||||
prev={{
|
||||
|
|
@ -129,6 +131,7 @@ export default async function EventsPage({searchParams}: {
|
|||
}}
|
||||
/>
|
||||
</Section>
|
||||
}
|
||||
</>
|
||||
)
|
||||
}
|
||||
Loading…
Reference in a new issue