Skip to content

Commit

Permalink
Cleanup dropdown for homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
ebidel committed Nov 18, 2014
1 parent 797e6ff commit 2901fd5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
13 changes: 7 additions & 6 deletions _includes/dropdown-panel.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
<dropdown-panel>
<core-item icon="book" label="Learn" {% if page.navgroup == 'docs' %}active{% endif %}>
<a href="/docs/start/tutorial/intro.html"></a>
<core-item icon="social:school" label="Get Started">
<a href="/docs/start/getting-the-code.html"></a>
</core-item>
<core-item icon="drive-document" label="Elements" {% if page.navgroup == 'elements' %}active{% endif %}>
<a href="/docs/elements/"></a>
<core-item icon="description" label="Guides &amp; Resources">
<a href="/docs/polymer/polymer.html" class="paper-button" borderless sink></a>
</core-item>
<core-item icon="list" label="Resources" {% if page.navgroup == 'resources' %}active{% endif %}>
<a href="/resources/faq.html"></a>
<core-item icon="polymer" label="Elements">
<a href="/docs/elements/"></a>
</core-item>
<core-item icon="view-headline" label="Blog">
<a href="//blog.polymer-project.org" target="_blank"></a>
</core-item>
</dropdown-panel>

2 changes: 1 addition & 1 deletion _includes/top-nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<app-bar theme="{{theme | trim }}" {% if page.layout == 'home'%}home{% endif %} badge="{{site.project_status}}" class="bar fixed" unresolved>
<a href="/docs/start/getting-the-code.html" class="paper-button" borderless sink>Get Started</a>
<a href="/resources/faq.html" class="paper-button" borderless sink>Guides &amp; Resources</a>
<a href="/docs/polymer/polymer.html" class="paper-button" borderless sink>Guides &amp; Resources</a>
<a href="/docs/elements/" class="paper-button" borderless sink>Elements</a>
<a href="//blog.polymer-project.org" target="_blank" class="paper-button" borderless sink>Blog</a>
</app-bar>
4 changes: 2 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
<div layout vertical id="sidebar-content">
<div id="logo-container" layout horizontal center>
<a href="/" class="logo"><img src="/images/logos/lockup.svg"></a>
<core-icon id="dropdown-toggle" icon="arrow-drop-down"></core-icon>
<!-- <core-icon id="dropdown-toggle" icon="arrow-drop-down"></core-icon> -->
</div>

{% include dropdown-panel.html %}
<!-- {% include dropdown-panel.html %} -->

<docs-menu unresolved menu="{{site.data.pagetypes[page.type].menu}}" flex
coreElements='{% list_components dir:components prefix:core blacklist:"core-slide core-layout core-doc-viewer core-home-page core-home-page-dev core-transition-css core-overlay-layer core-key-helper core-doc-toc core-doc-page core-component-page core-popup-menu" %}'
Expand Down

0 comments on commit 2901fd5

Please sign in to comment.