Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Navigation Bar Component
<ul>
<li>{{#link-to 'frontpage'}}Front page{{/link-to}}</li>
<li>{{#link-to 'new'}}new{{/link-to}}</li>
<li>{{#link-to 'show'}}show{{/link-to}}</li>
<li>{{#link-to 'ask'}}ask{{/link-to}}</li>
<li>{{#link-to 'jobs'}}jobs{{/link-to}}</li>
<li>{{#link-to 'active'}}active{{/link-to}}</li>
</ul>
import Component from '@ember/component';
export default Component.extend({
tagName: 'nav'
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment