Basic layout and categories nav
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import Component from '@ember/component';
|
||||
|
||||
export default Component.extend({
|
||||
|
||||
categories: null
|
||||
|
||||
});
|
||||
@@ -0,0 +1,9 @@
|
||||
{{#if categories}}
|
||||
<nav>
|
||||
<ul>
|
||||
{{#each categories as |category|}}
|
||||
<li><a>{{category}}</a></li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
</nav>
|
||||
{{/if}}
|
||||
Reference in New Issue
Block a user