diff --git a/src/components/pages/Home.js b/src/components/pages/Home.js index da24f13307d59334a5206238290abba9233f0864..baed19cbaa7453afb63b7f473e354b3ab13b8bde 100644 --- a/src/components/pages/Home.js +++ b/src/components/pages/Home.js @@ -103,23 +103,22 @@ class Home extends Component { /> <Container> {this.props.user.id ? ( - <Button - as={Link} - to="/profile" - primary - size="huge" - disabled - style={{ - fontSize: "2vw", - marginTop: "1vw", - marginBottom: "1vw", - fontWeight: "bold", - letterSpacing: "0.13vw", - }} - > - Jelentkezés hamarosan - {/* <Icon name="right arrow" /> */} - </Button> + <Button + as={Link} + to="/profile" + primary + size="huge" + style={{ + fontSize: "2vw", + marginTop: "1vw", + marginBottom: "1vw", + fontWeight: "bold", + letterSpacing: "0.13vw", + }} + > + Jelentkezés + <Icon name="right arrow" /> + </Button> ) : ( <Button href="/oidc/authenticate/" diff --git a/src/components/pages/Profile.js b/src/components/pages/Profile.js index 00e68865f105e35d9584abb3eac7502c9a3222f5..1f9f3ebd531bedc97e9238ec1370ce12837a6a8c 100644 --- a/src/components/pages/Profile.js +++ b/src/components/pages/Profile.js @@ -1,5 +1,3 @@ -/* eslint-disable */ - import { Container, Divider, Dropdown, Form, Segment } from "semantic-ui-react"; import React, { Component } from "react"; import { groupChange, submitRegistration, textChange } from "../../actions"; @@ -39,20 +37,6 @@ class Profile extends Component { } = this.props; const endDate = new Date(deadline); const canEdit = Date.now() < endDate; - return ( //TODO: remove - <Container - style={{ - marginTop: "1em", - }} - > - <Segment inverted color="red" tertiary> - <p - style={{ fontSize: "1.3em" }} - dangerouslySetInnerHTML={{ __html: messageAfter }} - /> - </Segment> - </Container> - ); return ( <Container style={{