add buttons: loginButton and basicButton

This commit is contained in:
José Corte 2022-05-06 12:45:42 -03:00
parent 6feac8022b
commit dd2c22ec6f
4 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,12 @@
import React from 'react'
import { BasicButtonView } from './BasicButtonView'
interface BasicButtonInterface {
title: string
}
export default function BasicButton({ title }: BasicButtonInterface) {
return (
<BasicButtonView>{title}</BasicButtonView>
)
}

View File

@ -0,0 +1,20 @@
import styled from 'styled-components'
export const BasicButtonView = styled.button`
display: flex;
justify-content: center;
align-items: center;
background: #254F7F;
border-radius: 8px;
font-family: 'Poppins';
font-style: normal;
font-weight: 600;
font-size: 16px;
line-height: 24px;
/* identical to box height */
color: #FFFFFF;
`

View File

@ -0,0 +1,14 @@
import React from 'react'
import { LoginButtonView } from './LoginButtonView'
interface LoginButtonInterface {
title: string
}
export default function LoginButton({ title }: LoginButtonInterface) {
return (
<LoginButtonView>
{title}
</LoginButtonView>
)
}

View File

@ -0,0 +1,19 @@
import styled from 'styled-components'
export const LoginButtonView = styled.button`
width: 100%;
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;
`