From 514de0e4aea5552344ae46291486f095ba4e23ef Mon Sep 17 00:00:00 2001 From: cami Date: Mon, 21 Jun 2021 03:51:15 +0200 Subject: [PATCH 1/4] First working frontend for the login --- frontend/src/App.css | 9 ++++++++ frontend/src/App.js | 2 ++ frontend/src/components/InputField.js | 12 +++++++++++ frontend/src/components/SubmitField.js | 12 +++++++++++ frontend/src/components/pages/Login.js | 29 ++++++++++++++++++++++++++ 5 files changed, 64 insertions(+) create mode 100644 frontend/src/components/InputField.js create mode 100644 frontend/src/components/SubmitField.js create mode 100644 frontend/src/components/pages/Login.js diff --git a/frontend/src/App.css b/frontend/src/App.css index f478d26..52855cf 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -45,3 +45,12 @@ color: #fff; font-size: 100px; } + +.sitePage { + height: 90vh; + display: flex; + justify-content: center; +} +.sitePage h1 { + font-size: 80px; +} diff --git a/frontend/src/App.js b/frontend/src/App.js index 50b3cb5..2c25cab 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -7,6 +7,7 @@ import SignUp from "./components/pages/SignUp"; import Ueber from "./components/pages/Ueber"; import Lizenzen from "./components/pages/lizenzen"; import Privacy from "./components/pages/Privacy"; +import Login from "./components/pages/Login"; function App() { return ( @@ -19,6 +20,7 @@ function App() { + diff --git a/frontend/src/components/InputField.js b/frontend/src/components/InputField.js new file mode 100644 index 0000000..c6cda35 --- /dev/null +++ b/frontend/src/components/InputField.js @@ -0,0 +1,12 @@ +import React from "react"; + +function InputField(props) { + return ( + + ); +} + +export default InputField; diff --git a/frontend/src/components/SubmitField.js b/frontend/src/components/SubmitField.js new file mode 100644 index 0000000..4114b28 --- /dev/null +++ b/frontend/src/components/SubmitField.js @@ -0,0 +1,12 @@ +import React from "react"; + +function SubmitField(props) { + const InputValue = props.LabelName; + return ( + + ); +} + +export default SubmitField; diff --git a/frontend/src/components/pages/Login.js b/frontend/src/components/pages/Login.js new file mode 100644 index 0000000..0e29c40 --- /dev/null +++ b/frontend/src/components/pages/Login.js @@ -0,0 +1,29 @@ +import React from "react"; +import "../../App.css"; +import Footer from "../../Footer"; +import InputField from "../InputField"; +import SubmitField from "../SubmitField"; + +export default function Login() { + return ( + <> +
+

Login

+
+ + + + +
+