add login button
This commit is contained in:
parent
0f399b61be
commit
205c187c5f
14
src/components/button/loginButton/LoginButton.tsx
Normal file
14
src/components/button/loginButton/LoginButton.tsx
Normal 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>
|
||||||
|
)
|
||||||
|
}
|
||||||
19
src/components/button/loginButton/LoginButtonView.ts
Normal file
19
src/components/button/loginButton/LoginButtonView.ts
Normal file
@ -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;
|
||||||
|
`
|
||||||
Loading…
x
Reference in New Issue
Block a user