Skip to content
This repository was archived by the owner on Nov 21, 2018. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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' 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/'}}"

This comment was marked as off-topic.

}
}
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


This comment was marked as off-topic.

.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