Skip to content

Commit

Permalink
Add impact & years
Browse files Browse the repository at this point in the history
  • Loading branch information
anatoliykmetyuk committed Aug 31, 2023
1 parent 8088306 commit cdb5289
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
8 changes: 8 additions & 0 deletions _includes/project-block.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ <h3>{{ project.name }}</h3>
{% else %}
<img src="/resources/img/project_status_done.png" >
{% endif %}
<div class="project-meta">
{% if project.impact %}
<p>Impact: {{ project.impact }}</p>
{% endif %}
{% if project.start_year && project.end_year %}
<p>{{ project.start_year }} - {{ project.end_year }}</p>
{% endif %}
</div>
</div>
</div>
</div>
Expand Down
12 changes: 9 additions & 3 deletions resources/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1524,8 +1524,8 @@ ul.nav {
height: 50px;

position: absolute;
bottom: 25px;
left: 25px;
bottom: 0px;
right: 0px;
}

.project .status.active {
Expand All @@ -1551,7 +1551,7 @@ ul.nav {
// Align to the bottom-right
position: absolute;
bottom: 25px;
right: 45px;
left: 25px;
}

.contributors li {
Expand All @@ -1576,3 +1576,9 @@ ul.nav {
color: #999;
}
}

.project-meta {
margin-top: 20px;
font-size: 14px;
color: #999;
}

0 comments on commit cdb5289

Please sign in to comment.