From 27e8f6a0273b09ecd3ba251f66d172f52b0db9b8 Mon Sep 17 00:00:00 2001 From: Lee Soobeom Date: Thu, 28 Jul 2022 13:32:01 +0900 Subject: [PATCH] board, post css --- frontend/src/board/board.tsx | 14 ++++++++------ frontend/src/post/editpost.tsx | 9 ++++++--- frontend/src/post/intopost.tsx | 31 +++++++++++++++++++------------ frontend/src/post/posting.tsx | 9 ++++++--- 4 files changed, 39 insertions(+), 24 deletions(-) diff --git a/frontend/src/board/board.tsx b/frontend/src/board/board.tsx index 4fb356c..aa4fd05 100644 --- a/frontend/src/board/board.tsx +++ b/frontend/src/board/board.tsx @@ -63,15 +63,17 @@ export default function BoardPage() { }; return ( -
-
-
자유 게시판
-
- 여행지 후기를 남겨주세요! +
+
+
+ 자유 게시판
+ {/*
+ 여행지 후기를 남겨주세요! +
*/}
-
+
diff --git a/frontend/src/post/intopost.tsx b/frontend/src/post/intopost.tsx index 2a7c853..7c0a1e9 100644 --- a/frontend/src/post/intopost.tsx +++ b/frontend/src/post/intopost.tsx @@ -42,42 +42,49 @@ export function IntoPost() { }; return ( -
+
+
+ [{post.city}] / [{post.theme}] Travel Report +
-
-
+
{posts?.title}
- -
-
+
+
작성자: {posts?.user.name}
-
+
작성일 : {posts?.date.slice(0, 10)}
-
{posts?.city}
-
{posts?.theme}
-
+
+ {" "} + {posts?.city} +
+
+ {" "} + {posts?.theme} +
+
조회수 : {posts?.counts}
-
{posts?.file?.map((file, i) => ( +
+
+ 당신의 여행을 알려주세요! +
-
+
글쓰기 -- GitLab