Skip to content

Commit 1495933

Browse files
mtm-git1018ahk0413
andauthored
Feat/레시피 페이지 무한스크롤#15 (#95)
* [chore]next.config변경 * [chore] useCloseOut 훅 폴더이동 * [fix]변경파일 경로수정 * [fix] 이미지파일 수정 * [chore]포매팅 * [chore] 포매팅 * [chore] 포매팅 따옴표오류 * [feat]칵테일 무한스크롤 * [feat] 레시피 상세페이지 데이터바인딩 * [refactor] Label컴포넌트 수정 * [feat]레시피페이지 무한스크롤기능 * [chore]경로수정 * [fix] 수정사항 개선 * [chore]파일 경로변경 * [docs] 폴더명 변경 * [docs] 폴더명 수정 * [docs]폴더경로 이상 수정 --------- Co-authored-by: ahk0413 <[email protected]>
1 parent df52b7d commit 1495933

File tree

30 files changed

+611
-135
lines changed

30 files changed

+611
-135
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@
6060
},
6161
"homepage": "https://github.com/prgrms-web-devcourse-final-project/WEB5_6_HaeDokCoding_FE#readme",
6262
"description": ""
63-
}
63+
}

src/app/design-system/page.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import TextButton from '@/shared/components/button/TextButton';
55
import Input from '@/shared/components/Input-box/Input';
66
import { useState } from 'react';
77
import ModalLayout from '@/shared/components/modal-pop/ModalLayout';
8-
98
import Spinner from '@/shared/components/spinner/Spinner';
109
import LikeBtn from '@/domains/community/components/like/LikeBtn';
1110
import Share from '@/domains/shared/components/share/Share';

src/app/mypage/my-active/my-comment/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import CommentList from '@/domains/shared/components/comment/CommentList';
1+
// import CommentList from '@/domains/shared/components/comment/CommentList';
22
import { Metadata } from 'next';
33

44
export const metadata: Metadata = {

src/app/mypage/my-active/my-like/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import PostCard from '@/domains/community/main/PostCard';
1+
// import PostCard from '@/domains/community/main/PostCard';
22
import { Metadata } from 'next';
33

44
export const metadata: Metadata = {

src/app/mypage/my-active/my-post/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import PostCard from '@/domains/community/main/PostCard';
1+
// import PostCard from '@/domains/community/main/PostCard';
22
import { Metadata } from 'next';
33

44
export const metadata: Metadata = {
File renamed without changes.

src/app/mypage/mybar/page.tsx renamed to src/app/mypage/my-bar/page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import CocktailCard from '@/domains/recipe/CocktailCard';
1+
2+
import CocktailCard from '@/domains/shared/components/cocktail-card/CocktailCard';
23
import { Metadata } from 'next';
34

45
export const metadata: Metadata = {

src/app/mypage/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { redirect } from 'next/navigation';
22

33
function Page() {
4-
return redirect('/mypage/mybar');
4+
return redirect('/mypage/my-bar');
55
}
66
export default Page;

src/app/recipe/page.tsx

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
import { Metadata } from 'next';
2-
32
import Input from '@/shared/components/Input-box/Input';
43

54
import Accordion from '../../domains/recipe/components/main/Accordion';
6-
import CocktailList from '@/domains/recipe/CocktailList';
75
import PageHeader from '@/domains/shared/components/page-header/PageHeader';
86
import { Suspense } from 'react';
97
import SkeletonRecipe from '@/domains/recipe/skeleton/SkeletonRecipe';
10-
import SelectBox from '@/shared/components/select-box/SelectBox';
8+
import Cocktails from '@/domains/recipe/main/Cocktails';
119

1210
export const metadata: Metadata = {
1311
title: 'SSOUL | 칵테일레시피',
@@ -31,15 +29,7 @@ function Page() {
3129
className="w-full md:max-w-80"
3230
/>
3331
</section>
34-
<section>
35-
<div className="h-10 flex justify-between items-center mt-3 border-b-1 border-gray-light">
36-
<p>n개</p>
37-
<SelectBox option={['', '댓글순', '인기순']} title="최신순" />
38-
</div>
39-
<section className="mt-5 ">
40-
<CocktailList />
41-
</section>
42-
</section>
32+
<Cocktails />
4333
</Suspense>
4434
</div>
4535
</div>

src/domains/community/write/cocktail-tag/TagModal.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22

33
import AddIcon from '@/shared/assets/icons/add_24.svg';
44
import Input from '@/shared/components/Input-box/Input';
5-
import CocktailCard from '@/domains/recipe/CocktailCard';
65
import ModalLayout from '@/shared/components/modal-pop/ModalLayout';
76
import Button from '@/shared/components/button/Button';
87
import TagList from '../../components/tag/TagList';
98
import { useState } from 'react';
10-
9+
import CocktailCard from '@/domains/shared/components/cocktail-card/CocktailCard';
1110
type Props = {
1211
isOpen: boolean;
1312
setIsOpen: (value: boolean) => void;

0 commit comments

Comments
 (0)