diff --git a/src/app/community/page.tsx b/src/app/community/page.tsx index d02acd8..84390d4 100644 --- a/src/app/community/page.tsx +++ b/src/app/community/page.tsx @@ -1,4 +1,37 @@ +import CommunityFilter from '@/shared/components/community/CommunityFilter'; +import CommunityHeader from '@/shared/components/community/CommunityHeader'; +import CommunityTab from '@/shared/components/community/CommunityTab'; +import PostCard from '@/shared/components/community/PostCard'; +import WriteBtn from '@/shared/components/community/WriteBtn'; + function Page() { - return
; + return ( +
+
+
+

+ 커뮤니티 페이지 +

+ +
+ +
+ + +
+ +
+ + + + + +
+
+
+ ); } export default Page; diff --git a/src/shared/assets/images/prepost_img.webp b/src/shared/assets/images/prepost_img.webp new file mode 100644 index 0000000..7c659d7 Binary files /dev/null and b/src/shared/assets/images/prepost_img.webp differ diff --git a/src/shared/components/InputBox/SelectBox.tsx b/src/shared/components/InputBox/SelectBox.tsx index e457eb9..505aa8b 100644 --- a/src/shared/components/InputBox/SelectBox.tsx +++ b/src/shared/components/InputBox/SelectBox.tsx @@ -21,7 +21,7 @@ function SelectBox({ ref, option, title }: Props) { }; return ( -
+
+ ))} +
+
+ + ); +} + +export default CommunityTab; diff --git a/src/shared/components/community/PostCard.tsx b/src/shared/components/community/PostCard.tsx new file mode 100644 index 0000000..cc672e8 --- /dev/null +++ b/src/shared/components/community/PostCard.tsx @@ -0,0 +1,44 @@ +import Image from 'next/image'; +import prePost from '@/shared/assets/images/prepost_img.webp'; +import PostLabel from './PostLabel'; + +function PostCard({ label }: { label: string }) { + return ( +
+ + +
+
+

칵테일 만들 때 준비물

+
+

칵테일 처음 만들어 보는데 랄랄

+

가나다라마바사아자차카파타하

+
+
    +
  • 실버븬
  • + +
  • 3분 전
  • + +
  • 조회 3
  • + +
  • 댓글 3
  • +
+
+
+ 예비사진 +
+
+
+ ); +} + +export default PostCard; diff --git a/src/shared/components/community/PostLabel.tsx b/src/shared/components/community/PostLabel.tsx new file mode 100644 index 0000000..c838e52 --- /dev/null +++ b/src/shared/components/community/PostLabel.tsx @@ -0,0 +1,24 @@ +function PostLabel({ title }: { title: string }) { + return ( + + {title} + + ); +} + +export default PostLabel; diff --git a/src/shared/components/community/WriteBtn.tsx b/src/shared/components/community/WriteBtn.tsx new file mode 100644 index 0000000..26befbd --- /dev/null +++ b/src/shared/components/community/WriteBtn.tsx @@ -0,0 +1,12 @@ +import Write from '@/shared/assets/icons/edit_28.svg'; + +function WriteBtn() { + return ( + + ); +} + +export default WriteBtn; diff --git a/src/shared/components/header/DropdownMenu.tsx b/src/shared/components/header/DropdownMenu.tsx index 9fdc55b..65bbb2f 100644 --- a/src/shared/components/header/DropdownMenu.tsx +++ b/src/shared/components/header/DropdownMenu.tsx @@ -58,9 +58,9 @@ function DropdownMenu({ isClicked, setIsClicked }: Props) { }; return ( - -
- -
-
+ {label} + + + + ))} + + +
-
+ +
- + ); } diff --git a/src/shared/styles/global.css b/src/shared/styles/global.css index dfee205..b4a696b 100644 --- a/src/shared/styles/global.css +++ b/src/shared/styles/global.css @@ -22,3 +22,8 @@ .scroll-down { transform: translateY(-100%); } + +.no-scrollbar { + -ms-overflow-style: none; + scrollbar-width: none; +}