From 0013685c38673f8e53c4a9bf142db28a80065868 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pomucz=20Tam=C3=A1s?= <pomucz@sch.bme.hu> Date: Sun, 18 Feb 2024 23:15:10 +0100 Subject: [PATCH] homepage padding fix --- src/components/pages/Home.js | 64 ++++++++++++++++++------------------ 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/src/components/pages/Home.js b/src/components/pages/Home.js index 852ac2c..e8d2f8f 100644 --- a/src/components/pages/Home.js +++ b/src/components/pages/Home.js @@ -103,22 +103,22 @@ class Home extends Component { /> <Container> {this.props.user.id ? ( - <Button - as={Link} - to="/profile" - primary - size="huge" - style={{ - fontSize: "2vw", - marginTop: "1vw", - marginBottom: "1vw", - fontWeight: "bold", - letterSpacing: "0.13vw", - }} - > + <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> + <Icon name="right arrow" /> + </Button> ) : ( <Button href="/oidc/authenticate/" @@ -205,22 +205,22 @@ class Home extends Component { /> <Container> {this.props.user.id ? ( - <Button - as={Link} - to="/profile" - primary - size="massive" - style={{ - fontSize: "4vw", - marginTop: "1.5vw", - marginBottom: "1vw", - fontWeight: "bold", - letterSpacing: "0.15vw", - }} - > + <Button + as={Link} + to="/profile" + primary + size="massive" + style={{ + fontSize: "4vw", + marginTop: "1.5vw", + marginBottom: "1vw", + fontWeight: "bold", + letterSpacing: "0.15vw", + }} + > JelentkezĂŠs - <Icon name="right arrow" /> - </Button> + <Icon name="right arrow" /> + </Button> ) : ( <Button href="/oidc/authenticate/" @@ -250,9 +250,9 @@ class Home extends Component { renderText() { const kszk_age = new Date().getFullYear() - 1976; return ( - <Segment style={{ padding: "8em 0em", fontFamily: "Arial" }} vertical> + <Segment style={{ padding: "1em 0em", fontFamily: "Arial" }} vertical> <Container text> - <Segment inverted color="green" tertiary> + <Segment inverted color="green" tertiary> <Header as="h3" style={{ fontSize: "2em", fontFamily: "Arial" }}> BemutatkozĂł videĂłk </Header> -- GitLab