-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: webpush 토글 분리 * refactor: firebase config 수정 * refactor: deleteToken 추가 * test: 15%확률로 구독 해제,등록 실패 * refactor: subscript 낙관적 업데이트 적용 * refactor: pushmanager 조건 추가 및 currentToken 전역 객체 사용 * refactor: pushStatus Class 로 반환 * test: click에 force 추가 * test: type force:true로 설정 * test: 등록에 force 추가 * test: 에러 throw확률 5%로 변경 * refactor: permission이 허용되지 않았을 때 토큰 받지 못하도록 설정 * refactor: 의존성 없는 변수 분리 * chore: 불필요한 콘솔 제거 * feat: foreground인 경우에도 알림 받도록 설정
- Loading branch information
1 parent
5abeafc
commit 08ac55e
Showing
19 changed files
with
303 additions
and
193 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
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
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
27 changes: 27 additions & 0 deletions
27
frontend/src/components/mypage/PushAlert/PushAlert.style.ts
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,27 @@ | ||
import styled from 'styled-components'; | ||
|
||
export const PushAlertWrapper = styled.div` | ||
display: flex; | ||
flex-direction: column; | ||
gap: 8px; | ||
justify-content: space-around; | ||
width: 80%; | ||
margin: 0 auto; | ||
`; | ||
|
||
export const WarnParagraph = styled.p` | ||
font: 400 1.2rem/1.6rem NanumSquareRound; | ||
color: ${({ theme }) => theme.color.accent}; | ||
text-align: right; | ||
`; | ||
|
||
export const PushAlertContent = styled.div` | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
width: 100%; | ||
p { | ||
font: 600 1.6rem/2rem NanumSquareRound; | ||
} | ||
`; |
Oops, something went wrong.