-
Notifications
You must be signed in to change notification settings - Fork 1
[FEATURE] 에디터 이미지 추가 #161
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
[FEATURE] 에디터 이미지 추가 #161
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
250213b
#160 [DEL] console log 제거
sunhwaaRj 045102b
#160 [FEAT] 이미지 타입 추가
sunhwaaRj da05e8a
#160 [CHORE] 태블릿 프로젝트 리스트 2열 수정
sunhwaaRj dd102ad
#160 [FEAT] 게시글 이미지 추가 api
sunhwaaRj 80581db
#160 [FEAT] 이미지 추가 구역 첨부
sunhwaaRj 9f68d4b
#160 [FEAT] 게시글 작성 폼 관리
sunhwaaRj 891d42f
#160 [CHORE] 이미지 불러오는 타입 수정
sunhwaaRj 8b99361
#160 [FEAT] 이미지 구역 추가
sunhwaaRj 64f1c37
#160 [CHORE] 이미지 불러오는 타입 수정
sunhwaaRj 00537bf
#160 [CHORE] 데스크톱 바텀시트 제거
sunhwaaRj 767253b
#160 [FEAT] 이미지 업로드 기능 추가
sunhwaaRj dace304
#160 [CHORE] 이미지 배열 수정
sunhwaaRj 04b8a37
#160 [FEAT] 튜토리얼 '다시보지않기' 임시 제거
sunhwaaRj e9b5814
#160 [CHORE] 코드래빗 에러 수정
sunhwaaRj 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
This file contains hidden or 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,22 @@ | ||
| import { ResponseProject } from '@/types/project'; | ||
| import Image from 'next/image'; | ||
|
|
||
| const ProjectImage = ({ images }: ResponseProject) => { | ||
| if (!images || images.length === 0) return null; | ||
| return ( | ||
| <div className="tablet:grid-cols-2 grid grid-cols-1 gap-5"> | ||
| {images.map((img, index) => ( | ||
| <Image | ||
| key={img.objectKey} | ||
| src={img.imageUrl} | ||
| alt={`Project Image ${index + 1}`} | ||
| className="h-auto rounded-lg" | ||
| width={500} | ||
| height={300} | ||
| /> | ||
| ))} | ||
| </div> | ||
| ); | ||
| }; | ||
|
|
||
| export default ProjectImage; |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.