+ {messages.map((message) => (
+
+ ))}
+ {showSuggestions && (
+
+ )}
+ {showButtons.ADD_REPORT && editorReport && (
+
+
+ {t("copilotChatBot:addFactCheckingReportButton")}
+
+
+ )}
+ {showButtons.ADD_RATE && (
+
+ )}
+ {isLoading &&
}
+
+ );
+};
+
+export default CopilotConversation;
diff --git a/src/components/Copilot/CopilotConversationCard.style.tsx b/src/components/Copilot/CopilotConversationCard.style.tsx
new file mode 100644
index 000000000..aa8734af4
--- /dev/null
+++ b/src/components/Copilot/CopilotConversationCard.style.tsx
@@ -0,0 +1,40 @@
+import { Row } from "antd";
+import colors from "../../styles/colors";
+import styled from "styled-components";
+
+const CopilotConversationCardStyle = styled(Row)`
+ display: flex;
+ flex-direction: column;
+
+ .conversation-card-header {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ }
+
+ .conversation-card-content {
+ position: relative;
+ margin: 12px 0 16px 0;
+ padding: 16px;
+ border-radius: 10px;
+ background-color: ${colors.white};
+ marginleft: 40px;
+ wordbreak: break-word;
+ &:after {
+ border: 1px solid red;
+ width: 10px;
+ height: 10px;
+ content: " ";
+ position: absolute;
+ border-top: none;
+ border-right: 9px solid transparent;
+ border-left: 9px solid transparent;
+ border-bottom: 9px solid ${colors.white};
+ left: 8px;
+ top: -8px;
+ transform: rotate(0deg);
+ }
+ }
+`;
+
+export default CopilotConversationCardStyle;
diff --git a/src/components/Copilot/CopilotConversationCard.tsx b/src/components/Copilot/CopilotConversationCard.tsx
new file mode 100644
index 000000000..612dd3c10
--- /dev/null
+++ b/src/components/Copilot/CopilotConversationCard.tsx
@@ -0,0 +1,34 @@
+import React from "react";
+import { Avatar } from "antd";
+import colors from "../../styles/colors";
+import CopilotConversationCardStyle from "./CopilotConversationCard.style";
+import { SenderEnum } from "../../types/enums";
+import { useTranslation } from "next-i18next";
+
+const CopilotConversationCard = ({ message }) => {
+ const { t } = useTranslation();
+ const { sender, content } = message;
+ return (
+