From e2df61586e5de5d5297cabc9cf768db9e4515d44 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Fri, 9 Nov 2018 21:17:38 +0100 Subject: [PATCH] Disabling Profile Images Tab --- client/package.json | 2 +- client/src/components/ProfileImages.js | 58 ++++++++++---------------- client/src/components/UserTabs.js | 2 +- 3 files changed, 23 insertions(+), 39 deletions(-) diff --git a/client/package.json b/client/package.json index e52309b1e..8e59b03ca 100644 --- a/client/package.json +++ b/client/package.json @@ -1,7 +1,7 @@ { "name": "@advancedalgos/users-client", "description": "Advanced Algos Users client-side web app", - "version": "0.0.19", + "version": "0.0.20", "main": "src/index.js", "dependencies": { "@material-ui/core": "^3.2.0", diff --git a/client/src/components/ProfileImages.js b/client/src/components/ProfileImages.js index 8e5c100e6..2a7788304 100644 --- a/client/src/components/ProfileImages.js +++ b/client/src/components/ProfileImages.js @@ -1,54 +1,38 @@ import React, { Component } from 'react' import { compose } from 'recompose' import { withStyles } from '@material-ui/core/styles' -import CssBaseline from '@material-ui/core/CssBaseline' +import Paper from '@material-ui/core/Paper' +import Typography from '@material-ui/core/Typography' const styles = theme => ({ - + root: { + width: '50%', + flexGrow: 1, + padding: 10, + marginLeft: '25%', + marginTop: '5%', + marginBottom: '10%' + }, + typography: { + width: '80%', + marginLeft: '10%', + marginTop: 40, + marginBottom: 40 + } }) class ProfileImages extends Component { - componentDidMount () { - window.dispatchEvent(new Event('load')) // This is a workaround to solve the problem that the slider does not show up - } - render () { const { classes } = this.props return ( - -
-
-
-
-
-
    -
  • - -
    -
    -
    -
    -
    -

    Profile Images

    -

    -
    Comming Soon. -

    -
    -
    -
    -
    -
    -
  • -
-
-
-
-
-
+ + + Comming Soon + +
- ) } } diff --git a/client/src/components/UserTabs.js b/client/src/components/UserTabs.js index 592bc8da9..7821ed19e 100644 --- a/client/src/components/UserTabs.js +++ b/client/src/components/UserTabs.js @@ -65,7 +65,7 @@ class UserTabs extends React.Component { fullWidth > } /> - } /> + } /> } /> } />