Fixing merge conflicts

This commit is contained in:
Clayton Wilson 2019-10-11 17:58:55 -04:00
commit 76ef3a6561
3 changed files with 31 additions and 13 deletions

View File

@ -454,9 +454,9 @@
}
},
"is-buffer": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.3.tgz",
"integrity": "sha512-U15Q7MXTuZlrbymiz95PJpZxu8IlipAp4dtS3wOdgPXx3mqBnslrWU14kxfHB+Py/+2PVKSr37dMAgM2A4uArw=="
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.4.tgz",
"integrity": "sha512-Kq1rokWXOPXWuaMAqZiJW4XxsmD9zGx9q4aePabbn3qCRGedtH7Cm+zV8WETitMfu1wdh+Rvd6w5egwSngUX2A=="
}
}
},

View File

@ -1,3 +1,7 @@
html,
body {
background-color: rgb(245, 245, 245);
}
.app {
font-family: "Segoe UI";
font-size: large;

View File

@ -1,32 +1,46 @@
/* eslint-disable */
import React, { Component } from 'react';
import axios from 'axios';
//import '../App.css';
import { makeStyles, styled } from '@material-ui/core/styles';
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,
width: 645,
height:325,
width: 345,
padding: '0 30px',
});
class user extends Component {
render() {
class user extends Component {
componentDidMount(){
//TODO: get user details
//TODO: get posts
}
render() {
return (
<div>
<h1>User Profile</h1>
<br/><br/>
<PostCard>Some card and content</PostCard>
<br/><br/>
</div>
)
<Grid container spacing={16}>
<Grid item sm={8} xs={12}>
<p>Post</p>
</Grid>
<Grid item sm={4} xs={12}>
<PostCard>
<CardMedia image="./no-img-png" />
<CardContent>Username</CardContent>
</PostCard>
</Grid>
</Grid>
);
}
}