Skip to content

Commit

Permalink
Merge pull request #2694 from NuGet/dist-downloads
Browse files Browse the repository at this point in the history
Update download links on front page
  • Loading branch information
maartenba committed Sep 24, 2015
2 parents 759030e + cad9a49 commit 1cdaf1c
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 11 deletions.
9 changes: 7 additions & 2 deletions content/DEV/Home.html
Expand Up @@ -2,9 +2,14 @@
<div>
<h1>What is NuGet?</h1>
<p>NuGet is the package manager for the Microsoft development platform including .NET. The NuGet client tools provide the ability to produce and consume packages. The NuGet Gallery is the central package repository used by all package authors and consumers.</p>
<a class="install" href="http://docs.nuget.org/docs/start-here/installing-nuget">Install NuGet</a>
<a class="install" href="https://dist.nuget.org/visualstudio-2015-vsix/latest/NuGet.Tools.vsix"><i class="icon-download-alt icon-white"></i> Install NuGet</a>
<div class="downloads">
<a href="https://dist.nuget.org/win-x86-commandline/latest/nuget.exe">latest nuget.exe</a> -
<a href="https://dist.nuget.org/index.html">all downloads</a> -
<a href="http://docs.nuget.org/docs/start-here/installing-nuget" target="_blank">documentation</a>
</div>
</div>
<img src="content/Logos/hero.png" alt="Manage NuGet Packages Dialog Window" />
<img height="354" width="494" src="Content/Logos/hero.png" alt="Manage NuGet Packages Dialog Window" />
</section>

<section class="aggstats">
Expand Down
9 changes: 7 additions & 2 deletions content/INT/Home.html
Expand Up @@ -2,9 +2,14 @@
<div>
<h1>What is NuGet?</h1>
<p>NuGet is the package manager for the Microsoft development platform including .NET. The NuGet client tools provide the ability to produce and consume packages. The NuGet Gallery is the central package repository used by all package authors and consumers.</p>
<a class="install" href="http://docs.nuget.org/docs/start-here/installing-nuget">Install NuGet</a>
<a class="install" href="https://dist.nuget.org/visualstudio-2015-vsix/latest/NuGet.Tools.vsix"><i class="icon-download-alt icon-white"></i> Install NuGet</a>
<div class="downloads">
<a href="https://dist.nuget.org/win-x86-commandline/latest/nuget.exe">latest nuget.exe</a> -
<a href="https://dist.nuget.org/index.html">all downloads</a> -
<a href="http://docs.nuget.org/docs/start-here/installing-nuget" target="_blank">documentation</a>
</div>
</div>
<img src="/content/logos/hero.png" alt="Manage NuGet Packages Dialog Window" />
<img height="354" width="494" src="Content/Logos/hero.png" alt="Manage NuGet Packages Dialog Window" />
</section>

<section class="aggstats">
Expand Down
9 changes: 7 additions & 2 deletions content/PROD/Home.html
Expand Up @@ -2,9 +2,14 @@
<div>
<h1>What is NuGet?</h1>
<p>NuGet is the package manager for the Microsoft development platform including .NET. The NuGet client tools provide the ability to produce and consume packages. The NuGet Gallery is the central package repository used by all package authors and consumers.</p>
<a class="install" href="http://docs.nuget.org/docs/start-here/installing-nuget">Install NuGet</a>
<a class="install" href="https://dist.nuget.org/visualstudio-2015-vsix/latest/NuGet.Tools.vsix"><i class="icon-download-alt icon-white"></i> Install NuGet</a>
<div class="downloads">
<a href="https://dist.nuget.org/win-x86-commandline/latest/nuget.exe">latest nuget.exe</a> -
<a href="https://dist.nuget.org/index.html">all downloads</a> -
<a href="http://docs.nuget.org/docs/start-here/installing-nuget" target="_blank">documentation</a>
</div>
</div>
<img src="/content/logos/hero.png" alt="Manage NuGet Packages Dialog Window" />
<img height="354" width="494" src="Content/Logos/hero.png" alt="Manage NuGet Packages Dialog Window" />
</section>

<section class="aggstats">
Expand Down
13 changes: 9 additions & 4 deletions src/NuGetGallery/App_Data/Files/Content/Home.html
Expand Up @@ -2,20 +2,25 @@
<div>
<h1>What is NuGet?</h1>
<p>NuGet is the package manager for the Microsoft development platform including .NET. The NuGet client tools provide the ability to produce and consume packages. The NuGet Gallery is the central package repository used by all package authors and consumers.</p>
<a class="install" href="http://docs.nuget.org/docs/start-here/installing-nuget">Install NuGet</a>
<a class="install" href="https://dist.nuget.org/visualstudio-2015-vsix/latest/NuGet.Tools.vsix"><i class="icon-download-alt icon-white"></i> Install NuGet</a>
<div class="downloads">
<a href="https://dist.nuget.org/win-x86-commandline/latest/nuget.exe">latest nuget.exe</a> -
<a href="https://dist.nuget.org/index.html">all downloads</a> -
<a href="http://docs.nuget.org/docs/start-here/installing-nuget" target="_blank">documentation</a>
</div>
</div>
<img height="352" width="494" src="Content/Logos/hero.png" alt="Manage NuGet Packages Dialog Window" />
<img height="354" width="494" src="Content/Logos/hero.png" alt="Manage NuGet Packages Dialog Window" />
</section>

<section class="aggstats">
<span class="stat">
<span id="UniquePackages" class="num"></span> unique packages
</span>
<span class="stat">
<span id="Downloads" class="num"></span>total package downloads
<span id="Downloads" class="num"></span> total package downloads
</span>
<span class="stat">
<span id="TotalPackages" class="num"></span>total packages
<span id="TotalPackages" class="num"></span> total packages
</span>
</section>

Expand Down
Binary file modified src/NuGetGallery/Content/Logos/hero.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 11 additions & 1 deletion src/NuGetGallery/Content/PageStylings.css
Expand Up @@ -274,7 +274,7 @@ button.undo-button {
display: block;
font-size: 2em;
line-height: 2em;
margin-top: 25px;
margin-top: 30px;
text-align: center;
width: 95%;
}
Expand All @@ -288,6 +288,16 @@ button.undo-button {
border-color: #4585aa;
text-decoration: none;
}

.featured div div.downloads {
margin-top: 5px;
text-align: center;
width: 95%;
}

.featured img {
margin-bottom: 15px;
}

/* Aggregate Stats (Home Page) */

Expand Down
1 change: 1 addition & 0 deletions src/NuGetGallery/Views/Shared/SiteMenu.cshtml
Expand Up @@ -19,5 +19,6 @@
<li class="@classes["Admin"]"><a href="@Url.Action("Index", "Home", new { area="Admin" })">Admin</a></li>
}
<li><a href="http://docs.nuget.org">Documentation</a></li>
<li><a href="https://dist.nuget.org/index.html">Downloads</a></li>
<li><a href="http://blog.nuget.org">Blog</a></li>
</ul>

0 comments on commit 1cdaf1c

Please sign in to comment.