From 205c187c5ff77db48569efd10399dd61fb39c988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Corte?= Date: Thu, 5 May 2022 15:03:04 -0300 Subject: [PATCH] add login button --- .../button/loginButton/LoginButton.tsx | 14 ++++++++++++++ .../button/loginButton/LoginButtonView.ts | 19 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 src/components/button/loginButton/LoginButton.tsx create mode 100644 src/components/button/loginButton/LoginButtonView.ts diff --git a/src/components/button/loginButton/LoginButton.tsx b/src/components/button/loginButton/LoginButton.tsx new file mode 100644 index 0000000..37d374a --- /dev/null +++ b/src/components/button/loginButton/LoginButton.tsx @@ -0,0 +1,14 @@ +import React from 'react' +import { LoginButtonView } from './LoginButtonView' + +interface LoginButtonInterface { + title: string +} + +export default function LoginButton({ title }: LoginButtonInterface) { + return ( + + {title} + + ) +} diff --git a/src/components/button/loginButton/LoginButtonView.ts b/src/components/button/loginButton/LoginButtonView.ts new file mode 100644 index 0000000..412d979 --- /dev/null +++ b/src/components/button/loginButton/LoginButtonView.ts @@ -0,0 +1,19 @@ +import styled from 'styled-components' + +export const LoginButtonView = styled.button` + width: 80%; + height: 95px; + + border-radius: 8px; + background: linear-gradient(88.75deg, #254F7F 0.18%, #888888 99.28); + + font-family: 'Nunito Sans'; + font-style: normal; + font-weight: 700; + font-size: 32px; + line-height: 44px; + text-align: center; + letter-spacing: 0.03em; + + color: #FFFFFF; +`