From bdb3de163c5017d2ba6b587c592b5c515d178e1c Mon Sep 17 00:00:00 2001 From: mahdi Date: Sat, 21 May 2022 13:50:10 +0430 Subject: [PATCH] delete 2 files and update 1 file --- .../images/ProfileInfoarrow-down.svg | 0 ...ortrait-of-a-smiling-young-man-in-eyewear.svg | 0 src/components/ProfileInfo/index.js | 16 ++++++++++++---- 3 files changed, 12 insertions(+), 4 deletions(-) rename src/components/ProfileInfo/arrow-down.svg => public/images/ProfileInfoarrow-down.svg (100%) rename src/components/ProfileInfo/portrait-of-a-smiling-young-man-in-eyewear.svg => public/images/ProfileInfoportrait-of-a-smiling-young-man-in-eyewear.svg (100%) diff --git a/src/components/ProfileInfo/arrow-down.svg b/public/images/ProfileInfoarrow-down.svg similarity index 100% rename from src/components/ProfileInfo/arrow-down.svg rename to public/images/ProfileInfoarrow-down.svg diff --git a/src/components/ProfileInfo/portrait-of-a-smiling-young-man-in-eyewear.svg b/public/images/ProfileInfoportrait-of-a-smiling-young-man-in-eyewear.svg similarity index 100% rename from src/components/ProfileInfo/portrait-of-a-smiling-young-man-in-eyewear.svg rename to public/images/ProfileInfoportrait-of-a-smiling-young-man-in-eyewear.svg diff --git a/src/components/ProfileInfo/index.js b/src/components/ProfileInfo/index.js index 5c17a39..8480593 100644 --- a/src/components/ProfileInfo/index.js +++ b/src/components/ProfileInfo/index.js @@ -1,12 +1,16 @@ import React from "react"; -import profilePic from "./portrait-of-a-smiling-young-man-in-eyewear.svg"; -import arrowDown from "./arrow-down.svg"; +import profilePic from "images/ProfileInfoportrait-of-a-smiling-young-man-in-eyewear.svg"; +import arrowDown from "images/ProfileInfoarrow-down.svg"; const ProfileInfo = ({ name, role }) => { return (
- profile-pic + profile-pic

{name}

{role} @@ -17,7 +21,11 @@ const ProfileInfo = ({ name, role }) => { data-dropdown-toggle="dropdown" type="button" > - arrow-down + arrow-down