diff --git a/profile/package.json b/profile/package.json
index 4dc5746..d560bf5 100644
--- a/profile/package.json
+++ b/profile/package.json
@@ -3,6 +3,9 @@
"version": "0.1.0",
"private": true,
"dependencies": {
+ "@fortawesome/fontawesome-svg-core": "^1.2.36",
+ "@fortawesome/free-solid-svg-icons": "^5.15.4",
+ "@fortawesome/react-fontawesome": "^0.1.15",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
diff --git a/profile/src/Profile.js b/profile/src/Profile.js
index b72017d..7ca5a82 100644
--- a/profile/src/Profile.js
+++ b/profile/src/Profile.js
@@ -3,15 +3,17 @@ import Request from "./components/request/Request";
import About from "./components/about-doctor/About";
import Comments from "./components/comments/Comments";
import Presents from "./components/present/Presents";
+import CommentModal from "./components/modal/Modal";
const Profile = () => {
return (
<>
-
+
>
);
diff --git a/profile/src/components/about-doctor/About.js b/profile/src/components/about-doctor/About.js
index a7fce13..729a0ef 100644
--- a/profile/src/components/about-doctor/About.js
+++ b/profile/src/components/about-doctor/About.js
@@ -3,7 +3,7 @@ import './About.scss'
const About = () => {
return (
-
+
درباره پزشک
لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ، و با استفاده
diff --git a/profile/src/components/comments/Comments.js b/profile/src/components/comments/Comments.js
index cd46b2e..c1bd7c2 100644
--- a/profile/src/components/comments/Comments.js
+++ b/profile/src/components/comments/Comments.js
@@ -1,13 +1,14 @@
-import React from "react";
+import React , {useState} from "react";
import Component from "./Comment/Comment";
import star from "../../assets/star.svg";
import avatar1 from "../../assets/man1.svg";
import avatar2 from "../../assets/man2.svg";
import plus from "../../assets/plus.svg";
+import CommentModal from "../modal/Modal";
import "./comments.scss";
-const comments = () => {
+const Comments = () => {
const comments = [
{
name: "محسن محمدی",
@@ -36,6 +37,10 @@ const comments = () => {
},
];
+ //modal comment
+ const [modal, setModal] = useState(false);
+ const toggle = () => setModal(!modal);
+
return (
<>
@@ -62,14 +67,15 @@ const comments = () => {
>
))}
-