From 3cbcb5054c554fbe9d47ff0cf550f3302678db5b Mon Sep 17 00:00:00 2001 From: Leon Liang Date: Thu, 3 Oct 2019 11:46:50 -0400 Subject: [PATCH] Modifed user.js using grid displaying --- twistter-frontend/src/pages/user.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/twistter-frontend/src/pages/user.js b/twistter-frontend/src/pages/user.js index 9b67f3a..f1113a0 100644 --- a/twistter-frontend/src/pages/user.js +++ b/twistter-frontend/src/pages/user.js @@ -7,16 +7,20 @@ import Grid from '@material-ui/core/Grid'; import Card from '@material-ui/core/Card'; import CardMedia from '@material-ui/core/CardMedia'; import CardContent from '@material-ui/core/CardContent'; +import Chip from '@material-ui/core/Chip'; +import Paper from '@material-ui/core/Paper'; + const PostCard = styled(Card)({ background: 'linear-gradient(45deg, #1da1f2 90%)', border: 3, borderRadius: 3, - height:225, + height:325, width: 345, padding: '0 30px', }); + class user extends Component { componentDidMount(){ //TODO: get user details @@ -24,17 +28,19 @@ class user extends Component { } render() { - return (

Post

- Profile here + + + Username +
- ) + ); } }