Skip to content

Commit

Permalink
migrate returninguser to mui
Browse files Browse the repository at this point in the history
  • Loading branch information
angela-lee1 committed Sep 27, 2024
1 parent efb3345 commit 4369a9f
Showing 1 changed file with 42 additions and 14 deletions.
56 changes: 42 additions & 14 deletions client/src/pages/ReturningUser.jsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,50 @@
import React, { useState } from 'react';

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

const ReturningUser = (props) => {
const [returningUser] = useState(true);
const [returningUser] = useState(true);

return (
<div className="flex-container">
<div className="returning">
<div className="returning-headers">
<h3>Welcome Back!</h3>
<h4>We're happy to see you</h4>
<ReadyEvents returningUser={returningUser}/>
</div>
</div>
</div>
)
return (
<Box
sx={{
display: 'flex',
flexDirection: 'column',
height: '100%',
width: '100%',
}}
>
<Box>
<Typography
variant="h3"
sx={{
fontSize: '39.2px',
fontWeight: 900,
textTransform: 'uppercase',
letterSpacing: '-0.7px',
fontFamily:
'"alisoregular", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
}}
>
Welcome Back!
</Typography>
<Typography
variant="h4"
sx={{
fontSize: '28px',
fontWeight: 800,
textTransform: 'uppercase',
letterSpacing: '-0.7px',
fontFamily:
'"alisoregular", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
}}
>
We're happy to see you
</Typography>
<ReadyEvents returningUser={returningUser} />
</Box>
</Box>
);
};

export default ReturningUser;

0 comments on commit 4369a9f

Please sign in to comment.