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>
|
</Container>
|
||||||
</Section>
|
</Section>
|
||||||
|
|
||||||
|
{events.length > 0 &&
|
||||||
<Section padding={"small"}>
|
<Section padding={"small"}>
|
||||||
<NextPrevButtons
|
<NextPrevButtons
|
||||||
prev={{
|
prev={{
|
||||||
|
|
@ -89,6 +90,7 @@ export default async function WorshipPage({searchParams}: {
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Section>
|
</Section>
|
||||||
|
}
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
@ -117,6 +117,8 @@ export default async function EventsPage({searchParams}: {
|
||||||
</Container>
|
</Container>
|
||||||
</Section>
|
</Section>
|
||||||
|
|
||||||
|
{/*prevents bots indexing till infinity*/}
|
||||||
|
{ events.length > 0 &&
|
||||||
<Section padding={"small"}>
|
<Section padding={"small"}>
|
||||||
<NextPrevButtons
|
<NextPrevButtons
|
||||||
prev={{
|
prev={{
|
||||||
|
|
@ -129,6 +131,7 @@ export default async function EventsPage({searchParams}: {
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Section>
|
</Section>
|
||||||
|
}
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue