Last active
March 27, 2021 14:46
-
-
Save abhiaiyer91/5cc9406b08810f834105719611ae2dc8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
const wrapper = { | |
backgroundColor: `rgb(197,250,3)`, | |
display: `flex`, | |
alignItems: `center`, | |
justifyContent: `center`, | |
flexDirection: `column`, | |
height: `100vh`, | |
}; | |
const loginCard = { | |
maxWidth: 420, | |
width: `100%`, | |
background: `black`, | |
boxShadow: `rgb(0 0 0 / 1%) 0px 0px 1px, rgb(0 0 0 / 4%) 0px 4px 8px, rgb(0 0 0 / 4%) 0px 16px 24px, rgb(0 0 0 / 1%) 0px 24px 32px`, | |
borderRadius: `30px`, | |
alignSelf: `center`, | |
padding: `48px 16px`, | |
color: `rgb(197,250,3)`, | |
textAlign: `center`, | |
fontFamily: `Helvetica`, | |
}; | |
const header = { textAlign: `center`, margin: `0 0 8px` }; | |
const paragraph = { margin: `0 0 24px` }; | |
const button = { | |
borderRadius: `4px`, | |
border: `1px solid rgb(247, 248, 250)`, | |
backgroundColor: `rgb(255, 255, 255)`, | |
height: `40px`, | |
width: 240, | |
cursor: `pointer`, | |
}; | |
export default function Login() { | |
return ( | |
<section style={wrapper}> | |
<div style={loginCard}> | |
<h1 style={header}>Welcome to the App</h1> | |
<p style={paragraph}>You can try out logging in below!</p> | |
<button style={button}>LOG IN</button> | |
</div> | |
</section> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment