From 1e3ed9a1e0e5d4405507a8a40c33ccf9d8ffb978 Mon Sep 17 00:00:00 2001 From: Karani Wachira Date: Tue, 7 Jan 2025 12:34:26 +0300 Subject: [PATCH] feat: added comment section & comment text box and send button --- src/components/Comment.jsx | 22 ++++++++++++++++++++++ src/components/Comments.jsx | 21 +++++++++++++++++++++ src/routes/SinglePostPage.jsx | 4 +++- 3 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 src/components/Comment.jsx create mode 100644 src/components/Comments.jsx diff --git a/src/components/Comment.jsx b/src/components/Comment.jsx new file mode 100644 index 0000000..1deb6cb --- /dev/null +++ b/src/components/Comment.jsx @@ -0,0 +1,22 @@ +import Image from "./Image"; + +const Comment = () => { + return ( +
+
+ + John Doe + 12 days ago +
+
+

+ With the support of international organizations, Kenya’s Little League programs are expanding rapidly. + In the coming years, Kenya could see its young players competing at continental and even global levels. + The future of baseball in Kenya looks promising, starting with these young stars. +

+
+
+ ); +}; + +export default Comment; diff --git a/src/components/Comments.jsx b/src/components/Comments.jsx new file mode 100644 index 0000000..ed92940 --- /dev/null +++ b/src/components/Comments.jsx @@ -0,0 +1,21 @@ +import Comment from "./Comment"; + +const Comments = () => { + return ( +
+

Comments

+
+