23 lines
732 B
JavaScript
23 lines
732 B
JavaScript
import styled from 'styled-components'
|
|
import {Link} from 'react-scroll'
|
|
|
|
|
|
export const Button= styled(Link)`
|
|
border-radius: 50px;
|
|
background: ${({primary}) => (primary ? '#01BF71' : '#010606')};
|
|
white-space: nowrap;
|
|
padding: ${({big}) => (big? ' 14px 48px': '12px 30px')};
|
|
color: ${({dark}) => (dark ? '#010106': '#fff')};
|
|
font-size: $${({fontBig}) => (fontBig ? '20px' : '16px')};
|
|
outline: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
transition: all 0.2s ease-in-out;
|
|
&:hover {
|
|
transition: all 0.2s ease-in-out;
|
|
background: ${({primary}) => (primary ? '#fff' : '#01BF71')}
|
|
}
|
|
` |