Skip to content

Commit

Permalink
Basic page structure
Browse files Browse the repository at this point in the history
  • Loading branch information
SecondFeline committed Jan 19, 2024
1 parent 0c3d35e commit 05caa7b
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions src/app/submission-box/test/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
'use client'

import { usePathname } from 'next/navigation'
import Header from '@/components/Header'
import React from 'react'
import { SessionContextValue, useSession } from 'next-auth/react'
import Box from '@mui/material/Box'
import Typography from '@mui/material/Typography'

export default function SubmissionBoxDetailPage() {
const session: SessionContextValue = useSession()
const pathname = usePathname()
const boxId = pathname?.split('/').pop()

return(
<>
<Header {...session} />
<Box width='100%' display='flex' flexDirection='column'>
<Box display='flex' justifyContent='space-between' alignItems='center' paddingLeft='3rem'>
<Typography
data-cy='title'
variant='h5'
color={'textSecondary'}
sx={{ m: 2, fontWeight: 'bold', py: '1rem', marginTop: '1rem' }}
>
Dashboard
</Typography>
</Box>
</Box>
<Box display='grid' gridTemplateColumns='4fr 1fr' height='100%' width='100%'>
<Box
sx={{
borderTopRightRadius: 25,
height: '100vh',
backgroundColor: 'secondary.lighter',
}}
borderColor={'secondary.lighter'}
width='100%'
>

</Box>
<Box paddingLeft='1rem'>
<Typography data-cy='submissionBoxTitleHeading' color={'textSecondary'} sx={{ m: 1 }}>
Title
</Typography>
<Typography data-cy='submissionBoxTitle' variant='h5' color={'textSecondary'} paddingBottom='2rem' sx={{ m: 1, fontWeight: 'bold'}}>
TITLE OF DASHBOARD
</Typography>
<Typography data-cy='submissionBoxDateHeading' color={'textSecondary'} sx={{ m: 1 }}>
Close Date:
</Typography>
<Typography data-cy='submissionBoxDate' variant='h6' color={'textSecondary'} paddingBottom='2rem' paddingLeft='1rem' sx={{ m: 1 }}>
DATE
</Typography>
<Typography data-cy='submissionBoxDescHeading' color={'textSecondary'} sx={{ m: 1 }}>
Description
</Typography>
<Typography data-cy='submissionBoxDate' variant='subtitle2' color={'textSecondary'} paddingBottom='2rem' paddingLeft='1rem' sx={{ m: 1 }}>
A lengthy description of the submission box. Includes instructions of submission and what is required of the submittee to include in their video.
</Typography>
</Box>
</Box>
</>
)
}

0 comments on commit 05caa7b

Please sign in to comment.