Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 3842 | Rev 3892 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 3842 Rev 3891
Línea 136... Línea 136...
136
      <main>
136
      <main>
137
        <div className="main-section">
137
        <div className="main-section">
138
          <div className="ph-5">
138
          <div className="ph-5">
139
            <div className="main-section-data">
139
            <div className="main-section-data">
140
              <div className="main-left-sidebar">
140
              <div className="main-left-sidebar">
141
                <div className="user_profile border-gray border-radius pb-5">
141
                <div className="user_profile">
142
                  <div className="user-pro-img">
142
                  <div className="user-pro-img">
143
                    <img
143
                    <img
144
                      id="company-img"
-
 
145
                      src={`/storage/type/company/code/${companyId}/${image ? `filename/${image}` : ""}`}
144
                      src={`/storage/type/company/code/${companyId}/${image ? `filename/${image}` : ""}`}
146
                      alt="profile-image"
145
                      alt="profile-image"
147
                    />
146
                    />
148
                  </div>
147
                  </div>
149
                  <div className="user_pro_status horizontal-list">
148
                  <div className="user_pro_status horizontal-list">
150
                    <h1>{companyName}</h1>
149
                    <h1>{companyName}</h1>
151
                    <div className="row px-5" style={{ marginTop: '10px' }}>
150
                    <div className="row px-5" style={{ marginTop: '10px' }}>
152
                      {
-
 
153
                        facebook &&
151
                      {facebook &&
154
                        <i
152
                        <i
155
                          onClick={() => window.location.href = facebook}
153
                          onClick={() => window.location.href = facebook}
156
                          className="cursor-pointer fa fa-facebook"
154
                          className="cursor-pointer fa fa-facebook"
157
                          style={{ fontSize: '1.4rem' }}
155
                          style={{ fontSize: '1.4rem' }}
158
                        />
156
                        />
159
                      }
157
                      }
160
                      {
-
 
161
                        twitter &&
158
                      {twitter &&
162
                        <i
159
                        <i
163
                          onClick={() => window.location.href = twitter}
160
                          onClick={() => window.location.href = twitter}
164
                          className="cursor-pointer fa fa-twitter"
161
                          className="cursor-pointer fa fa-twitter"
165
                          style={{ fontSize: '1.4rem' }}
162
                          style={{ fontSize: '1.4rem' }}
166
                        />
163
                        />
167
                      }
164
                      }
168
                      {
-
 
169
                        instagram &&
165
                      {instagram &&
170
                        <i
166
                        <i
171
                          onClick={() => window.location.href = instagram}
167
                          onClick={() => window.location.href = instagram}
172
                          className="fa fa-instagram cursor-pointer"
168
                          className="fa fa-instagram cursor-pointer"
173
                          style={{ fontSize: '1.4rem' }}
169
                          style={{ fontSize: '1.4rem' }}
174
                        />
170
                        />
Línea 256... Línea 252...
256
                </div>
252
                </div>
257
                <CompanyFollowersHelper companyId={companyId} />
253
                <CompanyFollowersHelper companyId={companyId} />
258
              </div>
254
              </div>
259
              <div className="main-ws-sec">
255
              <div className="main-ws-sec">
260
                <div className="user-tab-sec rewivew">
256
                <div className="user-tab-sec rewivew">
261
                  {
-
 
262
                    !initialLoading
257
                  {!initialLoading &&
263
                    &&
-
 
264
                    <div
-
 
265
                      className="row"
258
                    <div className="row">
266
                    >
-
 
267
                      {
-
 
268
                        isFollower
259
                      {isFollower &&
269
                        &&
-
 
270
                        <div
-
 
271
                          className="col text-left pl-0"
260
                        <div className="col text-left pl-0">
272
                        >
-
 
273
                          <button
261
                          <button
274
                            className="btn btn-link p-0 text-decoration-none"
262
                            className="btn btn-link p-0 text-decoration-none"
275
                            onClick={() => changeCurrentTab(TABS.FEEDS)}
263
                            onClick={() => changeCurrentTab(TABS.FEEDS)}
276
                            style={{ padding: '0 !important' }}
264
                            style={{ padding: '0 !important' }}
277
                          >
265
                          >
278
                            <span className="p-0 default-link font-weight-bold text-dark">Ver Publicaciones</span>
266
                            <span className="p-0 default-link font-weight-bold text-dark">Ver Publicaciones</span>
279
                          </button>
267
                          </button>
280
                        </div>
268
                        </div>
281
                      }
269
                      }
282
                      <div
-
 
283
                        className="col text-right pl-0"
270
                      <div className="col text-right pl-0">
284
                      >
-
 
285
                        <button
271
                        <button
286
                          className="btn btn-link p-0 text-decoration-none"
272
                          className="btn btn-link p-0 text-decoration-none"
287
                          onClick={() => changeCurrentTab(TABS.INFO)}
273
                          onClick={() => changeCurrentTab(TABS.INFO)}
288
                          style={{ padding: '0 !important' }}
274
                          style={{ padding: '0 !important' }}
289
                        >
275
                        >
290
                          <span className="p-0 default-link font-weight-bold text-dark">Ver Información</span>
276
                          <span className="p-0 default-link font-weight-bold text-dark">Ver Información</span>
291
                        </button>
277
                        </button>
292
                      </div>
278
                      </div>
293
                    </div>
279
                    </div>
294
                  }
280
                  }
295
                  {/* <!-- tab-feed end--> */}
-
 
296
                </div>
281
                </div>
297
                {
282
                {
298
                  currentTab === TABS.FEEDS
283
                  currentTab === TABS.FEEDS
299
                  &&
284
                  &&
300
                  <div
285
                  <div
Línea 392... Línea 377...
392
                  >
377
                  >
393
                    <Spinner />
378
                    <Spinner />
394
                  </div>
379
                  </div>
395
                }
380
                }
396
              </div>
381
              </div>
397
              <div className="right-sidebar" style={{ maxHeight: '450px' }}>
382
              <div className="right-sidebar">
398
                {loading &&
383
                {loading &&
399
                  <div className="spinner-container">
384
                  <div className="spinner-container">
400
                    <Spinner />
385
                    <Spinner />
401
                  </div>
386
                  </div>
402
                }
387
                }
Línea 450... Línea 435...
450
      </main >
435
      </main >
451
    </React.Fragment >
436
    </React.Fragment >
452
  );
437
  );
453
};
438
};
Línea 454... Línea -...
454
 
-
 
455
// const mapStateToProps = (state) => ({
-
 
456
 
-
 
457
// })
-
 
458
 
439
 
459
const mapDispatchToProps = {
440
const mapDispatchToProps = {
460
  addNotification: (notification) => addNotification(notification),
441
  addNotification: (notification) => addNotification(notification),
461
  setTimelineUrl: (url) => setTimelineUrl(url),
442
  setTimelineUrl: (url) => setTimelineUrl(url),