-
Notifications
You must be signed in to change notification settings - Fork 1
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
➕ [WV-18] feat : main page에 gallery 추가 구현 #27
Merged
Merged
Changes from 8 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
cdc63db
♻️ WV-18 refactor : schedule 컴포넌트 이미지로 대체했던 영상 추가 및 해당 이미지 삭제
hee2323 19b93f2
♻️ WV-18 refactor : 컴포넌트 요소 간격 조정, 배경 사이즈 조정
hee2323 259442b
💄 WV-18 design : gallery 컴포넌트 구현을 위해 임의 이미지 추가
hee2323 4caa576
➕ WV-18 feat : custom carousel 생성
hee2323 714bb68
🔥 WV-18 remove : shadcn ui carousel 삭제
hee2323 d17b4cd
➕ WV-18 feat : 메인페이지 gallery 컴포넌트 생성 및 적용
hee2323 5e30521
♻️ WV-18 refactor : 컴포넌트 간격 조정
hee2323 4e2ea06
Merge branch 'dev' of github.com:KTwizviz/wizviz into WV-18-main-page
hee2323 2a8d5cf
Merge branch 'dev' of github.com:KTwizviz/wizviz into WV-18-main-page
hee2323 ea3f02a
💄 WV-24 design : index.ts에 추가된 image export 추가
hee2323 b3e5fcf
♻️ WV-18 refactor : image index import 적용
hee2323 70dbee5
🔥 WV-18 remove : 구단 logo 추가하면서 기존 캡처하여 추가했던 logo 삭제
hee2323 9a154d2
Merge branch 'dev' of github.com:KTwizviz/wizviz into WV-18-main-page
hee2323 1e02513
🔧 WV-18 fix : 삭제한 이미지 index.ts에서 제거, 추가된 이미지 확장자 수정
hee2323 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 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.
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.
Binary file not shown.
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,39 @@ | ||
"use client"; | ||
import Image from "next/image"; | ||
import MainGallery from "@/assets/images/main_title_gallery.png"; | ||
import StoreBanner from "@/assets/images/store_banner.png"; | ||
import PlayerBanner from "@/assets/images/player_banner.png"; | ||
import Carousel from "../ui/custom-carousel"; | ||
import { CAROUSE_ITEMS } from "@/constants/main"; | ||
|
||
const Gallery = () => { | ||
return ( | ||
<div className="w-[1200px] justify-self-center relative mb-[100px] justify-items-center"> | ||
<div className="relative h-[620px]"> | ||
<Image | ||
src={MainGallery} | ||
alt="main gallery" | ||
width={0} | ||
height={0} | ||
sizes="100vw" | ||
className="w-[700px] mx-auto absolute left-1/2 -translate-x-1/2 -z-10" | ||
priority | ||
/> | ||
<div className="w-[1250px] mx-auto pt-[60px] overflow-hidden"> | ||
<Carousel images={CAROUSE_ITEMS} /> | ||
</div> | ||
</div> | ||
<div className="w-[1100px] mt-[40px] flex gap-5 justify-self-center"> | ||
<Image src={StoreBanner} alt="Store Banner" width={540} height={190} /> | ||
<Image | ||
src={PlayerBanner} | ||
alt="Player of the Month Banner" | ||
width={540} | ||
height={190} | ||
/> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Gallery; |
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 was deleted.
Oops, something went wrong.
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.
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.
후후후후 제꺼 머지되었으니 index 파일 사용해주라주!
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.
추가했습니당