Merge pull request #296 from connor/current_version_site
Add current version to download buttons in docs.
This commit is contained in:
Коммит
2d8c6f3e3e
|
@ -2,4 +2,5 @@
|
|||
<h4 class="docs-module-title">Download Ratchet</h4>
|
||||
<p>If you haven't already, download the source 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>
|
|
@ -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;
|
||||
|
@ -149,6 +156,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);
|
||||
|
|
|
@ -8,6 +8,7 @@ title: Ratchet
|
|||
<div class="docs-header-content">
|
||||
<p class="docs-subtitle">Build mobile apps with simple HTML‚ CSS‚ 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>
|
||||
|
||||
{% include ad.html %}
|
||||
|
|
Загрузка…
Ссылка в новой задаче