Projekt

Obecné

Profil

« Předchozí | Další » 

Revize d0fad67a

Přidáno uživatelem plundrichov před více než 4 roky(ů)

re #58 fixed (nav.js, app.css)

Zobrazit rozdíly:

client/src/App.css
68 68
    cursor: pointer;  
69 69
}
70 70

  
71
.top-nav h5 {
71
.top-nav h2 {
72 72
    color: white;
73
    font-size: 13px;
73 74
}
74 75

  
75 76
.profile-comp {
......
319 320
  
320 321
    text-decoration: none;
321 322
    color: #fff; 
322
    cursor: pointer;  
323
    cursor: pointer;
324
    display: block;  
323 325

  
324 326
}
325 327
/* ------------- SETTING -------------------*/
client/src/Nav.js
4 4
import * as api_fetch from './api'
5 5

  
6 6
function Nav(props) {
7
  console.log(props.currentUser)
8 7
  return (
9 8
    props.currentUser === undefined
10 9
  ?
......
16 15
         <Link className="link-nav" to="/"><h1>YOSO</h1></Link>
17 16
        <div className="profile-comp">
18 17
        <img src={props.currentUser.photo} className="img-avatar" alt="profile_photo"></img>
19
          <h5>{props.currentUser.name}</h5>
18
          <h2>{props.currentUser.name}</h2>
20 19
            <ul>
21 20
              {props.currentUser.role === 'EMPLOYER' ? 
22 21
              <li>

Také k dispozici: Unified diff