Skip to content

Commit

Permalink
web: Add an npm link above the homepage fold
Browse files Browse the repository at this point in the history
Add a third button underneath the INSTALL button that links
to http://search.npmjs.org

Fixes nodejs#4077.
  • Loading branch information
Joe Wegner committed Apr 2, 2013
1 parent b3a8e0d commit 8e3ad30
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions doc/index.html
Expand Up @@ -28,8 +28,9 @@
<div class=buttons>
<a href="http://nodejs.org/dist/__VERSION__/node-__VERSION__.tar.gz" class="button downloadbutton" id="downloadbutton">INSTALL</a>

<a href="download/" class=button id="all-dl-options">Downloads</a
><a href="api/" class="button" id="docsbutton">API Docs</a>
<a href="download/" class=button id="all-dl-options">Downloads</a>
<a href="api/" class="button" id="docsbutton">API Docs</a>
<a href="http://search.npmjs.org" class="button" id="npmbutton">NPM</a>
</div>

<a href="http://github.com/joyent/node"><img class="forkme" src="http://nodejs.org/images/forkme.png" alt="Fork me on GitHub"></a>
Expand Down
6 changes: 3 additions & 3 deletions doc/pipe.css
Expand Up @@ -101,7 +101,7 @@ h1 a, h2 a, h3 a, h4 a {
height: auto;
overflow: hidden;
_zoom: 1;
width: 300px;
width: 350px;
margin: 0 auto;
}

Expand All @@ -120,7 +120,7 @@ h1 a, h2 a, h3 a, h4 a {
-moz-transition: .2s all ease-in-out;
transition: .2s all ease-in-out;

margin: 10px 4px;
margin: 8px 1px;
display: inline-block;
color: #46483e;
background-color: #9a9f8b;
Expand All @@ -145,7 +145,7 @@ h1 a, h2 a, h3 a, h4 a {

#intro .downloadbutton {
background-color: #8BC84B;
width: 200px;
width: 300px;
font-size: 14px;
font-weight: bold;
display: block;
Expand Down

0 comments on commit 8e3ad30

Please sign in to comment.