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 BeatBuddy 김동혁 & 김수현 미션 제출합니다. #14

Open
wants to merge 43 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 40 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
604d896
feat: :tada: next 14 project 초기세팅
ddhelop May 7, 2024
f38e873
feat: :lipstick: mobile 환경 설정
ddhelop May 7, 2024
e3fcc9d
feat: :zap: ImproveDataStructure
ddhelop May 8, 2024
f8f9e84
fix: fixBug
ddhelop May 8, 2024
0cad198
feat : footer
May 8, 2024
2c10717
feat : header
May 8, 2024
6a66bbf
feat : TopRated 포스터 불러오기..
May 8, 2024
bbed2c5
feat: :lipstick: PreviewsComponent
ddhelop May 9, 2024
5da76d1
feat: :lipstick: PosterComponent
ddhelop May 9, 2024
f31d697
refactor: layoutReset
ddhelop May 9, 2024
4c3c19b
fix: bugFIx
ddhelop May 9, 2024
58c169d
fix : 이전 커밋으로 되돌리기
May 9, 2024
a1c1c26
fix : merge set
May 9, 2024
12c3754
Merge branch 'Shunamo' of https://github.com/BeatBuddy1/next-netflix-…
May 9, 2024
d11870b
feat: MovieList
ddhelop May 10, 2024
8205d98
feat : Play component
May 10, 2024
6b45d70
fix : routing 똑바로 고치고 swiper 제거
May 10, 2024
eaab85e
feat : landingpage 구현, 컨테이너 w,h 반응형 조정
May 10, 2024
b67495d
chore : fade out 추가
May 10, 2024
c3c6c87
chore
May 10, 2024
63762c2
fix : server error
May 10, 2024
78c5cfa
fix : lottie
May 10, 2024
b49e962
fix : 정확한 url..???
May 10, 2024
80337d8
feat : netflix audio
May 10, 2024
6027077
fix : ssr error
May 10, 2024
b46773d
chore : 포스터 너비 뷰포트로 설정
May 10, 2024
c74b352
chore : 포스터 모바일, 데스크탑 둘 다 너비 화면 비율에 맞게 수정
May 10, 2024
4d036c7
chore : pretty landing page
May 10, 2024
6eb0401
chotee :배경 더 밝게 함
May 10, 2024
4075cee
fix: styleFIx
ddhelop May 11, 2024
0eb9e40
fix : TopRatedMovie.tsx 영화 포스터 top10 중 하나 랜덤으로 불러오도록 수정
May 16, 2024
d5680e1
feat : footer routing (search page)
May 16, 2024
6f8ba38
feat: SearchPage
ddhelop May 16, 2024
f5d0794
feat : 상세페이지 동적라우팅 구현
May 17, 2024
db4c3af
fix : search/page.tsx merge conflict
May 17, 2024
49aecf2
feat : Detail ssr
May 17, 2024
ff6530a
feat : 모든 포스터 상세페이지 routing
May 17, 2024
e7bd880
feat : footer 추가, search 라우팅
May 17, 2024
0f04a92
fix : 배포 오류수정 (종속성, key)
May 17, 2024
a1b08f2
refactor : footer 성능최적화 (useEffect 통합, useCallback, 중복코드줄이기)
May 17, 2024
01bee9b
refactor : Header.tsx 성능 최적화(useCallback, 아이템 배열화..)
May 17, 2024
9699208
refactor : home promise.all로 데이터 병렬 요청
May 17, 2024
b475e96
refactor : 애니메이션 리팩토링
May 19, 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
3 changes: 3 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "next/core-web-vitals"
}
37 changes: 37 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

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

# 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
9 changes: 9 additions & 0 deletions .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 README copy.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.
12 changes: 12 additions & 0 deletions custom-elements.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
declare namespace JSX {
interface IntrinsicElements {
'dotlottie-player': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & {
src?: string;
background?: string;
speed?: string;
autoplay?: boolean;
style?: React.CSSProperties;
onEvent?: (event: string) => void;
};
}
}
7 changes: 7 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
domains: ['image.tmdb.org'], // Add other domains as needed
},
};
export default nextConfig;
Comment on lines +1 to +7

Choose a reason for hiding this comment

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

아래에서 코멘트 드린 바와 같이, next.config.mjs 설정 파일에서 rewrites() 함수를 이용해 api token의 노출을 막아보시면 좋을 것 같습니다

Loading