Skip to content

Commit

Permalink
removed deprecated material-ui and the placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
Boredalien248 committed Oct 23, 2023
1 parent cf660dd commit 55a27ed
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 284 deletions.
277 changes: 0 additions & 277 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@material-ui/core": "^4.12.4",
"@mui/icons-material": "^5.14.14",
"@mui/material": "^5.14.14",
"@mui/styles": "^5.14.14",
Expand Down
11 changes: 5 additions & 6 deletions client/src/components/ProfilePage.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
// import Button from "@mui/material/Button"
// import CssBaseline from "@mui/material/CssBaseline"
import { Typography, CssBaseline, AppBar, Toolbar, Container, Card, Grid, CardMedia, CardContent, CardActions, Button} from "@mui/material"
import { makeStyles } from "@material-ui/core/styles";
import { makeStyles } from "@mui/styles";

const username = "John Doe";
const cards = [1, 2, 3, 4, 5, 6, 7, 8, 9];

const useStyles = makeStyles((theme) => ({
container : {
backgroundColor: "#FAF8F1",
padding: theme.spacing(3, 2, 2),
paddingTop: "2rem",
paddingBottom: "2rem",
display: 'flex',
flexDirection: 'column',
// borderRadius: 10,
Expand All @@ -27,8 +28,8 @@ const useStyles = makeStyles((theme) => ({
marginBottom: '20px'
},
cardGrid: {
paddingTop: theme.spacing(8),
paddingBottom: theme.spacing(8),
paddingTop: "2rem",
paddingBottom: "2rem",
},
card: {
height: '100%',
Expand Down Expand Up @@ -68,8 +69,6 @@ const ProfilePage = () => {

</CardMedia>
<CardContent>
<Typography variant="h5">What is Lorem Ipsum?</Typography>
<Typography>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</Typography>
</CardContent>
<CardActions>
<Button size="small" color="primary">View</Button>
Expand Down

0 comments on commit 55a27ed

Please sign in to comment.