Skip to content

Commit

Permalink
Add nav bar component
Browse files Browse the repository at this point in the history
Add simple nav bar component. Test files have not been committed since
the code isn't doing anything useful yet.

Include nav bar into application template.
  • Loading branch information
bluSCALE4 committed Feb 26, 2016
1 parent 204ed4e commit 51c4ab9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
4 changes: 4 additions & 0 deletions app/components/nav-bar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import Ember from 'ember';

export default Ember.Component.extend({
});
4 changes: 2 additions & 2 deletions app/templates/application.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<h2 id="title">Welcome to Ember</h2>

{{nav-bar}}
<h1>Autism</h1>
{{outlet}}
7 changes: 7 additions & 0 deletions app/templates/components/nav-bar.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<nav>
<ul>
<li>Home</li>
<li>Cheat Sheets</li>
</ul>
</nav>
{{yield}}

0 comments on commit 51c4ab9

Please sign in to comment.