Skip to content

Commit

Permalink
fix: Add NavBar to TOS page
Browse files Browse the repository at this point in the history
  • Loading branch information
matthe815 committed Aug 1, 2024
1 parent c3500a4 commit cdeb4da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pages/tos.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import prisma from '@/lib/db'
import styles from '@/styles/modules/editor-text.module.scss'
import ENV from '@/lib/constants/environmentVariables'
import { isBlank } from '@/lib/utils/utils'
import AppNavbar from '@/components/shared/AppNavbar'

export async function getStaticProps () {
const tos = await prisma.sys.findUnique({
Expand All @@ -24,6 +25,8 @@ export async function getStaticProps () {

function TosPage ({ tos }) {
return (
<>
<AppNavbar />
<Container>
<NextSeo
title='Terms of Service'
Expand All @@ -43,6 +46,7 @@ function TosPage ({ tos }) {
/>
</Row>
</Container>
</>
)
}

Expand Down

0 comments on commit cdeb4da

Please sign in to comment.