2016-06-02 16:45:28 -04:00
|
|
|
<div class="resources js-resources-ctrl grid-fixed" ng-controller="ResourcesCtrl as ctrl">
|
|
|
|
<div class="c8">
|
|
|
|
<div class="l-flex--column">
|
|
|
|
<div class="showcase" ng-repeat="(category, categoryObj) in ctrl.fbObject">
|
|
|
|
<header class="c-resource-header">
|
|
|
|
<a class="h-anchor-offset" name="{{category}}"></a>
|
|
|
|
<h2 class="text-headline text-uppercase">{{ category }}</h2>
|
|
|
|
</header>
|
2016-05-31 11:33:46 -04:00
|
|
|
|
2016-06-02 16:45:28 -04:00
|
|
|
<div class="shadow-1">
|
|
|
|
<div ng-repeat="(subCategory, subcategoryObj) in categoryObj">
|
|
|
|
<a class="h-anchor-offset" name="{{subCategory}}"></a>
|
|
|
|
<h3 class="text-uppercase subcategory-title">{{subCategory}}</h3>
|
2016-05-31 11:33:46 -04:00
|
|
|
|
2016-06-02 16:45:28 -04:00
|
|
|
<div ng-repeat="(section, sectionObj) in subcategoryObj">
|
2016-07-13 13:56:01 -04:00
|
|
|
<div ng-repeat="resource in sectionObj | orderObjectByOfTypeString:'title':false">
|
2016-06-02 16:45:28 -04:00
|
|
|
<div class="c-resource" ng-if="resource.rev">
|
2016-08-24 17:46:54 -04:00
|
|
|
<a class="l-flex--column resource-row-link" target="_blank" ng-href="{{resource.url}}">
|
2016-06-02 16:45:28 -04:00
|
|
|
<div>
|
|
|
|
<h4>{{ resource.title }}</h4>
|
|
|
|
<p class="resource-description" ng-if="resource.desc">{{ resource.desc }}</p>
|
|
|
|
<p class="resource-description" ng-if="!resource.desc">No Description</p>
|
|
|
|
</div>
|
|
|
|
</a>
|
2016-05-31 11:33:46 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-05-13 13:05:16 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-06-02 16:45:28 -04:00
|
|
|
|
|
|
|
<div class="c3">
|
|
|
|
<div class="c-resource-nav shadow-1 l-flex--column h-affix" ng-class="{ 'affix-top': ctrl.scrollPos > 200 }">
|
|
|
|
<div class="category" ng-repeat="(category, categoryObj) in ctrl.fbObject">
|
2016-08-24 17:46:54 -04:00
|
|
|
<a class="category-link h-capitalize" ng-href="#{{ category }}">{{ category }}</a>
|
2016-06-02 16:45:28 -04:00
|
|
|
<div class="subcategory" ng-repeat="(subCategory, subcategoryObj) in categoryObj">
|
2016-08-24 17:46:54 -04:00
|
|
|
<a class="subcategory-link" ng-href="#{{subCategory}}">{{subCategory}}</a>
|
2016-06-02 16:45:28 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-05-13 13:05:16 -04:00
|
|
|
</div>
|