diff --git a/frontend/components/board/BoardCenter.js b/frontend/components/board/BoardCenter.js new file mode 100644 index 0000000..b62d86c --- /dev/null +++ b/frontend/components/board/BoardCenter.js @@ -0,0 +1,8 @@ +//게시판 위, 중앙에 사진 및 제목 등 + +export default function BoardCenter() { + return ( + <> + + ) +} \ No newline at end of file diff --git a/frontend/components/board/BoardMiniView.js b/frontend/components/board/BoardMiniView.js new file mode 100644 index 0000000..454dcf0 --- /dev/null +++ b/frontend/components/board/BoardMiniView.js @@ -0,0 +1,77 @@ +//id별 네모네모하게 제목이랑 안에 글들 보여주는 것 + +export default function BoardMiniView(props) { + return ( + <> + {/* type:string 에 따라 백에서 다른 값 받아옴. */} + + + + + + + + + + + + + + + + + + + + +
+

{`${props.type} 게시판`}

+
+ +
게시글 제목 1
+
n분 전
+
+
+ +
게시글 제목 2
+
n분 전
+
+
+ +
게시글 제목 3
+
n분 전
+
+
+ +
게시글 제목 4
+
n분 전
+
+
+ +
게시글 제목 5
+
n분 전
+
+
+ + + + ) +} \ No newline at end of file diff --git a/frontend/components/board/BoardNavBar.js b/frontend/components/board/BoardNavBar.js new file mode 100644 index 0000000..20581ce --- /dev/null +++ b/frontend/components/board/BoardNavBar.js @@ -0,0 +1,72 @@ +//board 전용 네비게이션 바 / 좌측바 - 네이버 카페 처럼. + +export default function BoardNavBar() { + return ( + <> + + + ) +} \ No newline at end of file diff --git a/frontend/components/board/BoardSearchBar.js b/frontend/components/board/BoardSearchBar.js new file mode 100644 index 0000000..94e258b --- /dev/null +++ b/frontend/components/board/BoardSearchBar.js @@ -0,0 +1,15 @@ +// 게시판 검색 기능 + +export default function BoardSearchBar() { + return ( + <> + {/* bootstrap */} + + + ) +} \ No newline at end of file diff --git a/frontend/components/board/BoardUser.js b/frontend/components/board/BoardUser.js new file mode 100644 index 0000000..9468484 --- /dev/null +++ b/frontend/components/board/BoardUser.js @@ -0,0 +1,31 @@ +//게시판 안에 각 유저별 로그인 정보 보여주는거. + +export default function BoardUser(props) { + return ( + <> +
+
이미지
+
유저아이디
+
+ + + ) +} \ No newline at end of file diff --git a/frontend/pages/board/index.js b/frontend/pages/board/index.js index ca98496..f66cb6f 100644 --- a/frontend/pages/board/index.js +++ b/frontend/pages/board/index.js @@ -1,7 +1,28 @@ +import BoardUser from "../../components/board/BoardUser"; +import BoardSearchBar from "../../components/board/BoardSearchBar"; +import BoardNavBar from "../../components/board/BoardNavBar"; +import BoardCenter from "../../components/board/BoardCenter"; +import BoardMiniView from "../../components/board/BoardMiniView"; + export default function board() { return ( -
-

게시판 메인 페이지

-
+ <> +

게시판 메인 페이지

+ + + + +
+ + + + +
+ + ) } \ No newline at end of file