-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c3d35e
commit 05caa7b
Showing
1 changed file
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
</> | ||
) | ||
} |