Prechádzať zdrojové kódy

change path img appoint and footer

Boris K 5 rokov pred
rodič
commit
4582b72d97

+ 2 - 5
.idea/workspace.xml

@@ -3,11 +3,8 @@
   <component name="ChangeListManager">
     <list default="true" id="a8a32a88-c432-4104-a927-0d3d1c1c21be" name="Default Changelist" comment="">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/src/App.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/App.js" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/src/components/Footer.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/Footer.js" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/src/components/appointment/Appointment.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/appointment/Appointment.js" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/src/components/specialists/MoreInfo.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/specialists/MoreInfo.js" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/src/reducers/user.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/reducers/user.js" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/src/utils/formFields.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/utils/formFields.js" afterDir="false" />
     </list>
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
     <option name="SHOW_DIALOG" value="false" />
@@ -76,7 +73,7 @@
       <option name="presentableId" value="Default" />
       <updated>1562445740358</updated>
       <workItem from="1562445741612" duration="45849000" />
-      <workItem from="1566302661790" duration="3402000" />
+      <workItem from="1566302661790" duration="4145000" />
     </task>
     <servers />
   </component>

+ 1 - 1
src/components/Footer.js

@@ -9,7 +9,7 @@ const Footer = () => {
                     <p>пл. Конституции, 26</p>
            </div>
            <div className="footer-part logo-box">
-               <img src="../images/logo.png" alt="logo"/>
+               <img src="../../images/logo.png" alt="logo"/>
                </div>
            <div className="footer-part contacts">
               <h4 className  = "icon-phone"> Контакты</h4>

+ 1 - 1
src/components/appointment/Appointment.js

@@ -86,7 +86,7 @@ export class Appoint extends React.Component {
                             <div className="card">
                                 <div className="card-item present">
                                     <div className="photo">
-                                        <img src={`.${doctor.photo}`} alt={doctor.name}/>
+                                        <img src={`../../${doctor.photo}`} alt={doctor.name}/>
                                     </div>
                                     <div className="order">
                                         <h3>{doctor.name}</h3>