Skip to content

Commit

Permalink
mobile mentor nav
Browse files Browse the repository at this point in the history
  • Loading branch information
ehzhang committed Oct 3, 2015
1 parent 74cf52a commit ed8d42c
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
19 changes: 19 additions & 0 deletions client/components/nav/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,25 @@
</div>
</div>
</div>

<div id="mobile-nav">
{{#if userIs 'mentor'}}
<div class="ui bottom fixed three item labeled icon menu">
<a class="item" href="/">
<i class="home icon"></i>
Home
</a>
<a class="item" href="/mentor">
<i class="inbox icon"></i>
Mentor
</a>
<a class="item" href="/profile">
<i class="child icon"></i>
Profile
</a>
</div>
{{/if}}
</div>
{{/if}}
</template>

Expand Down
9 changes: 8 additions & 1 deletion client/stylesheets/scss/components/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,11 @@
left: 90%;
padding: 0.4em;
}
}
}

@media only screen and (min-width: 768px) {

#mobile-nav {
display: none;
}
}
1 change: 1 addition & 0 deletions client/stylesheets/scss/components/_ticketPanel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
text-align: center;
.title {
font-size: 1.8em;
line-height: 1.8em;
margin-bottom: 12px;
}
.content {
Expand Down
2 changes: 0 additions & 2 deletions client/views/home/home.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<template name="home">
<section id="home">

<div class="ui centered stackable page grid">
<div class="centered row">
<div class="twelve wide column">
Expand All @@ -26,7 +25,6 @@
</div>
</div>
</div>

</section>
</template>

Expand Down

0 comments on commit ed8d42c

Please sign in to comment.