-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'add-photocard' into develop
- Loading branch information
Showing
7 changed files
with
120 additions
and
85 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
export interface PhotoCardNameInputProps { | ||
setTitle: (title: string | null) => void | ||
} | ||
|
||
export const InputPhotoCardTitle = (props: PhotoCardNameInputProps) => { | ||
return ( | ||
<div className={"flex flex-row w-full justify-start pl-[100px]"}> | ||
<div | ||
className={"flex border-background-highlight border-solid border-[3px] rounded-[30px] pl-[80px] pr-[80px] pt-[20px] pb-[20px]"}> | ||
<input type={"text"} placeholder={"멋진 이름을 지어주세요!"} | ||
className={"bg-background-default placeholder:text-text-subtext3 placeholder:font-p-light outline-0 font-p-light text-text-white text-[36px]"} | ||
onInput={(input) => { | ||
const text = (input.target as HTMLInputElement).value | ||
|
||
if (text === null || text === undefined || text.trim() === "") { | ||
props.setTitle(null) | ||
} else { | ||
props.setTitle((input.target as HTMLInputElement).value) | ||
} | ||
}} | ||
/> | ||
</div> | ||
</div> | ||
) | ||
} |
12 changes: 12 additions & 0 deletions
12
src/component/body/photocard/add/PhotoCardGroupMemberSelector.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,12 @@ | ||
import {DefaultGroupMemberSelectionComponent} from "../../group/DefaultGroupMemberSelectionComponent"; | ||
|
||
export const PhotoCardGroupMemberSelector = () => { | ||
return ( | ||
<div className={"flex flex-col gap-[30px]"}> | ||
<div className={"flex pl-[100px]"}> | ||
<p className={"font-light text-text-subtext3 text-[32px]"}>누구에 대한 포토카드인가요?</p> | ||
</div> | ||
<DefaultGroupMemberSelectionComponent/> | ||
</div> | ||
) | ||
} |
This file was deleted.
Oops, something went wrong.
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