From cf0f429a9444e12946836f93ce7b8dbb4bdef2b7 Mon Sep 17 00:00:00 2001 From: Leon Xu Date: Sat, 7 May 2022 12:25:58 -0700 Subject: [PATCH] doc: add login class along with login container and registerButton and its style --- src/Auth/Login.css | 16 ++++++++++++++++ src/Auth/Login.js | 35 ++++++++++++++++++++++++++++++++++- 2 files changed, 50 insertions(+), 1 deletion(-) diff --git a/src/Auth/Login.css b/src/Auth/Login.css index e69de29..11d50f4 100644 --- a/src/Auth/Login.css +++ b/src/Auth/Login.css @@ -0,0 +1,16 @@ +.login { + background-color: white; + height: 100vh; + display: flex; + flex-direction: column; + align-items: center; +} + +.login__logo { + margin-top: 20px; + margin-bottom: 20px; + object-fit: contain; + width: 100px; + margin-right: auto; + margin-left: auto; +} diff --git a/src/Auth/Login.js b/src/Auth/Login.js index c304643..dd2b154 100644 --- a/src/Auth/Login.js +++ b/src/Auth/Login.js @@ -1,8 +1,41 @@ import React from "react"; +import { Link } from "react-router-dom"; import "./Login.css"; function Login() { - return
Login
; + return ( +
+ + amazon login logo + + +
+

Sign in

+
+
Email
+ +
Password
+ + + +
+ +

+ By signing-in you agree to the Amazon's Conditions of Use & Sale. + Please see our Privacy Notice, our Cookies Notice and our + Interest-Based Ads Notice. +

+ + +
+
+ ); } export default Login;