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 Couplelog 김민영 & 안혜연 미션 제출합니다. #13

Open
wants to merge 83 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
9fe3a0a
etc: issue 템플릿
Rose-my May 6, 2024
5c872c1
etc: issue 템플릿
Rose-my May 6, 2024
86c7bbf
etc: pr 템플릿
Rose-my May 6, 2024
3d12e5e
etc: 초기세팅
Rose-my May 6, 2024
c8c2f6e
fix: import 경로 에러
Rose-my May 6, 2024
c604c6d
etc: favicon 변경
Rose-my May 6, 2024
f0df964
etc: 필요한 아이콘 추가
Rose-my May 6, 2024
02bc1c1
feat: lottie 애니메이션 구현
Rose-my May 6, 2024
a4f8195
design: 디자인 초기세팅
Rose-my May 7, 2024
dfcc5e7
feat: 라우팅 작업
Rose-my May 7, 2024
5392493
feat: 폴더추가
Rose-my May 7, 2024
18285c6
Merge pull request #2 from couplelog/etc/#1/main/initialization
noeyeyh May 7, 2024
40274c5
etc: 아이콘 네이밍변경 & import 환경
Rose-my May 7, 2024
1d29ae7
etc: 아이콘 추가
Rose-my May 7, 2024
391857a
design: FooterNav 컴포넌트 하단에 고정
Rose-my May 7, 2024
e6fef19
design: FooterNav에 쓰이는 FooterBtn UI
Rose-my May 7, 2024
9258c05
design: PlayBtn UI
Rose-my May 7, 2024
38c3cf0
design: global.css 반응형, font 수정
Rose-my May 8, 2024
f42a4c4
design: movies-wrapper 공통 컴포넌트UI
Rose-my May 8, 2024
71897ae
design: FooterUI 반응형, 하단 고정 고치기
Rose-my May 8, 2024
bf19a25
etc: 경로 alias 수정
Rose-my May 8, 2024
a55f0f1
Merge pull request #4 from couplelog/design/#3/main/commonUI
noeyeyh May 8, 2024
cc85ab2
design: Header UI
noeyeyh May 8, 2024
9c83bb1
design: Today UI
noeyeyh May 8, 2024
7f36c5a
feat: api 연결
noeyeyh May 9, 2024
5da62e5
design: Preview UI
noeyeyh May 9, 2024
a9de718
design: 폰트 line-height 추가
noeyeyh May 9, 2024
e227bdd
feat: Today 랜덤 이미지 출력
noeyeyh May 9, 2024
fbe02e0
design: Today 이미지 w-full로 수정
noeyeyh May 9, 2024
274ab4d
design: PlayBtn width 반응형
Rose-my May 10, 2024
06139a8
fix: console alt 에러
Rose-my May 10, 2024
8303d6b
design: 메인이미지 object-cover 속성삭제
Rose-my May 10, 2024
4d3608c
etc: 프리티어 적용
Rose-my May 10, 2024
3ca945d
Merge pull request #6 from couplelog/design/#5/home/homeUI
Rose-my May 10, 2024
e581683
design: netflix lottie 크기 수정
Rose-my May 10, 2024
8003d49
fix: 배포 build.sh 추가
Rose-my May 10, 2024
ea6972b
Create develop.yml
Rose-my May 10, 2024
f6595f9
Update develop.yml
Rose-my May 10, 2024
1ebbebd
fix: build.sh파일 경로 수정
Rose-my May 10, 2024
660af46
Update develop.yml
Rose-my May 10, 2024
a0b031b
Update develop.yml
Rose-my May 10, 2024
10e5ebc
fix: 주석제거
Rose-my May 10, 2024
4a47307
refactor: home페이지 헤더 수정 z-10 추가
Rose-my May 12, 2024
b53ac41
etc: gitignore에 .env추가
Rose-my May 12, 2024
f3641b6
Merge branch 'CEOS-Developers:master' into develop
Rose-my May 13, 2024
42d879b
Update develop.yml
Rose-my May 13, 2024
8b043d8
feat: env 적용
noeyeyh May 13, 2024
7179c28
design: Today 이미지 gradient 적용
noeyeyh May 13, 2024
ce62245
feat: Today 랜덤 순위 출력
noeyeyh May 13, 2024
c5a515d
chore: 중복되는 코드 map함수로 변경
noeyeyh May 13, 2024
33c94ee
fix: priority 속성 추가로 이미지 지연 로드 수정
noeyeyh May 13, 2024
95e1a3d
Merge pull request #9 from couplelog/refactor/#8/home/ReviewUpdates
Rose-my May 14, 2024
c42b476
fix: Image alt 에러 메시지 해결
noeyeyh May 14, 2024
4490af9
etc: 아이콘 추가
Rose-my May 14, 2024
f8f6e26
design: design 초기세팅 추가
Rose-my May 14, 2024
7522c71
design: search페이지 퍼블리싱
Rose-my May 14, 2024
866306f
feat: 검색 페이지 기능구현
Rose-my May 15, 2024
1f0b44a
refactor: MovieTypes 공통으로 뺀것 적용
Rose-my May 15, 2024
871cbac
refactor: root layout 피드백 반영
Rose-my May 15, 2024
2fda25a
design: search페이지 디자인변경
Rose-my May 15, 2024
88d8416
Merge pull request #10 from couplelog/design/#7/search/searchUI
noeyeyh May 15, 2024
9a39a19
Merge branch 'develop' into refactor/#8/home/ReviewUpdates
noeyeyh May 15, 2024
693e8b7
chore: 영화 이미지 alt 주석 작성
noeyeyh May 15, 2024
3c21eed
Merge pull request #11 from couplelog/refactor/#8/home/ReviewUpdates
Rose-my May 15, 2024
8457399
feat: 검색을 안할 때 Trending띄우기
Rose-my May 15, 2024
92b3969
fix: 이미지 도메인 콘솔 에러해결
Rose-my May 15, 2024
69c4bd7
design: 헤더 고정
Rose-my May 15, 2024
dd2d645
etc: 태그수정 , 불필요한 컴포넌트 제거
Rose-my May 15, 2024
5e33d25
refactor: 영화 정보 반환하는 함수 하나의 파일에 작성
noeyeyh May 15, 2024
0200b9c
refactor: 영화 데이터 반환 함수에 따른 Wrapper, Today, Preview 컴포넌트 변경
noeyeyh May 15, 2024
87b58d5
feat: Preview와 Wrapper에서 영화 이미지 클릭 시 상세페이지로 이동
noeyeyh May 16, 2024
b13e467
feat: 상세페이지 생성
noeyeyh May 16, 2024
8ccb10b
feat: 상세페이지 영화 정보 출력
noeyeyh May 17, 2024
10f0038
design: 상세페이지 padding 조정
noeyeyh May 17, 2024
b91c408
Merge pull request #13 from couplelog/design/#12/detail/detailUI
Rose-my May 17, 2024
6e29a7f
Merge branch 'develop' into design/#7/search/searchUI
Rose-my May 17, 2024
29ec0d6
refactor: search페이지 api호출 폴더 이동
Rose-my May 17, 2024
98839aa
Merge pull request #14 from couplelog/design/#7/search/searchUI
noeyeyh May 17, 2024
3158393
fix: deploy error
Rose-my May 17, 2024
a7cca51
fix: 콘솔 400에러
noeyeyh May 17, 2024
ecdb36f
feat: search페이지 x기능 추가
Rose-my May 17, 2024
af13247
etc: 테스트 이미지 삭제
noeyeyh May 18, 2024
9ebab95
Merge branch 'develop' of https://github.com/couplelog/next-netflix i…
noeyeyh May 18, 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
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/template-issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: template-issue
about: 이슈 템플릿
title: 'design: 랜딩페이지 뷰'
labels: ''
assignees: ''

---

## 목적

설명

## 작업 상세 내용

- [ ] todo1
- [ ] todo2
- [ ] todo3
24 changes: 24 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## Related Issues

- close #issue_number

## ✨ PR 유형

어떤 변경 사항이 있나요?

- [ ] 새로운 기능 추가
- [ ] 오류 수정
- [ ] CSS 등 스타일 변경
- [ ] CSS 등 스타일 변경
- [ ] 코드에 영향을 주지 않는 변경사항(오타 수정, 탭 사이즈 변경, 변수명 변경)
- [ ] 코드 리팩토링
- [ ] 코드 리팩토링
- [ ] 주석 추가 및 수정
- [ ] 문서 수정
- [ ] 테스트 추가, 테스트 리팩토링
- [ ] 파일 혹은 폴더 삭제

## ➕ 변경 사항 in Detail

- [ ] 변경 사항
- 변경 사항 상세 설명
30 changes: 30 additions & 0 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: git push into another repo to deploy to vercel
Copy link

Choose a reason for hiding this comment

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

요금 부과를 막기 위해 개인 레포로 이동하는 과정을 Github Actions로 작성하신 점 멋있네요 ㅎㅎ


on:
push:
branches: [develop]

jobs:
build:
runs-on: ubuntu-latest
container: pandoc/latex
steps:
- uses: actions/checkout@v2
- name: Install mustache (to update the date)
run: apk add ruby && gem install mustache
- name: creates output
run: sh ./build.sh
- name: Pushes to another repository
id: push_directory
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.TEAM_TOKEN }}
with:
source-directory: 'output'
destination-github-username: "Rose-my"
destination-repository-name: "next-neflix"
user-email: ${{ secrets.OFFICIAL_ACCOUNT_EMAIL }}
commit-message: ${{ github.event.commits[0].message }}
target-branch: develop
- name: Test get variable exported by push-to-another-repository
run: echo $DESTINATION_CLONED_DIRECTORY
5 changes: 5 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
cd ../
mkdir output
cp -R ./next-netflix/* ./output
cp -R ./output ./next-netflix/
6 changes: 6 additions & 0 deletions netflix/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": ["next/core-web-vitals", "prettier", "@typescript-eslint/parser"],
"parserOptions": {
"project": "./tsconfig.json"
}
}
38 changes: 38 additions & 0 deletions netflix/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts

.env
9 changes: 9 additions & 0 deletions netflix/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"semi": true,
"tabWidth": 2,
"printWidth": 120,
"trailingComma": "all",
"bracketSameLine": true,
"endOfLine": "auto",
"singleQuote": true
}
36 changes: 36 additions & 0 deletions netflix/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
24 changes: 24 additions & 0 deletions netflix/next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
//domains: ['image.tmdb.org'],
remotePatterns:[
{
protocol: 'https',
hostname:'image.tmdb.org',
pathname:'**'
}
]
},

webpack: (config) => {
config.module.rules.push({
test: /\.svg$/,
use: ['@svgr/webpack'],
});

return config;
},
};

export default nextConfig;
Loading