Skip to content

Commit

Permalink
Fix #196: Add the Scala.js version on the front page.
Browse files Browse the repository at this point in the history
  • Loading branch information
rockjam committed Jan 31, 2016
1 parent 1be064c commit 5abcd4e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions _assets/css/style.scss
Expand Up @@ -709,3 +709,9 @@ a[name]:before {
padding-left: 8px;
padding-right: 8px;
}

.version {
opacity: 0.7;
margin-top: 10px;
margin-bottom: 10px !important;
}
4 changes: 3 additions & 1 deletion index.html
Expand Up @@ -9,7 +9,9 @@
<img width="100" src="{{ '/assets/img/scala-js-logo.svg' | prepend: site.baseurl }}">

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

0 comments on commit 5abcd4e

Please sign in to comment.