Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
575 commits
Select commit Hold shift + click to select a range
14d7b1c
✨ feat: 확인 취소, 확인 모달 추가
HaeJungg Oct 31, 2024
fe5d470
💄 design: 버튼 호버시 강조 디자인 추가
HaeJungg Oct 31, 2024
a59ffba
Merge branch 'develop' into Feat/CR-62/AlertModal
HaeJungg Oct 31, 2024
d8c6eee
🗑️ chore: 안쓰는 파일 삭제
HaeJungg Oct 31, 2024
09cf4a7
🐛 fix: api 유틸 간단하게 수정
HaeJungg Oct 31, 2024
833cc12
📝 docs: 프리티어, tsconfig order 추가
HaeJungg Oct 31, 2024
e01f0ff
✨ feat: 목 api 변경, 예시 코드 추가
HaeJungg Oct 31, 2024
8fe718c
✨ feat: 에러처리 추가
HaeJungg Oct 31, 2024
4ddf99d
✨ feat: suspense가 가능하도록 수정
HaeJungg Oct 31, 2024
0fd557b
🎨 style: eslint changed
HaeJungg Oct 31, 2024
f5cf2b2
✨ Feat: auth store 추가, 💄 style: prettier import order 추가
minkyung5x5 Oct 31, 2024
596064e
💄 style: import order 수정
minkyung5x5 Oct 31, 2024
3cf9478
Merge pull request #42 from CodeitFESI4-Team1/Feat/CR-64/ApiUtils
HaeJungg Oct 31, 2024
84379d0
Merge branch 'develop' into Feat/CR-62/AlertModal
HaeJungg Oct 31, 2024
ec58d0b
💄 design: 모달 수정
HaeJungg Oct 31, 2024
1c24133
Merge pull request #40 from CodeitFESI4-Team1/Feat/CR-62/AlertModal
HaeJungg Oct 31, 2024
32d1884
Merge branch 'develop' into Feat/CR-59/HeaderDesign
HaeJungg Oct 31, 2024
fcecfa9
Merge branch 'develop' into Feat/CR-60/LoginPage
minkyung5x5 Oct 31, 2024
57cb238
Merge pull request #38 from CodeitFESI4-Team1/Feat/CR-59/HeaderDesign
HaeJungg Nov 1, 2024
44a5226
🚧 wip: 이전으로 되돌림
HaeJungg Nov 1, 2024
0ed53d0
🐛 Fix: svgr 사용으로 src에 넣은 svg 파일을 파일 주소로 바꿈
Nov 1, 2024
b6afe95
💄 design: 좋아요 컴포넌트 디자인변경
HaeJungg Nov 1, 2024
0003f2f
✨ feat: 하트 컴포넌트 연결, id 추가
HaeJungg Nov 1, 2024
ac54ea3
🗑️ chore: 파일 위치변경
HaeJungg Nov 1, 2024
0cc140f
🎨 style: 글씨체 선언 변경
HaeJungg Nov 1, 2024
b26ed4a
🐛 fix: 디테일 페이지에서 클릭 안되게 변경, 약속 데이터 변경, 캔슬 기능삭제(완전히 삭제되는 방식)
HaeJungg Nov 1, 2024
641eb5d
🐛 fix: 데이터 변경
HaeJungg Nov 1, 2024
7bcd65b
🐛 test: 없는 테스트 삭제
HaeJungg Nov 1, 2024
641ba39
👷 Chore: svgr.d.ts 파일의 ?url 타입 설정 변경 후 Image에 쓰인 svg파일 주소 모두 수정
Nov 1, 2024
a43a270
🐛 Fix: svgr 제거
Nov 1, 2024
bac4344
🐛 Fix: svgr 제거 후 브랜치 최신화
Nov 1, 2024
e9f6a56
Merge branch 'develop' of https://github.com/CodeitFESI4-Team1/Team-1…
yulrang Nov 1, 2024
151af00
👷 Chore: storybook의 main.ts 파일에서 svgr 관련 설정 지움
Nov 1, 2024
038d0e5
Merge pull request #39 from CodeitFESI4-Team1/Feat/CR-14/ReviewHeart
ChoYenii Nov 1, 2024
b4180f1
:recycle: refactor: 由щ럭 �곗竈� 諛 由щ럭 �¢� 鍮쇨린
User850413 Nov 1, 2024
b4ad0cf
:sparkles: feat: mock api
User850413 Nov 1, 2024
1806a4a
Merge branch 'develop' of https://github.com/CodeitFESI4-Team1/Team-1…
yulrang Nov 1, 2024
6fb95b4
✨ Feat: login API 추가
minkyung5x5 Nov 1, 2024
05182cd
:bug: fix: �щ肘吏¦ �곗竈� �¢�� �곕Ⅸ prop ��
User850413 Nov 1, 2024
d108447
:test_tube: test: storybook ��
User850413 Nov 1, 2024
8f3c4ec
✨ Feat: getUser API 추가
minkyung5x5 Nov 1, 2024
c8b317c
✨ Feat: 헤더에 토큰 추가
minkyung5x5 Nov 1, 2024
b7a8b95
Merge branch 'develop' into Feat/CR-60/LoginPage
minkyung5x5 Nov 1, 2024
fad6a34
📦 chore: add 케밥 아이콘
HaeJungg Nov 1, 2024
38f2a17
💄 design: 프로필 이미지, 프로필 모은 컴포넌트 디자인 수정
HaeJungg Nov 1, 2024
d3887fc
💄 design: 크루카드 디자인 변경
HaeJungg Nov 1, 2024
8213b38
🐛 fix: 데이터 변경
HaeJungg Nov 1, 2024
705407b
🐛 fix: 스토리북 오류 수정
HaeJungg Nov 1, 2024
4d61548
✨ Feat: 헤더에 로그아웃 기능 추가
minkyung5x5 Nov 2, 2024
2c447a0
🐛 fix: storybook에서 isauth arg 삭제
minkyung5x5 Nov 2, 2024
2aafeb2
:sparkles: feat: format-date �⑥ 異�
User850413 Nov 3, 2024
92677e9
:lipstick: design: 諛¢ ��� ui �¬�
User850413 Nov 3, 2024
52afb1d
Merge branch 'develop' into Feat/CR-65/ReviewCardListModify
User850413 Nov 3, 2024
195b227
:package: package: merge �¦ �¦� �⑦\ㅼ� �ㅼ�
User850413 Nov 3, 2024
9a4fbc6
✨ Feat: Signup 페이지 추가, 내부의 useForm을 외부에서 선언 하도록 변경
minkyung5x5 Nov 4, 2024
c363315
Feat/cr 70/my page (#43)
yulrang Nov 4, 2024
bd30e0f
Merge branch 'develop' of https://github.com/CodeitFESI4-Team1/Team-1…
yulrang Nov 4, 2024
de9a97b
Merge branch 'develop' into Feat/CR-65/ReviewCardListModify
User850413 Nov 4, 2024
794f105
Merge branch 'develop' into Feat/CR-69/CardsDesign
HaeJungg Nov 4, 2024
17428a0
:lipstick: design: 留�댄竈吏¢� 由щ럭 由ъㅽ �쎌�
User850413 Nov 4, 2024
2bec5a9
📝 docs: 이전 내용 삭제
HaeJungg Nov 4, 2024
98e9476
✨ Feat: 회원가입 API 추가
minkyung5x5 Nov 4, 2024
06255ce
Merge pull request #44 from CodeitFESI4-Team1/Feat/CR-60/LoginPage
minkyung5x5 Nov 4, 2024
f0c96c4
Merge branch 'develop' into Feat/CR-73/Logout
minkyung5x5 Nov 4, 2024
36cf205
Merge pull request #46 from CodeitFESI4-Team1/Feat/CR-69/CardsDesign
HaeJungg Nov 4, 2024
35c483a
Merge branch 'develop' of https://github.com/CodeitFESI4-Team1/Team-1…
yulrang Nov 4, 2024
c9cb33a
✨ feat: 리뷰 점수 및 그래프 추가
HaeJungg Nov 4, 2024
877d112
Merge branch 'develop' into Feat/CR-74/DetailPage
HaeJungg Nov 4, 2024
4a278d6
💄 Style: 전체페이지 레이아웃 수정
minkyung5x5 Nov 4, 2024
5497e65
💄 Style: header에 container 추가
minkyung5x5 Nov 4, 2024
d993302
Merge pull request #47 from CodeitFESI4-Team1/Feat/CR-73/Logout
minkyung5x5 Nov 4, 2024
8dd9648
💄 Style: mantine font pretendard 설정, ♻️ Refactor: font 리팩토링
minkyung5x5 Nov 4, 2024
c234c18
💄 Style: font-pretendard 삭제
minkyung5x5 Nov 4, 2024
f0bab19
Merge branch 'develop' into Feat/CR-72/SignupPage
minkyung5x5 Nov 4, 2024
be7e764
♻️ Refactor: theme /style로 파일 위치 이동
minkyung5x5 Nov 4, 2024
760da18
✨ feat: env 설정 추가
HaeJungg Nov 4, 2024
32b980e
🐛 fix: 타입 수정
HaeJungg Nov 4, 2024
ae5b2e3
🐛 fix: 데이터 이름 수정
HaeJungg Nov 4, 2024
d68a3ca
✨ feat: 목 api 추가
HaeJungg Nov 4, 2024
b856831
🔥 chore: 사용하지않는 레이아웃 삭제
HaeJungg Nov 4, 2024
2a7b9c5
🐛 fix: 데이터에 맞게 수정, 분기처리
HaeJungg Nov 4, 2024
1c9f15e
:recycle: refactor: profile 而댄��몃� �¢泥
User850413 Nov 5, 2024
c8f946a
✨ feat: 캐러셀 직접구현
HaeJungg Nov 5, 2024
2c441a1
🐛 fix: eslint error
HaeJungg Nov 5, 2024
32d0ba6
✨ feat: 디테일 페이지 조립
HaeJungg Nov 5, 2024
6bbb3a6
🐛 fix: 버튼으로 변경 #53
HaeJungg Nov 5, 2024
9e3ffa7
♻️ Refactor: auth folder 추가
minkyung5x5 Nov 5, 2024
030758d
Merge branch 'develop' of https://github.com/CodeitFESI4-Team1/Team-1…
yulrang Nov 5, 2024
93fe558
Feat/cr 58/create crew page (#41)
yulrang Nov 5, 2024
1fc5201
Merge branch 'develop' of https://github.com/CodeitFESI4-Team1/Team-1…
yulrang Nov 5, 2024
f398b46
✨ feat: 박스 섀도우 config 추가
HaeJungg Nov 5, 2024
f53755e
✨ feat: 약속페이지에서 사용하는 카드 추가 #53
HaeJungg Nov 5, 2024
5d02be1
🧪 test: 스토리북 작성 #53
HaeJungg Nov 5, 2024
3ff6c33
♻️ Refactor: (crew) folder 추가
minkyung5x5 Nov 5, 2024
85ecc57
:lipstick: design: �щ(移대���蕤ぉ 蹂¢寃
User850413 Nov 5, 2024
134e055
Merge branch 'develop' into Feat/CR-72/SignupPage
minkyung5x5 Nov 5, 2024
df9a682
🐛 fix: 버튼 type 수정
HaeJungg Nov 5, 2024
9c75c5f
✨ feat: cn 훅 추가
HaeJungg Nov 5, 2024
9c42273
💄 design: ui 수정
HaeJungg Nov 5, 2024
e56071e
Merge pull request #50 from CodeitFESI4-Team1/Feat/CR-72/SignupPage
minkyung5x5 Nov 5, 2024
2c94348
💄 Style: auth layout ui 수정, ♻️ Refactor: layout 리팩토링
minkyung5x5 Nov 5, 2024
2878e03
✨ feat: 약속 디테일 모달 연결
HaeJungg Nov 5, 2024
c9976ef
💄 design: 프로필 컴포넌트로 교체
HaeJungg Nov 5, 2024
01257f3
✨ feat: 크루 리뷰부분 조립
HaeJungg Nov 5, 2024
3e0a742
Merge branch 'develop' into Feat/53/gathering-timeline
HaeJungg Nov 5, 2024
ff1e379
💄 Style: 디자인에 맞게 레이아웃 UI 수정
minkyung5x5 Nov 5, 2024
f9a2cc5
Merge branch 'develop' of https://github.com/CodeitFESI4-Team1/Team-1…
yulrang Nov 5, 2024
77c753c
✨ Feat: 로그인/회원가입 페이지 연결링크 추가
minkyung5x5 Nov 5, 2024
396277b
Merge branch 'develop' into Feat/CR-74/DetailPage
HaeJungg Nov 5, 2024
6c55ee4
🐛 fix: 레이아웃 md 반응형 안되는 문제 수정
HaeJungg Nov 5, 2024
2328329
🚚 chore: 파일 위치 변경
HaeJungg Nov 5, 2024
631a9a1
💄 design: 레이아웃에 따라 수정
HaeJungg Nov 5, 2024
c2b84ef
💄 design: 레이아웃에 따라 수정
HaeJungg Nov 5, 2024
e848cca
:sparkles: feat: 湲곕낯 援ъ“ �¦ #57
User850413 Nov 5, 2024
2b49953
💄 design: 헤더 반응형 디자인 수정
HaeJungg Nov 5, 2024
242b79f
💄 design: my 간격 추가
HaeJungg Nov 5, 2024
72ec8d1
💄 design: mx 간격 추가
HaeJungg Nov 5, 2024
49834ee
🐛 fix: response값에 따른 타입, 값변경
HaeJungg Nov 5, 2024
bfd1939
🐛 fix: response값에 따른 타입, 값변경
HaeJungg Nov 5, 2024
9b50d91
:memo: docs: mock�곗竈� 異� #57
User850413 Nov 5, 2024
d482519
🐛 fix: 타입에러 수정
HaeJungg Nov 5, 2024
140b2e3
:sparkles: feat: mock API 異� #57
User850413 Nov 5, 2024
4a0d17c
✨ feat: notification 추가
HaeJungg Nov 5, 2024
b18146b
:sparkles: feat: �곗竈� �쎌� #57
User850413 Nov 5, 2024
c24b998
Feat/cr 76/index page (#51)
yulrang Nov 5, 2024
c700910
✨ feat: 확인 삭제 모달 추가
HaeJungg Nov 5, 2024
50bf5d4
Merge branch 'develop' into Feat/CR-74/DetailPage
HaeJungg Nov 5, 2024
ee9d9db
💄 design: max 1200으로 수정, container 삭제
HaeJungg Nov 5, 2024
a343c0f
🎨 style: eslint changed
HaeJungg Nov 5, 2024
8f92cb7
Merge branch 'develop' into Feat/53/gathering-timeline
HaeJungg Nov 5, 2024
64f45ee
🐛 Fix: anchor 를 Link로 변경
minkyung5x5 Nov 5, 2024
be7e247
Merge branch 'develop' of https://github.com/CodeitFESI4-Team1/Team-1…
yulrang Nov 5, 2024
83c061f
📦 chore: 패키지 설치
HaeJungg Nov 5, 2024
2f1b399
✨ feat: react-toastify를 이용해 toast 구현
HaeJungg Nov 5, 2024
5f349a2
:lipstick: design: UI �� #57
User850413 Nov 5, 2024
289c342
Merge branch 'develop' into Feat/CR-65/ReviewCardListModify
User850413 Nov 5, 2024
7b3e801
Merge branch 'develop' into 54-auth-loginsignup-ui
minkyung5x5 Nov 5, 2024
672e94f
🐛 fix: (crew) 폴더 안으로 이동
minkyung5x5 Nov 5, 2024
cf070a3
Merge branch 'develop' into 54-auth-loginsignup-ui
minkyung5x5 Nov 5, 2024
db023a4
🔥 chore: git static 폴더 삭제
HaeJungg Nov 5, 2024
df9654c
🐛 fix: 파일위치 재설정
minkyung5x5 Nov 5, 2024
ccaaeef
Merge pull request #66 from CodeitFESI4-Team1/Hotfix/65/DeleteStorybo…
HaeJungg Nov 5, 2024
07a43fc
Merge branch 'develop' into 54-auth-loginsignup-ui
minkyung5x5 Nov 5, 2024
5078f24
Merge pull request #59 from CodeitFESI4-Team1/54-auth-loginsignup-ui
minkyung5x5 Nov 5, 2024
689732b
Merge branch 'develop' of https://github.com/CodeitFESI4-Team1/Team-1…
yulrang Nov 5, 2024
b5b7623
Merge branch 'develop' into Feat/53/gathering-timeline
HaeJungg Nov 5, 2024
49b1e26
Merge branch 'develop' into Feat/CR-65/ReviewCardListModify
User850413 Nov 5, 2024
f7788e2
:bug: fix: import �ㅻ� �닿껐
User850413 Nov 5, 2024
3f11193
:bug: fix: 鍮� �ㅻ� -> import臾 ��
User850413 Nov 5, 2024
ff14b1d
Merge pull request #49 from CodeitFESI4-Team1/Feat/CR-65/ReviewCardLi…
User850413 Nov 5, 2024
5e97bc0
Merge branch 'develop' into Feat/CR-74/DetailPage
HaeJungg Nov 5, 2024
9657c0a
🐛 fix: eslint changed
HaeJungg Nov 5, 2024
709bcbe
Merge branch 'develop' into Feat/53/gathering-timeline
HaeJungg Nov 5, 2024
467565a
Merge branch 'develop' of https://github.com/CodeitFESI4-Team1/Team-1…
yulrang Nov 5, 2024
bac9a2e
Merge pull request #55 from CodeitFESI4-Team1/Feat/53/gathering-timeline
HaeJungg Nov 5, 2024
36dba2e
Feat/cr 71/create gathering modal (#52)
yulrang Nov 5, 2024
350a418
Merge branch 'develop' into Feat/62/Toast
HaeJungg Nov 5, 2024
2c872ef
Merge branch 'develop' of https://github.com/CodeitFESI4-Team1/Team-1…
yulrang Nov 5, 2024
d9a4cee
Merge branch 'develop' into Feat/57/WritableReviewCardList
User850413 Nov 5, 2024
1e6ef46
Merge pull request #63 from CodeitFESI4-Team1/Feat/62/Toast
HaeJungg Nov 5, 2024
5330725
Merge branch 'develop' into Feat/CR-74/DetailPage
HaeJungg Nov 5, 2024
9310948
:bug: fix: profiles� �¦�ы�� prop ��
User850413 Nov 5, 2024
4123bdc
🔥 fix: 사용하지 않는 테스트 주석처리
HaeJungg Nov 6, 2024
9ecb083
✏️ fix: 페이지네이션으로 변경하면서 타입 변경
HaeJungg Nov 6, 2024
8576d6a
📝 docs: 목데이터 rate 변경
HaeJungg Nov 6, 2024
26df4ab
💄 design: 페이지네이션 디자인 변경
HaeJungg Nov 6, 2024
5f6785d
🎨 style: eslint changed
HaeJungg Nov 6, 2024
3af40d7
🐛 fix: 프로필에 이미지 전달안되는 문제 수정 안쓰는 import 제거
HaeJungg Nov 6, 2024
8daeebd
✨ feat: rate 변경
HaeJungg Nov 6, 2024
dcbc5b7
🐛 fix: 크루카드 경로수정
HaeJungg Nov 6, 2024
b6b436d
✨ feat: 크루 리뷰 데이터 목 api 페이지네이션
HaeJungg Nov 6, 2024
5ad31af
✨ feat: 리뷰리스트 페이지네이션
HaeJungg Nov 6, 2024
91f4f42
🧪 test: 스토리북 추가
HaeJungg Nov 6, 2024
dc083a9
🐛 fix: 파일 위치 변경, 네이밍 변경
HaeJungg Nov 6, 2024
f15e233
📝 docs: 데이터 일부 변경
HaeJungg Nov 6, 2024
5a45fd2
📝 docs: 주석 추가
HaeJungg Nov 6, 2024
9d8d75d
🐛 fix: import 변경
HaeJungg Nov 6, 2024
6a55030
✨ feat: 목 데이터 가공
HaeJungg Nov 6, 2024
53381de
💄 design: 스타일 변경
HaeJungg Nov 6, 2024
20f4d78
✨ feat: 크루 리뷰 조립
HaeJungg Nov 6, 2024
b1eceba
🐛 fix: 프로필모음 변경에 따른 타입, 코드 수정
HaeJungg Nov 6, 2024
ac65f03
🐛 fix: lint 에러, 빌드 에러 수정
HaeJungg Nov 6, 2024
c33e66a
🐛 fix: lint 에러, 빌드 에러 수정
HaeJungg Nov 6, 2024
0f1d615
🐛 fix: lint 에러, 빌드 에러 수정
HaeJungg Nov 6, 2024
8c625cc
Merge pull request #64 from CodeitFESI4-Team1/Feat/57/WritableReviewC…
User850413 Nov 6, 2024
bf48378
Merge branch 'develop' of https://github.com/CodeitFESI4-Team1/Team-1…
yulrang Nov 6, 2024
f8695c9
:lipstick: design: reviewList �쎌�
User850413 Nov 6, 2024
dc2b7f5
Merge pull request #61 from CodeitFESI4-Team1/Feat/CR-74/DetailPage
HaeJungg Nov 6, 2024
3bd1796
Merge branch 'develop' of https://github.com/CodeitFESI4-Team1/Team-1…
yulrang Nov 6, 2024
21fea30
🚑 fix: 이름 수정
HaeJungg Nov 6, 2024
7e36e5b
Merge pull request #70 from CodeitFESI4-Team1/Hotfix/69/ChangeFolder
HaeJungg Nov 6, 2024
17c8e68
Merge branch 'develop' of https://github.com/CodeitFESI4-Team1/Team-1…
yulrang Nov 6, 2024
54887f9
🚑 Fix: 변경요청
yulrang Nov 6, 2024
50ab9d4
Merge branch 'develop' into Feat/67/Mypage
User850413 Nov 6, 2024
df0f555
🔥 Remove: 옛날 develop 파일 삭제
Nov 6, 2024
f8db1f4
Feat/56/my crew page (#58)
yulrang Nov 6, 2024
7a1ed4b
🐛 fix: 경로수정
HaeJungg Nov 6, 2024
5f4c538
✨ feat: 약속 만들기 모달 연결
HaeJungg Nov 6, 2024
4297011
🐛 Fix: 빌드 오류 수정
Nov 6, 2024
27e6003
✨ feat: 확인 취소 모달 연결
HaeJungg Nov 6, 2024
6410f54
🐛 fix: 오타 수정
HaeJungg Nov 6, 2024
1f4d1e2
Merge pull request #72 from CodeitFESI4-Team1/Feat/71/AddModal
HaeJungg Nov 6, 2024
0d88261
Feat/60/my-gathering-page (#73)
minkyung5x5 Nov 6, 2024
def770e
Merge branch 'main' into develop
yulrang Nov 6, 2024
ea34667
🚨 Fix: 워크플로우 수정
yulrang Nov 6, 2024
c99441b
:lipstick: design: 由ъㅽ �쎌� 諛 ��� ��
User850413 Nov 6, 2024
07afc64
:bug: fix: �¢��대� �� #67
User850413 Nov 6, 2024
906c68c
Merge branch 'develop' into Feat/67/Mypage
User850413 Nov 6, 2024
555f6d4
:lipstick: design: UI �� #67
User850413 Nov 6, 2024
644ab91
🐛 fix: cors url 추가
minkyung5x5 Nov 7, 2024
37b80b9
🐛 fix: 환경변수로 재설정
minkyung5x5 Nov 7, 2024
58c866f
🐛 fix: url 기본값 설정
minkyung5x5 Nov 7, 2024
2c2a7ea
Merge pull request #79 from CodeitFESI4-Team1/78-cors-error
minkyung5x5 Nov 7, 2024
4b3679b
Merge branch 'main' into develop
yulrang Nov 7, 2024
608af8f
🐛 Fix: 빌드 오류 해결
Nov 7, 2024
0095a26
💄 Design: 버튼 색 변경
Nov 7, 2024
d567976
🐛 fix: 요청시 url 수정
minkyung5x5 Nov 7, 2024
ae2d59f
Feat/cr 58/create crew page (#75)
yulrang Nov 7, 2024
dccc388
Merge pull request #81 from CodeitFESI4-Team1/78-cors-error
minkyung5x5 Nov 7, 2024
07587a7
Merge pull request #68 from CodeitFESI4-Team1/Feat/CR-63/ReviewingModal
ChoYenii Nov 7, 2024
76af0b0
Merge branch 'develop' into Feat/67/Mypage
User850413 Nov 7, 2024
e77dd83
:sparkles: feat: 由щ럭 �¦ 紐⑤ �쎌�
User850413 Nov 7, 2024
69f567b
🐛 fix: api url 수정
HaeJungg Nov 7, 2024
966c06a
📝 docs: mock.josn 추가
HaeJungg Nov 7, 2024
72ad13c
✨ feat: 목 api를 json server로
HaeJungg Nov 7, 2024
23c3f22
🐛 fix: 잘못된 네이밍 변경
HaeJungg Nov 7, 2024
24d44d5
🎨 style: eslint 수정
HaeJungg Nov 7, 2024
515593a
:recycle: refactor: isModalOpened �⑥ ��
User850413 Nov 7, 2024
547260b
Merge branch 'develop' into Feat/77/Patch-server
HaeJungg Nov 7, 2024
7df9d79
Merge pull request #76 from CodeitFESI4-Team1/Feat/67/Mypage
User850413 Nov 7, 2024
40b1dc9
Merge branch 'develop' into Feat/77/Patch-server
HaeJungg Nov 7, 2024
0dacb9c
📝 docs: id num 수정
HaeJungg Nov 7, 2024
922ff80
🐛 fix: totalReviewCount로 이름 변경
HaeJungg Nov 7, 2024
4743ff9
📦 chore: 사용하지 않는 파일, 폴더 삭제
HaeJungg Nov 7, 2024
f1e336d
Merge pull request #82 from CodeitFESI4-Team1/Feat/77/Patch-server
HaeJungg Nov 7, 2024
d14b23f
🐛 fix: url 원래대로 수정
minkyung5x5 Nov 7, 2024
45b3d18
🐛 fix: cors 링크 glitch로 수정
minkyung5x5 Nov 7, 2024
5b85dd1
Merge pull request #83 from CodeitFESI4-Team1/78-cors-error
minkyung5x5 Nov 7, 2024
0c8e4d5
Hotfix: env 명칭변경 (#84)
yulrang Nov 7, 2024
9641dd5
Merge branch 'main' into develop
yulrang Nov 7, 2024
2203f2f
🚑 fix: 엔드포인트 변경
HaeJungg Nov 7, 2024
dfb5aa7
Merge pull request #86 from CodeitFESI4-Team1/Hotfix/changedFetch
HaeJungg Nov 7, 2024
6933d34
🚑 fix: 로그인 하지 않은 사용자 막기
HaeJungg Nov 7, 2024
39be407
🐛 fix: api 연결전 크루 id 임시로 사용
HaeJungg Nov 7, 2024
d902276
🐛 fix: api 연결전 크루 id 임시로 사용
HaeJungg Nov 7, 2024
9f00795
🐛 fix: 사용하지 않는부분 주석처리
HaeJungg Nov 7, 2024
2d2c08b
🐛 fix: 로그아웃 로직삭제
HaeJungg Nov 7, 2024
5b01b40
Merge pull request #89 from CodeitFESI4-Team1/Hotfix/ImageChanged
HaeJungg Nov 7, 2024
3367a8d
Hofix/index page : 파일샘플 컴포넌트 수정 (#88)
yulrang Nov 7, 2024
423c44c
Merge branch 'main' into develop
yulrang Nov 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5,175 changes: 2,097 additions & 3,078 deletions package-lock.json

Large diffs are not rendered by default.

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.
11 changes: 11 additions & 0 deletions public/assets/images/crew-sample/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import ImgCrewSample01 from './crew-sample-1.jpg';
import ImgCrewSample02 from './crew-sample-2.jpg';
import ImgCrewSample03 from './crew-sample-3.jpg';

const ImgCrewSamples = [
ImgCrewSample01,
ImgCrewSample02,
ImgCrewSample03,
];

export default ImgCrewSamples;
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.
11 changes: 11 additions & 0 deletions public/assets/images/gathering-sample/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import ImgGatheringSample01 from './gathering-sample-1.jpg';
import ImgGatheringSample02 from './gathering-sample-2.jpg';
import ImgGatheringSample03 from './gathering-sample-3.jpg';

const ImgGatheringSamples = [
ImgGatheringSample01,
ImgGatheringSample02,
ImgGatheringSample03,
];

export default ImgGatheringSamples;
19 changes: 12 additions & 7 deletions src/app/(crew)/crew/_components/create-crew-form/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import DropDown from '@/src/components/common/input/drop-down';
import FileInputWrap from '@/src/components/common/input/file-input-wrap';
import TextInput from '@/src/components/common/input/text-input';
import { CreateCrewRequestTypes } from '@/src/types/create-crew';
import ImgCrewSamples from '@/public/assets/images/crew-sample';

export interface CreateCrewFormTypes {
data: CreateCrewRequestTypes;
Expand All @@ -37,7 +38,8 @@ export default function CreateCrewForm({
mode: 'onBlur',
});

const isFormValid = Object.keys(errors).length === 0;
const isFormValid = Object.keys(errors).length === 0 && Object.values(data).every(Boolean);

const [categoryIndex, setCategoryIndex] = useState(0);
const [regionIndex, setRegionIndex] = useState(0);

Expand All @@ -46,17 +48,16 @@ export default function CreateCrewForm({
const mainLocation = useWatch({ control, name: 'mainLocation' });

const handleMainCategoryChange = (newValue: string | null) => {
setValue('mainCategory', newValue);
setValue('subCategory', null);
setValue('mainCategory' as const, newValue as CreateCrewRequestTypes['mainCategory']);
setValue('subCategory' as const, null as CreateCrewRequestTypes['subCategory']);
clearErrors('subCategory');
};

const handleMainLocationChange = (newValue: string | null) => {
setValue('mainLocation', newValue);
setValue('subLocation', null);
setValue('mainLocation' as const, newValue as CreateCrewRequestTypes['mainLocation']);
setValue('subLocation' as const, null as CreateCrewRequestTypes['subLocation']);
clearErrors('subLocation');
};

useEffect(() => {
setCategoryIndex(categoryData.findIndex((category) => category.title.value === mainCategory));
setRegionIndex(regionData.findIndex((region) => region.main.value === mainLocation));
Expand Down Expand Up @@ -154,7 +155,11 @@ export default function CreateCrewForm({
control={control}
rules={{ required: '이미지를 선택해주세요.' }}
render={({ field }) => (
<FileInputWrap {...field} onChange={(newValue) => field.onChange(newValue)} />
<FileInputWrap
{...field}
sample={ImgCrewSamples}
onChange={(newValue) => field.onChange(newValue)}
/>
)}
/>
{errors.imageUrl && <p className="text-red-500">{errors.imageUrl.message}</p>}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import FileInputWrap from '@/src/components/common/input/file-input-wrap';
import TextInput from '@/src/components/common/input/text-input';
import Textarea from '@/src/components/common/input/textarea';
import { CreateGatheringRequestType } from '@/src/types/gathering-data';
import ImgGatheringSamples from '@/public/assets/images/gathering-sample';

export interface CreateGatheringFormTypes {
data: CreateGatheringRequestType;
Expand Down Expand Up @@ -89,6 +90,7 @@ export default function CreateGatheringForm({
</label>
<div className="flex">
<FileInputWrap
sample={ImgGatheringSamples}
value={values.imageUrl}
onChange={(newValue) =>
setValues((prevValues) => ({ ...prevValues, imageUrl: newValue }))
Expand Down
6 changes: 3 additions & 3 deletions src/app/(crew)/crew/create/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ export default function CreateCrewPage() {
const initialValue: CreateCrewRequestTypes = {
title: '',
mainCategory: '',
subCategory: '',
subCategory: null,
imageUrl: null,
mainLocation: '',
subLocation: '',
totalCount: 0,
subLocation: null,
totalCount: 4,
};

const handleSubmit = () => {
Expand Down
14 changes: 13 additions & 1 deletion src/app/(crew)/crew/detail/[id]/_components/create-gathering.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
'use client';

import { useRouter } from 'next/navigation';
import { useDisclosure } from '@mantine/hooks';
import { useAuthStore } from '@/src/store/use-auth-store';
import CreateGatheringModalContainer from '@/src/app/(crew)/crew/_components/create-gathering-modal/container';
import Button from '@/src/components/common/input/button';
import { CreateGatheringRequestType } from '@/src/types/gathering-data';

export default function CreateGathering() {
const { isAuth } = useAuthStore();
const router = useRouter();
const [opened, { open, close }] = useDisclosure(false);

const handleButtonClick = () => {
if (isAuth) {
open(); // 로그인 상태일 경우 모달 열기
} else {
router.push('/login'); // 비로그인 상태일 경우 로그인 페이지로 이동
}
};

const initialValue: CreateGatheringRequestType = {
title: '',
introduce: '',
Expand All @@ -19,7 +31,7 @@ export default function CreateGathering() {

return (
<>
<Button type="button" className="btn-filled px-4" onClick={open}>
<Button type="button" className="btn-filled px-4" onClick={handleButtonClick}>
약속 만들기
</Button>
<CreateGatheringModalContainer opened={opened} close={close} data={initialValue} />
Expand Down
5 changes: 4 additions & 1 deletion src/app/_components/hero/hero-crew.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
import Image from 'next/image';
import Link from 'next/link';
import { Button } from '@mantine/core';
import { useAuthStore } from '@/src/store/use-auth-store';
import ImgHeroCrew from '@/public/assets/icons/ic-dumbbell.svg';

export default function HeroCrew() {
const { isAuth } = useAuthStore();

return (
<section className="pb-3 md:pb-4 lg:pb-12.5">
<div className="flex items-end justify-between">
Expand All @@ -20,7 +23,7 @@ export default function HeroCrew() {
</div>
<Button
component={Link}
href="/crew/create"
href={isAuth ? '/crew/create' : '/login'}
className="-translate-y-1 items-center rounded-xl bg-blue-500 py-2 text-sm font-semibold md:h-11 md:text-lg md:font-bold"
>
크루 만들기
Expand Down
4 changes: 3 additions & 1 deletion src/components/common/crew-list/crew-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ export default function CrewCard({
inWhere,
}: CrewCardProps) {
const [prefetched, setPrefetched] = useState(new Set());
const CREWPAGE = `/crew/detail/${id}`;
// NOTE: api연결 후 되돌리기
// const CREWPAGE = `/crew/detail/${id}`;
const CREWPAGE = `/crew/detail/1`;
const router = useRouter();

const handleCardClick = () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { useState } from 'react';
import { StaticImageData } from 'next/image';
import { action } from '@storybook/addon-actions';
import { Meta, StoryFn } from '@storybook/react';
import FileInput, { FileInputProps } from '.';
Expand All @@ -25,7 +26,7 @@ const meta: Meta = {
export default meta;

const Template: StoryFn<FileInputProps> = function FileInputStory() {
const [fileValue, setFileValue] = useState<File | null>(null);
const [fileValue, setFileValue] = useState<File | StaticImageData | null>(null);
const [isBlur, setIsBlur] = useState(false);

return (
Expand Down Expand Up @@ -54,7 +55,7 @@ export const FileInput01 = Template.bind({});
FileInput01.args = {
value: null,
isBlur: false,
onChange: (newValue: File | null) => {
onChange: (newValue: File | StaticImageData | null) => {
action('onChange')({ image: newValue });
},
};
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { ChangeEvent, useEffect, useRef, useState } from 'react';
import Image from 'next/image';
import Image, { StaticImageData } from 'next/image';
import IcoPlus from '@/public/assets/icons/ic-plus.svg';
import IcoX from '@/public/assets/icons/ic-x.svg';

export interface FileInputProps {
value: File | null;
onChange: (value: File | null) => void;
value: File | StaticImageData | null;
onChange: (value: File | StaticImageData | null) => void;
isBlur: boolean;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import { useState } from 'react';
import { StaticImageData } from 'next/image';
import { action } from '@storybook/addon-actions';
import { Meta, StoryFn } from '@storybook/react';
import ImgCrewSamples from '@/public/assets/images/crew-sample';
import FileSample, { FileSampleProps } from '.';

const meta: Meta = {
title: 'Components/input/file-sample',
component: FileSample,
argTypes: {
imgUrl: {
image: {
control: 'text',
description: '샘플 이미지 URL',
},
Expand All @@ -24,13 +26,11 @@ const meta: Meta = {

export default meta;

const Template: StoryFn<FileSampleProps> = function FileInputStory(
args: FileSampleProps = { isBlur: false, imgUrl: '', onChange: () => {} },
) {
const [selectedFile, setSelectedFile] = useState<File | null>(null);
const Template: StoryFn<FileSampleProps> = function FileInputStory(args: FileSampleProps) {
const [selectedFile, setSelectedFile] = useState<File | StaticImageData | null>(null);
const [isBlur, setIsBlur] = useState(false);

const handleFileChange = (file: File | null) => {
const handleFileChange = (file: File | StaticImageData | null) => {
setSelectedFile(file);
setIsBlur(false); // 파일 선택 시 블러 해제
};
Expand All @@ -47,14 +47,12 @@ const Template: StoryFn<FileSampleProps> = function FileInputStory(
>
블러 토글
</button>
{!isBlur && <p>{selectedFile?.name}</p>}
</div>
);
};
export const FileSample01 = Template.bind({});
FileSample01.args = {
imgUrl:
'https://images.stockcake.com/public/a/7/6/a768d87b-1f99-4b50-9286-f1583af33522_large/team-huddle-celebration-stockcake.jpg',
image: ImgCrewSamples[0],
isBlur: false,
onChange: () => {
action('onChange');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { useEffect, useRef } from 'react';
import Image from 'next/image';
import Image, { StaticImageData } from 'next/image';

export interface FileSampleProps {
imgUrl: string;
image: StaticImageData;
isBlur: boolean;
onChange: (inputValue: File | null) => void;
onChange: (inputValue: StaticImageData) => void;
}

export default function FileSample({ imgUrl, isBlur, onChange }: FileSampleProps) {
export default function FileSample({ image, isBlur, onChange }: FileSampleProps) {
const radioInput = useRef<HTMLInputElement>(null);

const convertUrlToFile = async (
Expand All @@ -21,8 +21,7 @@ export default function FileSample({ imgUrl, isBlur, onChange }: FileSampleProps
};

const handleClick = async () => {
const file = await convertUrlToFile(imgUrl, 'crew-01.webp', 'image/webp');
onChange(file);
onChange(image);
};

useEffect(() => {
Expand All @@ -41,7 +40,7 @@ export default function FileSample({ imgUrl, isBlur, onChange }: FileSampleProps
className="absolute inset-0 hidden"
/>
<Image
src={imgUrl}
src={image}
width={282}
height={282}
alt="샘플 이미지 1"
Expand Down
32 changes: 11 additions & 21 deletions src/components/common/input/file-input-wrap/index.tsx
Original file line number Diff line number Diff line change
@@ -1,27 +1,29 @@
'use client';

import { useState } from 'react';
import { StaticImageData } from 'next/image';
import FileInput from './file-input';
import FileSample from './file-sample';

export interface FileInputProps {
value: File | null;
onChange: (newValue: File | null) => void;
value: File | StaticImageData | null;
sample: StaticImageData[];
onChange: (newValue: File | StaticImageData | null) => void;
}

export default function FileInputWrap({ value, onChange }: FileInputProps) {
const [fileValue, setFileValue] = useState<File | null>(value);
export default function FileInputWrap({ value, sample, onChange }: FileInputProps) {
const [fileValue, setFileValue] = useState<File | StaticImageData | null>(value);
const [isOtherSelected, setIsOtherSelected] = useState(false);
const [isSampleSelected, setIsSampleSelected] = useState(false);

const handleChange = (inputValue: File | null) => {
const handleChange = (inputValue: StaticImageData) => {
setIsOtherSelected(false);
setIsSampleSelected(true);
setFileValue(inputValue);
onChange(inputValue);
};

const handleFileInput = (inputValue: File | null) => {
const handleFileInput = (inputValue: File | StaticImageData | null) => {
setIsOtherSelected(true);
setIsSampleSelected(false);
setFileValue(inputValue);
Expand All @@ -30,21 +32,9 @@ export default function FileInputWrap({ value, onChange }: FileInputProps) {

return (
<div className="container flex max-w-[1200px] gap-4">
<FileSample
imgUrl="https://images.stockcake.com/public/a/7/6/a768d87b-1f99-4b50-9286-f1583af33522_large/team-huddle-celebration-stockcake.jpg"
onChange={handleChange}
isBlur={isOtherSelected}
/>
<FileSample
imgUrl="https://images.stockcake.com/public/a/a/0/aa0e5e46-987b-43ab-9e14-0012148d4d47_large/joyful-sports-gathering-stockcake.jpg"
onChange={handleChange}
isBlur={isOtherSelected}
/>
<FileSample
imgUrl="https://images.stockcake.com/public/2/4/0/240c891a-9e35-4490-8714-a1c135b0c645_large/team-celebration-time-stockcake.jpg"
onChange={handleChange}
isBlur={isOtherSelected}
/>
<FileSample image={sample[0]} onChange={handleChange} isBlur={isOtherSelected} />
<FileSample image={sample[1]} onChange={handleChange} isBlur={isOtherSelected} />
<FileSample image={sample[2]} onChange={handleChange} isBlur={isOtherSelected} />
<FileInput value={fileValue} onChange={handleFileInput} isBlur={isSampleSelected} />
</div>
);
Expand Down
8 changes: 5 additions & 3 deletions src/types/create-crew.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import { StaticImageData } from 'next/image';

// NOTE : imageURL 임시로 File로 지정
export interface CreateCrewRequestTypes {
title: string;
mainCategory: string | null;
mainCategory: string;
subCategory: string | null;
imageUrl: File | null;
mainLocation: string | null;
imageUrl: File | StaticImageData | null;
mainLocation: string;
subLocation: string | null;
totalCount: number;
}
3 changes: 2 additions & 1 deletion src/types/gathering-data.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { StaticImageData } from 'next/image';
import { UserType } from './user';

export interface GatheringType {
Expand Down Expand Up @@ -31,7 +32,7 @@ export interface CreateGatheringRequestType {
dateTime: string;
location: string;
totalCount: number;
imageUrl: File | null; // NOTE : 임시로 File로 설정
imageUrl: File | StaticImageData | null; // NOTE : 임시로 File로 설정
}

export interface GatheringCardProps {
Expand Down