-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #405 from woowacourse-teams/develop
[All] 모모의 세번째 배포를 축하해요 : )
- Loading branch information
Showing
56 changed files
with
1,532 additions
and
444 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
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
18 changes: 18 additions & 0 deletions
18
backend/src/main/java/kr/momo/service/meeting/dto/MeetingHomeResponse.java
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,18 @@ | ||
package kr.momo.service.meeting.dto; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import kr.momo.domain.meeting.Meeting; | ||
|
||
@Schema(description = "약속 입장 응답") | ||
public record MeetingHomeResponse( | ||
|
||
@Schema(description = "약속 이름") | ||
String meetingName, | ||
|
||
@Schema(description = "약속 유형") | ||
String type | ||
) { | ||
public static MeetingHomeResponse from(Meeting meeting) { | ||
return new MeetingHomeResponse(meeting.getName(), meeting.getType().name()); | ||
} | ||
} |
Submodule security
updated
from 45da7c to a69e04
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
28 changes: 28 additions & 0 deletions
28
frontend/src/components/_common/Buttons/BottomFixedButton/BottomFixedButton.styles.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,28 @@ | ||
import { css } from '@emotion/react'; | ||
|
||
export const s_bottomFixedStyles = css` | ||
width: calc(100% + 1.6rem * 2); | ||
max-width: 43rem; | ||
/* 버튼 컴포넌트의 full variants를 사용하려고 했으나 6rem보다 height값이 작아 직접 높이를 정의했어요(@해리) | ||
full 버튼에 이미 의존하고 있는 컴포넌트들이 많아서 높이를 full 스타일을 변경할 수는 없었습니다. | ||
*/ | ||
height: 6rem; | ||
box-shadow: 0 -4px 4px rgb(0 0 0 / 25%); | ||
`; | ||
|
||
export const s_bottomFixedButtonContainer = (height = 0) => css` | ||
position: fixed; | ||
bottom: 0; | ||
left: 0; | ||
transform: translateY(-${height}px); | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
width: 100%; | ||
height: 6rem; | ||
background-color: transparent; | ||
`; |
33 changes: 33 additions & 0 deletions
33
frontend/src/components/_common/Buttons/BottomFixedButton/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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import type { ButtonHTMLAttributes } from 'react'; | ||
import React from 'react'; | ||
|
||
import { Button } from '../Button'; | ||
import { s_bottomFixedButtonContainer, s_bottomFixedStyles } from './BottomFixedButton.styles'; | ||
|
||
interface BottomFixedButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> { | ||
children: React.ReactNode; | ||
height?: number; | ||
isLoading?: boolean; | ||
} | ||
|
||
export default function BottomFixedButton({ | ||
children, | ||
height = 0, | ||
isLoading = false, | ||
...props | ||
}: BottomFixedButtonProps) { | ||
return ( | ||
<div css={s_bottomFixedButtonContainer(height)}> | ||
<Button | ||
variant="primary" | ||
size="full" | ||
isLoading={isLoading} | ||
borderRadius={0} | ||
customCss={s_bottomFixedStyles} | ||
{...props} | ||
> | ||
{children} | ||
</Button> | ||
</div> | ||
); | ||
} |
Oops, something went wrong.