Added Nim in Action news.

This commit is contained in:
Dominik Picheta
2016-01-27 16:19:22 +00:00
parent 9cad19f528
commit b420d8b66e
5 changed files with 63 additions and 6 deletions

View File

@@ -49,7 +49,12 @@
# if currentTab == "index":
<div id="slideshow">
<!-- slides -->
<div id="slide0" class="active codeslide2">
<div id="slide0" class="active niaslide">
<a href="news.html#Z2016-01-27-nim-in-action-is-now-available">
<img src="assets/niminaction/banner.jpg" alt="New in Manning Early Access Program: Nim in Action!"/>
</a>
</div>
<div id="slide1" class="codeslide2">
<div>
<h2>Nim is simple..</h2>
<pre>
@@ -83,7 +88,7 @@ p.greet() <span class="cmt"># or greet(p)</span>
</pre>
</div>
</div>
<div id="slide1" class="codeslide3">
<div id="slide2" class="codeslide3">
<div>
<h2>C FFI is easy in Nim..</h2>
<pre>
@@ -119,6 +124,7 @@ runForever()
<div id="slideshow-nav">
<div id="slideControl0" onclick="slideshow_click(0)" class="active"></div>
<div id="slideControl1" onclick="slideshow_click(1)"></div>
<div id="slideControl2" onclick="slideshow_click(2)"></div>
</div>
# end
<aside id="sidebar">

View File

@@ -130,10 +130,12 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; }
#slideshow-nav > div:hover { background-image:url("images/slideshow-nav_active.png"); opacity:0.5; }
#slideshow-nav > div.active { background-image:url("images/slideshow-nav_active.png"); opacity:1; }
.zeoslide img {
box-shadow: 1px 2px 16px rgba(28, 180, 236, 0.4);
width: 705px;
}
.niaslide a img {
width: 542px;
box-shadow: 1px 2px 16px rgba(28, 180, 236, 0.4);
margin-left: 4em;
margin-top: -1em;
}
.codeslide1 { float:left; width:680px; font:10pt monospace; }
.codeslide1 > div:first-child { margin:0 40px 0 0; }

View File

@@ -15,6 +15,20 @@ Learning Nim
| Learn Nim's more advanced features such as OOP, generics, macros, etc...
.. container:: standout
Books
---------
.. container:: books
- | `Nim in Action <https://manning.com/books/nim-in-action?a_aid=niminaction&a_bid=78a27e81>`_
| *Nim in Action* teaches
you all you need to know to begin writing powerful, portable
and efficient applications in Nim. It includes a handful of practical
and fun hands-on examples which teach you Nim.
.. container:: standout
Examples

View File

@@ -2,6 +2,36 @@
News
====
2016-01-27 Nim in Action is now available!
==========================================
.. raw::html
<a href="https://manning.com/books/nim-in-action?a_aid=niminaction&a_bid=78a27e81">
<img src="assets/niminaction/banner.jpg" alt="New in Manning Early Access Program: Nim in Action!" width="682"/>
</a>
We are proud to announce that *Nim in Action*, a book about the Nim programming
language, is now available!
The book is available at this URL:
`https://www.manning.com/books/nim-in-action <https://manning.com/books/nim-in-action?a_aid=niminaction&a_bid=78a27e81>`_
The first three chapters are available for download
as an eBook through Manning's Early Access program. You can download a free
sample of the book containing the first chapter as well!
*Nim in Action* is currently being written and is expected to be completed by
Summer 2016. If you purchase the eBook you will start receiving new chapters
as they become available. You can also purchase the printed book together with
the eBook for a slightly higher price.
If you do read the book, even if it's just the first chapter, then please share
any comments, suggestions and questions on the
`Nim forum <http://forum.nim-lang.org/t/1978>`_ or in
Manning's own `Author Online forum! <https://forums.manning.com/forums/nim-in-action>`_
2016-01-18 Version 0.13.0 released
==================================

View File

@@ -1,3 +1,8 @@
<a class="news" href="news.html#Z2016-01-27-nim-in-action-is-now-available">
<h4>January 27, 2016</h4>
<p>Nim in Action is now available!</p>
</a>
<a class="news" href="news.html#Z2016-01-18-version-0-13-0-released">
<h4>January 18, 2016</h4>
<p>Nim version 0.13.0 has been released!</p>