-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
로그인이 필요한 서비스입니다 페이지 연결 현금 충전이 필요한 서비스입니다 페이지 연결 현금 충전 메시지 작성 Issues #15
- Loading branch information
김병현
authored and
김병현
committed
Sep 19, 2023
1 parent
b042676
commit 4fc294c
Showing
6 changed files
with
148 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
client/src/components/HoldingList/LoginRequestIndicator.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// LoginRequestIndicator.tsx | ||
|
||
import React from "react"; | ||
import styled from "styled-components"; | ||
|
||
|
||
interface LoginRequestIndicatorProps { | ||
openOAuthModal: () => void; | ||
} | ||
|
||
const LoginRequestIndicator: React.FC<LoginRequestIndicatorProps> = ({ openOAuthModal }) => { | ||
return ( | ||
<LoginRequestContainer> | ||
<div className="Notification">로그인이 필요한 서비스입니다.</div> | ||
<button className="LoginButton" onClick={openOAuthModal}>StockHolm 로그인</button> | ||
</LoginRequestContainer> | ||
); | ||
}; | ||
|
||
const LoginRequestContainer = styled.div` | ||
width: 100%; | ||
height: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
gap: 8px; | ||
.Notification { | ||
color: #999999; | ||
} | ||
.LoginButton { | ||
width: 170px; | ||
height: 32px; | ||
font-size: 15px; | ||
font-weight: 400; | ||
color: white; | ||
background-color: #2f4f4f; | ||
border: none; | ||
border-radius: 0.3rem; | ||
cursor: pointer; | ||
} | ||
`; | ||
|
||
export default LoginRequestIndicator; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters