Skip to content

Commit cdb5289

Browse files
Add impact & years
1 parent 8088306 commit cdb5289

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

_includes/project-block.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ <h3>{{ project.name }}</h3>
4545
{% else %}
4646
<img src="/resources/img/project_status_done.png" >
4747
{% endif %}
48+
<div class="project-meta">
49+
{% if project.impact %}
50+
<p>Impact: {{ project.impact }}</p>
51+
{% endif %}
52+
{% if project.start_year && project.end_year %}
53+
<p>{{ project.start_year }} - {{ project.end_year }}</p>
54+
{% endif %}
55+
</div>
4856
</div>
4957
</div>
5058
</div>

resources/css/main.scss

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1524,8 +1524,8 @@ ul.nav {
15241524
height: 50px;
15251525

15261526
position: absolute;
1527-
bottom: 25px;
1528-
left: 25px;
1527+
bottom: 0px;
1528+
right: 0px;
15291529
}
15301530

15311531
.project .status.active {
@@ -1551,7 +1551,7 @@ ul.nav {
15511551
// Align to the bottom-right
15521552
position: absolute;
15531553
bottom: 25px;
1554-
right: 45px;
1554+
left: 25px;
15551555
}
15561556

15571557
.contributors li {
@@ -1576,3 +1576,9 @@ ul.nav {
15761576
color: #999;
15771577
}
15781578
}
1579+
1580+
.project-meta {
1581+
margin-top: 20px;
1582+
font-size: 14px;
1583+
color: #999;
1584+
}

0 commit comments

Comments
 (0)