From e4ac66fe7ea97ade6d5ce330a31a5596f4734dc4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pomucz=20Tam=C3=A1s?= <pomucz@sch.bme.hu>
Date: Sat, 8 Feb 2025 14:27:51 +0100
Subject: [PATCH] Revert "Hide profile, mentors and schedule page."

This reverts commit 4208baad0388099e0ef21b84f17bf7e35f091e00.
---
 src/components/pages/Home.js    | 33 ++++++++++++++++-----------------
 src/components/pages/Profile.js | 16 ----------------
 2 files changed, 16 insertions(+), 33 deletions(-)

diff --git a/src/components/pages/Home.js b/src/components/pages/Home.js
index da24f13..baed19c 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 00e6886..1f9f3eb 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={{
-- 
GitLab