Skip to content
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

[6주차] Team 포토그라운드 강다혜 & 이희원 미션 제출합니다. #12

Open
wants to merge 67 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
76e0a2e
Initial commit from Create Next App
psst54 Nov 6, 2024
dad518b
🚚 move: 필요 없는 파일 제거
psst54 Nov 7, 2024
f1c65b0
🛠️ build: styled-component 세팅
psst54 Nov 7, 2024
f3ff15f
💄 ui: screen 구성
psst54 Nov 7, 2024
33c26c7
💄 ui: normalize css
psst54 Nov 7, 2024
996a04a
✨ feat: 랜딩 구현
psst54 Nov 7, 2024
2d5ba28
📝 docs: add movie jpg
hiwon-lee Nov 7, 2024
c20ebf2
💄 ui: 전역 Container 스타일 추가
hiwon-lee Nov 7, 2024
7d0da88
✨ feat: RoundCard 컴퍼넌트 구현
hiwon-lee Nov 7, 2024
cf3525e
📝 docs: movie 이미지 변경
hiwon-lee Nov 8, 2024
3c5b0a1
💄 ui: fix 가운데 정렬
hiwon-lee Nov 8, 2024
ae53528
✨ feat: add card컴퍼넌트
hiwon-lee Nov 8, 2024
ebf281d
✅ test: 임시로 /home에서 Card컴퍼넌트 테스트
hiwon-lee Nov 8, 2024
07daf49
💄 ui: margin 삭제
hiwon-lee Nov 8, 2024
2d6f6c0
♻️ refactor: Card공통요소 모듈화
hiwon-lee Nov 8, 2024
5a767f2
♻️ refactor: 최상위 컨테이너 ScreenWrapper로 수정
hiwon-lee Nov 8, 2024
7eb85cb
💄 ui:tnb ui 구성
psst54 Nov 8, 2024
5d082dc
✨ feat: TNB 및 BNB 구현
psst54 Nov 8, 2024
401c5f6
🐛 fix: 스플래시 화면에서 bnb 숨기기
psst54 Nov 8, 2024
87c43f8
📝 docs: 아이콘 추가
hiwon-lee Nov 8, 2024
57783a6
✨ feat: 버튼 추가
hiwon-lee Nov 8, 2024
df97aa1
✨ feat: playNav추가
hiwon-lee Nov 8, 2024
21ea440
✨ feat: LargeGradientCard추가
hiwon-lee Nov 8, 2024
bc2f69f
✨ feat: 메인 화면 구현
hiwon-lee Nov 8, 2024
bfc1869
💡comment: 주석 삭제
hiwon-lee Nov 9, 2024
e32a2c3
💄 ui: 높이 고정 및 scroll
hiwon-lee Nov 9, 2024
4204ced
✨ feat: 버튼 추가
hiwon-lee Nov 8, 2024
00c844b
💡comment: 주석 삭제
hiwon-lee Nov 9, 2024
fd11b1c
✨ feat: main에 TNB반영
hiwon-lee Nov 9, 2024
9df0fff
💄 ui: BNB 고정
hiwon-lee Nov 9, 2024
b5f616a
💄 ui: TNX z-index앞으로
hiwon-lee Nov 9, 2024
14892ab
✨ feat: moviedbAPI 적용
hiwon-lee Nov 9, 2024
313e732
📝 docs: 사용할 env키 추가
hiwon-lee Nov 9, 2024
9e0c32b
✅ test: 테스트 하는 페이지 추가
hiwon-lee Nov 9, 2024
006198e
🚚 move: button타입 전역으로 이동
hiwon-lee Nov 9, 2024
82041ed
✨ feat: MovieProps 추가 적용
hiwon-lee Nov 9, 2024
69c5794
♻️ refactor: buttonProps추가
hiwon-lee Nov 9, 2024
a64a4cf
🎨 style: 절대경로로 수정
hiwon-lee Nov 9, 2024
665c390
🐛 fix: text-decoration none 으로 수정
hiwon-lee Nov 9, 2024
64d445f
♻️ refactor: 영화 데이터를 객체형으로 전달
hiwon-lee Nov 9, 2024
78052aa
✨ feat: topten 구현
hiwon-lee Nov 9, 2024
6306dc3
📝 docs: build.sh for vercel
hiwon-lee Nov 9, 2024
4bafa33
🔧 chore: 배포 설정파일
hiwon-lee Nov 9, 2024
a80f82a
🐛 fix: gem error 수정
hiwon-lee Nov 9, 2024
651e373
🐛 fix: secret key 이름수정
hiwon-lee Nov 9, 2024
f17680d
🐛 fix: eslinet안쓰는 변수 수정
hiwon-lee Nov 9, 2024
ac23f5f
💡comment: env api 주석삭제
hiwon-lee Nov 9, 2024
75c3bd3
✅ test: 테스트폴더 삭제
hiwon-lee Nov 9, 2024
91f8d48
📝 docs: readme 작성
psst54 Nov 9, 2024
e36559c
🚑 hotfix: 컴파일 에러 수정
psst54 Nov 12, 2024
cdc64be
🔧 chore(gitignore): .env 추가
psst54 Nov 12, 2024
0fa294a
🚚 move: 파일 이름 변경
psst54 Nov 12, 2024
35e7323
🎨 style: 파일 스타일 통일
psst54 Nov 12, 2024
fa7ec90
🎨 style: import 순서 정리
psst54 Nov 12, 2024
41e0530
✨ feat: ssr 적용
psst54 Nov 12, 2024
890d583
✨ feat: 영화 순서 섞기
psst54 Nov 12, 2024
8c0ecd1
💄 ui: bnb 높이 반영
psst54 Nov 12, 2024
e1f28b5
🚑 hotfix: type 에러 수정
psst54 Nov 12, 2024
ab26d9d
✨ feat: search param으로 데이터 받아오기
psst54 Nov 12, 2024
b3af8f1
💄 ui: tnb 설정 변경
psst54 Nov 13, 2024
06d0b0b
✨ feat: 검색 기능
psst54 Nov 13, 2024
7b11418
💄 ui: 검색 결과 표시
psst54 Nov 13, 2024
012648c
[fix] 필요 없는 코드 제거
psst54 Nov 13, 2024
8d50e90
✨ feat: detail page
psst54 Nov 13, 2024
45c7b12
Merge pull request #4 from psst54/main
psst54 Nov 16, 2024
b9bca77
Update README.md
hiwon-lee Nov 16, 2024
30dca8b
Update README.md
hiwon-lee Nov 16, 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
Prev Previous commit
Next Next commit
✨ feat: LargeGradientCard추가
hiwon-lee authored and psst54 committed Nov 9, 2024
commit 21ea44094b4ba56b3960ba28e28c9fa621450b72
40 changes: 40 additions & 0 deletions src/app/home/_components/LargeGradientCard.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import styled from 'styled-components';
import { CardProps } from './type';
import { FullCoveredImage } from './style';

const LargeGradientCard = ({ image, title }: CardProps) => {
return (
<CardContainer>
<FullCoveredImage
src={image}
alt={title}
/>
<Overlay />
</CardContainer>
);
};

export default LargeGradientCard;

const CardContainer = styled.div`
position: relative;

width: 375px;
height: 415px;
gap: 0px;
`;

const Overlay = styled.div`
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(
180deg,
rgba(0, 0, 0, 0.45) 0%,
rgba(0, 0, 0, 0) 87.26%,
#000000 100%
);
pointer-events: none;
`;
27 changes: 27 additions & 0 deletions src/app/home/_components/style.ts
Original file line number Diff line number Diff line change
@@ -5,3 +5,30 @@ export const FullCoveredImage = styled.img`
height: 100%;
object-fit: cover;
`;

export const Title = styled.p`
font-family: SF Pro Display;
font-size: 26.75px;
font-weight: 700;
line-height: 20px;
letter-spacing: -0.07339449226856232px;
Copy link

Choose a reason for hiding this comment

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

...? 롸

text-underline-position: from-font;
text-decoration-skip-ink: none;
color: white;
margin: 1rem;
margin-top: 1.5rem;
`;

export const SubTitle = styled.p`
font-family: SF Pro Display;
font-size: 20.92px;
font-weight: 700;
line-height: 15.64px;
letter-spacing: -0.05740566551685333px;
Copy link

Choose a reason for hiding this comment

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

광기아니묘

Copy link
Author

Choose a reason for hiding this comment

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

ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ

text-align: left;
text-underline-position: from-font;
text-decoration-skip-ink: none;
color: white;
margin: 1rem;
margin-top: 1.5rem;
`;