Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<template name="DiscoverPage">
<div class="nav">
<a class="tab-link {{selectedIfCurrentTabIs 'recent projects'}}" href="#" data-tab-name="recent projects">recent projects</a>
<a class="tab-link {{selectedIfCurrentTabIs 'recent sketches'}}" href="#" data-tab-name="recent sketches">recent sketches</a>
</div>
{{#if currentTabIs 'recent projects'}}
{{> RecentProjects }}
{{/if}}
{{#if currentTabIs 'recent sketches'}}
{{> RecentSketches }}
{{/if}}
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.