Skip to content
This repository has been archived by the owner on Nov 21, 2018. It is now read-only.

Commit

Permalink
Home: Add notice about Node.js merge
Browse files Browse the repository at this point in the history
  • Loading branch information
fhemberger committed Oct 9, 2015
1 parent ec437c5 commit 6c3d68e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
4 changes: 4 additions & 0 deletions content/en/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,9 @@
"url": "https://medium.com/feed/@iojs"
}
]
},
"deprecation": {
"title": "io.js has merged with the Node.js project again.",
"content": "There won't be any further separate io.js releases, all of io.js's features are available in Node.js v4 and above.<br>{{link 'Visit nodejs.org' 'https://nodejs.org'}} {{link 'Download latest Node.js version' 'https://nodejs.org/en/download/'}}"
}
}
18 changes: 18 additions & 0 deletions source/styles/home.styl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,24 @@
text-align center
margin-bottom 40px

.home-deprecation
text-align center
color #000
margin 2em 0

h3
margin-bottom 0

a
display inline-block
padding-left 1em
padding-right 1em

p
margin-top 0
text-align center


.home-download-banner
background-color #F7DF31
padding 5px
Expand Down
5 changes: 5 additions & 0 deletions source/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ <h1>JavaScript I/O</h1>
{{hb 'home.short_description'}}
</p>

<div class="home-deprecation">
<h3>{{hb 'deprecation.title'}}</h3>
<p>{{{hb 'deprecation.content'}}}</p>
</div>

{{#if project.banner.visible}}
<div class="home-download-banner">{{{project.banner.content}}}</div>
{{/if}}
Expand Down

0 comments on commit 6c3d68e

Please sign in to comment.