-
Notifications
You must be signed in to change notification settings - Fork 10
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
[4주차] 김류원 미션 제출합니다. #16
Open
ryu-won
wants to merge
26
commits into
CEOS-Developers:master
Choose a base branch
from
ryu-won:ryu-won
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 20 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
510f498
deploy: vercel배포
43ad7e6
refactor: 프로필보기 클릭시 채팅창 blur로 배경 보이게 수정, feat: 입력 input 클릭시 thumb_up …
3437596
feat: profil detail 이모티콘 img 수정
9e05103
feat: profil detail sns 연결
78369ec
feat: 반응형구현
8290467
chore: profileDetail에서 back blur 상단 하단 bar까지,time 텍스트 하단 정렬
8ebfd4b
feat: 메세지 애니메이션 수정(상대방으로 전환시에도 애니메이션 효과)
d12db29
feat: pretendard font 추가
bb058b0
chore:필요없는 주석 제거
3ecd1a1
fix: 상대방 프로필이 표시되도록 ProfileDetail 및 Header 컴포넌트 수정
f6553e1
feat : 친구목록 라우팅, bottomNav ui
ryu-won 1dcbaf4
feat : 친구목록라우팅, bottomnav ui
ryu-won 114b0f0
feat : home 친구목록 기능 구현
ryu-won a6b3deb
feat : chatlist 기능구현
ryu-won 17f2cbc
feat : chat-list와 채팅방 연결
ryu-won efdd176
chore : 피그마에 맞게 UI 수정
ryu-won 1ad0b63
chore : home 디자인 수정
ryu-won 70e1ce4
fix : 로컬스토리지 불러오기 오류 수정
ryu-won 55843a5
fix : 채팅방간 로컬스토리지 동일한 ID로 저장되어 초기화되는 문제
ryu-won 9fbc1b5
fix : 최근 대화목록 순서대로 정렬, 로컬스토리지에 새로운 채팅방이 추가되어도 채팅리스트에 보이도록 수정
ryu-won 416a823
refactor : a태그 div로 변경
ryu-won 4c30bb6
refactor : a태그 div로 변경
ryu-won ce3d239
design : overflow코드로 수정
ryu-won 167d3ac
refactor : || params.sender 제거
ryu-won 75b347f
refactor : 불필요한 코드 제거
ryu-won d5bb6ec
refactor : chatRoomId = location.state?.chatRoomId || params.sender;
ryu-won File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
[ | ||
{ | ||
"id": 1, | ||
"text": "머하밍??", | ||
"sender": "CEOS", | ||
"receiver": "김류원", | ||
"time": "2024-10-31T12:34:56.000Z", | ||
"chatRoomId": "CEOS" | ||
}, | ||
{ | ||
"id": 2, | ||
"text": "과제중🤮🤮", | ||
"sender": "김류원", | ||
"receiver": "CEOS", | ||
"time": "2024-10-31T12:35:56.000Z", | ||
"chatRoomId": "CEOS" | ||
}, | ||
{ | ||
"id": 3, | ||
"text": "🤦♀️🤦♀️", | ||
"sender": "CEOS", | ||
"receiver": "김류원", | ||
"time": "2024-10-31T12:36:56.000Z", | ||
"chatRoomId": "CEOS" | ||
}, | ||
{ | ||
"id": 4, | ||
"text": "차은우가 보낸 메세지", | ||
"sender": "차은우", | ||
"receiver": "김류원", | ||
"time": "2024-10-31T12:37:56.000Z", | ||
"chatRoomId": "차은우" | ||
}, | ||
{ | ||
"id": 5, | ||
"text": "뷔가 보낸 메세지", | ||
"sender": "뷔", | ||
"receiver": "김류원", | ||
"time": "2024-10-31T12:38:56.000Z", | ||
"chatRoomId": "뷔" | ||
} | ||
] |
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,50 @@ | ||
[ | ||
{ | ||
"id": 0, | ||
"name": "김류원", | ||
"profilePic": "/Profile_image.svg", | ||
"facebook": "https://www.facebook.com/", | ||
"instagram": "https://www.instagram.com/" | ||
}, | ||
{ | ||
"id": 1, | ||
"name": "CEOS", | ||
"profilePic": "/Profile_image.svg", | ||
"facebook": "https://www.facebook.com/clubceos/", | ||
"instagram": "https://www.instagram.com/ceos.sinchon/", | ||
"description": "IT 연합 동아리" | ||
}, | ||
|
||
{ | ||
"id": 2, | ||
"name": "차은우", | ||
"profilePic": "/Profile_image.svg", | ||
"facebook": "https://www.facebook.com/", | ||
"instagram": "https://www.instagram.com/", | ||
"description": "차은우! 차은우! 차은우!" | ||
}, | ||
{ | ||
"id": 3, | ||
"name": "송강", | ||
"profilePic": "/Profile_image.svg", | ||
"facebook": "https://www.facebook.com/", | ||
"instagram": "https://www.instagram.com/", | ||
"description": "스위트홈에서 잘생김" | ||
}, | ||
{ | ||
"id": 4, | ||
"name": "뷔", | ||
"profilePic": "/Profile_image.svg", | ||
"facebook": "https://www.facebook.com/", | ||
"instagram": "https://www.instagram.com/", | ||
"description": "그냥 잘생김" | ||
}, | ||
{ | ||
"id": 5, | ||
"name": "서강준", | ||
"profilePic": "/Profile_image.svg", | ||
"facebook": "https://www.facebook.com/", | ||
"instagram": "https://www.instagram.com/", | ||
"description": "정글의법칙에서도 잘생김" | ||
} | ||
] |
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,4 @@ | ||
declare module "*.svg" { | ||
const content: any; | ||
export default content; | ||
} |
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,38 +1,3 @@ | ||
.App { | ||
text-align: center; | ||
} | ||
|
||
.App-logo { | ||
height: 40vmin; | ||
pointer-events: none; | ||
} | ||
|
||
@media (prefers-reduced-motion: no-preference) { | ||
.App-logo { | ||
animation: App-logo-spin infinite 20s linear; | ||
} | ||
} | ||
|
||
.App-header { | ||
background-color: #282c34; | ||
min-height: 100vh; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
font-size: calc(10px + 2vmin); | ||
color: white; | ||
} | ||
|
||
.App-link { | ||
color: #61dafb; | ||
} | ||
|
||
@keyframes App-logo-spin { | ||
from { | ||
transform: rotate(0deg); | ||
} | ||
to { | ||
transform: rotate(360deg); | ||
} | ||
body { | ||
font-family: "Pretendard"; | ||
} |
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,9 @@ | ||
export function fetchUsers() { | ||
return fetch("/fakedata/users.json").then((response) => response.json()); | ||
} | ||
|
||
export function fetchMessages() { | ||
return fetch("/fakedata/messagesData.json").then((response) => | ||
response.json() | ||
); | ||
} |
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.
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.
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 부분에서 null을 반환하는 대신 && 연산자를 사용하면 더 좋을 것 같아요!