Skip to content

Commit

Permalink
add bagrut and psychometric grades as mock data for user grades
Browse files Browse the repository at this point in the history
Relates #110
  • Loading branch information
veredrec committed Oct 28, 2017
1 parent 9e36bbc commit 9c7d10f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions public/scss/_detail.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ $grey: #F5F5F5;
display: block;
margin: 1em auto;
}

.detail-subtitle {
font-size: 1.2em;
}
Expand All @@ -37,7 +36,10 @@ $grey: #F5F5F5;
background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
margin: 0.2 0;
}

.detail-helper{
padding: 1.1em;
}
.current-grade {
color: green;
float: right;
}
4 changes: 2 additions & 2 deletions src/components/career_detail.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ class CareerDetail extends Component {
<p className='detail-item'>{ selected.description }</p>
<hr className='line' />
<h2 className='detail-subtitle'>Grades you need: </h2>
<p className='detail-item grade'>Bagrut: { selected.grade_bagrut } </p>
<p className='detail-item grade'>Psychometric: { selected.grade_psychometric }</p>
<p className='detail-item grade'>Bagrut: { selected.grade_bagrut } <span className="current-grade"> 11.30 </span></p>
<p className='detail-item grade'>Psychometric: { selected.grade_psychometric } <span className="current-grade"> 790 </span></p>
<hr className='line' />
<h2 className='detail-subtitle'>Universities offering this degree: </h2>
<p className='detail-item'>{ selected.universities }</p>
Expand Down

0 comments on commit 9c7d10f

Please sign in to comment.