Skip to content

Instantly share code, notes, and snippets.

@abhiaiyer91
Last active March 27, 2021 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abhiaiyer91/5cc9406b08810f834105719611ae2dc8 to your computer and use it in GitHub Desktop.
Save abhiaiyer91/5cc9406b08810f834105719611ae2dc8 to your computer and use it in GitHub Desktop.
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