-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: 커피챗 오픈, 상세 로깅 * fix: 로깅 타입에러 수정 * feat: 커피챗 타입 변경에 따른 수정 * chore: 스네이크 케이스로 변경
- Loading branch information
1 parent
0448354
commit 961d1a9
Showing
6 changed files
with
92 additions
and
18 deletions.
There are no files selected for viewing
27 changes: 15 additions & 12 deletions
27
src/components/coffeechat/detail/RegisterCoffeechatButton/index.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 |
---|---|---|
@@ -1,24 +1,27 @@ | ||
import { Button } from '@sopt-makers/ui'; | ||
|
||
import Responsive from '@/components/common/Responsive'; | ||
import { LoggingClick } from '@/components/eventLogger/components/LoggingClick'; | ||
|
||
interface RegisterCoffeechatButtonProps { | ||
onClick: () => void; | ||
} | ||
|
||
export default function RegisterCoffeechatButton({ onClick }: RegisterCoffeechatButtonProps) { | ||
return ( | ||
<div onClick={onClick}> | ||
<Responsive only='desktop'> | ||
<Button size='lg' style={{ whiteSpace:'nowrap' }}> | ||
커피챗 제안하기 | ||
</Button> | ||
</Responsive> | ||
<Responsive only='mobile'> | ||
<Button size='md' style={{ width: '100%',whiteSpace:'nowrap' }}> | ||
커피챗 제안하기 | ||
</Button> | ||
</Responsive> | ||
</div> | ||
<LoggingClick eventKey='sendCoffeechat'> | ||
<div onClick={onClick}> | ||
<Responsive only='desktop'> | ||
<Button size='lg' style={{ whiteSpace: 'nowrap' }}> | ||
커피챗 제안하기 | ||
</Button> | ||
</Responsive> | ||
<Responsive only='mobile'> | ||
<Button size='md' style={{ width: '100%', whiteSpace: 'nowrap' }}> | ||
커피챗 제안하기 | ||
</Button> | ||
</Responsive> | ||
</div> | ||
</LoggingClick> | ||
); | ||
} |
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