Skip to content

feat: 닉네임으로 프로필을 설정하는 경우 페이지 구성 및 로직 구성 #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jul 20, 2024

Conversation

d0422
Copy link
Contributor

@d0422 d0422 commented Jul 19, 2024

  • axios, react-query 세팅
  • 닉네임으로 프로필 설정하는 UI구성
  • 색상 선택 기능 구현
  • 배경 색상 별로 글자 색을 변경해주는 기능 구현

image image

참고

배경별 글자 색상은 tinycolor2를 통해 구할 수 있었습니다.
배경색보다 25 어두운 색상으로 지정하였습니다.

@d0422 d0422 requested a review from HBSPS July 19, 2024 15:26
@d0422 d0422 self-assigned this Jul 19, 2024
@d0422 d0422 added the feat 새로운 기능 추가 label Jul 19, 2024
Copy link
Contributor

@HBSPS HBSPS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

수고하셨습니다!

export default function NicknameProfile({ navigation }: NicknameProfileProps) {
const route = useRoute<SignupRouteProps<'Signup/NicknameProfile'>>();
const { nickname } = route.params;
const [selectColor, setSelectColor] = useState(NICKNAME_COLOR_SET[0]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

밑에랑 동일하게 selectedColor도 좋을 것 같습니다.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

변경하였습니다~

@d0422 d0422 force-pushed the feat/nickname-profile branch from c4411d1 to 025ab9e Compare July 20, 2024 01:43
@d0422 d0422 merged commit a21972d into main Jul 20, 2024
1 check passed
@d0422 d0422 deleted the feat/nickname-profile branch July 23, 2024 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat 새로운 기능 추가
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants