Skip to content

Commit 6a5ef0a

Browse files
authored
update navbar links, DL is now Install (#1360)
1 parent f0ac62f commit 6a5ef0a

File tree

5 files changed

+24
-19
lines changed

5 files changed

+24
-19
lines changed

_data/nav-header.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
- title: Documentation
1+
- title: Learn
22
url: https://docs.scala-lang.org
3-
- title: Download
3+
- title: Install
44
url: /download/
5+
- title: Playground
6+
url: https://scastie.scala-lang.org
7+
- title: Find a Library
8+
url: https://index.scala-lang.org
59
- title: Community
610
url: /community/
7-
- title: Libraries
8-
url: https://index.scala-lang.org
911
- title: Blog
1012
url: /blog/

_layouts/download.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h1>{{page.title}}</h1>
2020
<div class="wrap">
2121
<div class="inner-box download">
2222
<div class="main-download">
23-
<h2>Download or Upgrade Scala</h2>
23+
<h2>Install or Upgrade Scala</h2>
2424
<div class="install-steps">
2525
<div class="download-options">
2626
<div class="download-left">
@@ -44,8 +44,8 @@ <h2>Download or Upgrade Scala</h2>
4444
<img src="/resources/img/download/arrow-right.png" alt="">
4545
<p>Best if you have an advanced use case.</p>
4646
</div>
47-
<a href="{{ site.baseurl }}/download/all.html" class="btn-plain-download">
48-
<i class="fa fa-download"></i>
47+
<a href="{{ site.baseurl }}/download/all.html" class="btn-download dl-find-all">
48+
<i class="fa fa-list-ul"></i>
4949
<span>Pick a Specific Release</span>
5050
</a>
5151
<ul>

_sass/layout/download.scss

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -163,16 +163,6 @@
163163
margin-top: 38px;
164164
}
165165

166-
.btn-plain-download {
167-
background: $gray-lighter;
168-
display: block;
169-
text-align: center;
170-
text-transform: uppercase;
171-
padding: 16px 0;
172-
border-radius: 100px;
173-
margin-bottom: 34px;
174-
}
175-
176166
.btn-download {
177167
background: $brand-primary;
178168
display: block;
@@ -207,6 +197,18 @@
207197
}
208198
}
209199

200+
.btn-download.dl-find-all {
201+
background: $gray-lighter;
202+
font-weight: 500;
203+
color: $std-link;
204+
&:active,
205+
&:focus,
206+
&:hover {
207+
text-decoration: none;
208+
background: darken($gray-lighter, 10%);
209+
}
210+
}
211+
210212
.download-left,
211213
.download-right {
212214
position: relative;

_sass/utils/_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ $gray-li: #244E58;
1717
$gray-light: #E5EAEA;
1818
$gray-lighter: #F0F3F3;
1919
$apple-blue: #6dccf5;
20-
20+
$std-link: #23aad1;
2121

2222
//-------------------------------------------------
2323
$headings-font-color: $gray-dark;

download/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
layout: download
3-
title: Download
3+
title: Install
44
redirect_from:
5+
- /install/
56
- /download/scala2.html
67
- /download/scala3.html
78

0 commit comments

Comments
 (0)