Skip to content

Commit a95a1b5

Browse files
committed
Merge pull request #234 from rockjam/scalajs-version
Fix #196: Add the Scala.js version on the front page.
2 parents 1be064c + 5abcd4e commit a95a1b5

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

_assets/css/style.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,3 +709,9 @@ a[name]:before {
709709
padding-left: 8px;
710710
padding-right: 8px;
711711
}
712+
713+
.version {
714+
opacity: 0.7;
715+
margin-top: 10px;
716+
margin-bottom: 10px !important;
717+
}

index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
<img width="100" src="{{ '/assets/img/scala-js-logo.svg' | prepend: site.baseurl }}">
1010

1111
<div>
12-
<h2 style="margin-top: 10px;">Scala.js</h2><h4>A safer way to build robust<br/> front-end web applications!</h4>
12+
<h2 style="margin: 10px 0;">Scala.js</h2>
13+
<h4 class="version">{{ site.versions.scalaJS }}</h4>
14+
<h4>A safer way to build robust<br/> front-end web applications!</h4>
1315
</div>
1416
<div>
1517
<a class="btn btn-theme" href="{{ site.baseurl }}/tutorial/">Learn Scala.js</a>

0 commit comments

Comments
 (0)