Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clearly state the current version near the download button. #290

Merged
merged 2 commits into from
Feb 26, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions assets/css/docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ body {
transform: translateX(-50%);
}

.version {
margin-top: 15px;
text-align: center;
margin-bottom: 0;
color: #777;
}

.docs-nav .docs-nav-trigger {
color: #fff;
cursor: pointer;
Expand All @@ -99,6 +106,7 @@ body {
height: auto;
opacity: 1;
}

.docs-nav .docs-nav-item {
display: block;
padding: 20px 15px;
Expand Down Expand Up @@ -149,6 +157,9 @@ body {
-moz-transition: all 0.2s linear;
transition: all 0.2s linear;
}
.docs-header-content .version {
color: #b983a6;
}
.docs-header-content .btn:hover {
background-color: #fff;
-webkit-box-shadow: 0 0 50px rgba(255, 255, 255, 0.3);
Expand Down
1 change: 1 addition & 0 deletions getting-started/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ <h2 id="pageLayout" class="section-heading">Basic template</h2>
<h4 class="docs-module-title">Download Ratchet</h4>
<p>If you haven't already, download the cource code for Ratchet.</p>
<a href="https://github.com/twbs/ratchet/archive/v2.0.0.zip" class="btn btn-block btn-primary" data-ignore="push" onClick="_gaq.push(['_trackEvent', 'Downloads', 'V2.0']);">Download Ratchet</a>
<p class="version">Currently v2.0.0</p>
</div>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ <h1 class="docs-title">
<div class="docs-header-content">
<p class="docs-subtitle">Build mobile apps with simple HTML&#8218; CSS&#8218; and JS components.</p>
<a data-ignore="push" href="https://github.com/twbs/ratchet/archive/v2.0.0.zip" class="btn btn-primary" onClick="_gaq.push(['_trackEvent', 'Downloads', 'V2.0']);">Download Ratchet</a>
<p class="version">Currently v2.0.0</p>
</div>

<div id="carbonads-container"><div class="carbonad"><div id="azcarbon"></div><script type="text/javascript">var z = document.createElement("script"); z.type = "text/javascript"; z.async = true; z.src = "http://engine.carbonads.com/z/58147/azcarbon_2_1_0_HORIZ"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(z, s);</script></div></div>
Expand Down