Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update newuser to mui #1744

Open
wants to merge 4 commits into
base: development
Choose a base branch
from
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 62 additions & 17 deletions client/src/pages/NewUser.jsx
Original file line number Diff line number Diff line change
@@ -1,25 +1,70 @@
import React, { useState, useEffect } from 'react';

import { Container, Typography, Box } from '@mui/material';
import ReadyEvents from '../components/ReadyEvents';

const NewUser = (props) => {
const [newUser] = useState(true);

useEffect(() => {
const [newUser] = useState(true);

}, []);
useEffect(() => {}, []);

return (
<div className="flex-container">
<div className="new">
<div className="new-headers">
<h3>Welcome!</h3>
<h4>Thanks for coming.</h4>
<ReadyEvents newUser={newUser}/>
</div>
</div>
</div>
)
return (
<Container
sx={{
display: 'flex',
flexDirection: 'column',
height: '100%',
width: '100%',
}}
>
<Box
sx={{
display: 'flex',
flexDirection: 'column',
justifyContent: 'center',
alignItems: 'center',
height: '60vh',
}}
>
<Box
sx={{
maxWidth: '400px',
marginBottom: '4vh',
zIndex: 1,
display: 'flex',
flexDirection: 'column',
justifyContent: 'center',
alignItems: 'center',
}}
>
<Typography
variant="h3"
sx={{
fontWeight: 900,
textTransform: 'uppercase',
fontSize: '39.2px',
letterSpacing: '-1px',
lineHeight: '1',
}}
>
Welcome!
</Typography>
<Typography
variant="h4"
sx={{
fontWeight: 700,
textTransform: 'uppercase',
fontSize: '28px',
letterSpacing: '-1px',
lineHeight: '1',
}}
>
Thanks for coming.
</Typography>
<ReadyEvents newUser={newUser} />
</Box>
</Box>
</Container>
);
};

export default NewUser;
export default NewUser;
Loading