Skip to content

Commit

Permalink
remove projects from navigation bars
Browse files Browse the repository at this point in the history
  • Loading branch information
yukezhu committed Sep 22, 2018
1 parent 194e610 commit 7bc3ad3
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 7 deletions.
2 changes: 1 addition & 1 deletion _data/people.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ current_students:

michelle_lee:
name: Michelle Lee
img: black_person.png
img: michelle_lee.jpg
title: Ph.D. Student, ME
email: mishlee [at] stanford [dot] edu

Expand Down
5 changes: 3 additions & 2 deletions _includes/navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,16 @@
<ul class="nav navbar-nav navbar-right">
<li><a href="/">Home</a></li>
<li><a href="/people">People</a></li>
<li class="dropdown">
<li><a href="#">Robots</a></li>
<!-- <li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Projects <b class="caret"></b></a>
<ul class="dropdown-menu">
<li class="dropdown-item"><a href="projects/hand_hygiene/">Hand Hygiene</a></li>
<li class="dropdown-item"><a href="projects/senior_care/">Senior Well-Being</a></li>
<li class="dropdown-item"><a href="projects/icu/">ICU Clinical Pathway Support</a></li>
<li class="dropdown-item"><a href="projects/surgical_support">Surgical Support</a></li>
</ul>
</li>
</li> -->
<li><a href="/publications">Publications</a></li>
</ul>
</div>
Expand Down
40 changes: 36 additions & 4 deletions _pages/people.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,16 +135,32 @@ permalink: /people
<div class="page-header-people-dark"></div>

{% for person_kv in site.data.people.alumni %}
{% assign person = person_kv[1] %}
{% assign person = person_kv[1] %}
{% assign loopindex = forloop.index0 | modulo: 4 %}

{% if loopindex == 0 %}
<div class="col-lg-12 mar-bot-30">
{% endif %}

<div class="col-md-3">
<h3><a href="{{ person.link }}" target="_blank">{{ person.name }}</a></h3>
<p class="person-title">{{ person.title }}</p>
</div>

{% if loopindex == 3 %}
</div>
{% endif %}

{% endfor %}

{% if loopindex != 3 %}
</div>
{% endif %}

</div>
</div>
</div>
<br/><br/>
<br/>
</div>


Expand All @@ -157,14 +173,30 @@ permalink: /people
<div class="page-header-people"></div>

{% for person_kv in site.data.people.collab %}
{% assign person = person_kv[1] %}
{% assign person = person_kv[1] %}
{% assign loopindex = forloop.index0 | modulo: 4 %}

{% if loopindex == 0 %}
<div class="col-lg-12 mar-bot-30">
{% endif %}

<div class="col-md-3">
<h3><a href="{{ person.link }}" target="_blank">{{ person.name }}</a></h3>
<p class="person-title">{{ person.title }}</p>
</div>

{% if loopindex == 3 %}
</div>
{% endif %}

{% endfor %}

{% if loopindex != 3 %}
</div>
{% endif %}

</div>
</div>
<br/><br/>
<!-- <br/><br/> -->
</div>
<!-- /.container -->
Binary file added img/people/700x400/michelle_lee.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.

0 comments on commit 7bc3ad3

Please sign in to comment.