diff --git a/.gitignore b/.gitignore index 7836f13f..25a25f4c 100644 --- a/.gitignore +++ b/.gitignore @@ -12,4 +12,5 @@ node_modules localhost-key.pem localhost.pem /app/embeddingBatch.ts -/docs/secretvariables.md \ No newline at end of file +/docs/secretvariables.md +memo.md \ No newline at end of file diff --git a/app/components/CommentCard.tsx b/app/components/CommentCard.tsx index 16d5b7a3..c0db482d 100644 --- a/app/components/CommentCard.tsx +++ b/app/components/CommentCard.tsx @@ -1,10 +1,9 @@ -// CommentCard.tsx -import clockIcon from "~/src/assets/clock_icon.svg"; -import thumb_up from "~/src/assets/thumb_up.svg"; -import thumb_down from "~/src/assets/thumb_down.svg"; import { useState } from "react"; import CommentInputBox from "./CommentInputBox"; import { useSubmit } from "@remix-run/react"; +import ClockIcon from "./icons/ClockIcon"; +import ThumbsUpIcon from "./icons/ThumbsUpIcon"; +import ThumbsDownIcon from "./icons/ThumbsDownIcon"; interface CommentCardProps { commentId: number; @@ -96,33 +95,37 @@ export default function CommentCard({ } return ( -
+
-

{commentAuthor}

- Comment Date -

{formattedCommentDate}

+

{commentAuthor}

+ +

{formattedCommentDate}

{commentContent}