diff --git a/app/components/ThreadReply.jsx b/app/components/ThreadReply.jsx
new file mode 100644
index 0000000..c1f71d2
--- /dev/null
+++ b/app/components/ThreadReply.jsx
@@ -0,0 +1,79 @@
+import { Link } from "@remix-run/react";
+
+export function ThreadReply({ post }) {
+ return (
+
+
+
+ Reply id: {post.id} Replied at:{" "}
+ {new Date(post.createdAt).toLocaleString()}
+
+
{
+ event.preventDefault();
+ document.getElementById(`bottom`).scrollIntoView(true);
+ setReplying(post.id);
+ }}
+ to={`/threads/${post.postId}#bottom`}
+ >
+ Reply
+
+
+ {post?.replies?.map((reply) => (
+ -
+ {
+ event.preventDefault();
+ document.getElementById(`${reply.id}`).scrollIntoView(true);
+ }}
+ className="text-ctp-teal hover:text-ctp-sky hover:underline"
+ to={`#${reply.id}`}
+ >
+ #{reply.id}
+
+
+ ))}
+
+
+ {post.replyingTo ? (
+ {
+ event.preventDefault();
+ document.getElementById(`${post.replyingTo}`).scrollIntoView(true);
+ }}
+ className="text-sm font-semibold hover:underline"
+ to={`#${post.replyingTo}`}
+ >
+ Replying to id: {post.replyingTo}
+
+ ) : (
+ ""
+ )}
+ {post.imageName !== null ? (
+
+
+
+ Click to show full image
+
+
+ ) : (
+ ""
+ )}
+ {post.comment}
+
+ );
+}
diff --git a/app/root.jsx b/app/root.jsx
index 22c52ba..4434c2e 100644
--- a/app/root.jsx
+++ b/app/root.jsx
@@ -65,7 +65,6 @@ export default function App() {
/>
)}
-