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

Commit e734d4c

Browse files
committed
Home: Add notice about Node.js merge
1 parent ec437c5 commit e734d4c

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

content/en/template.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,9 @@
5353
"url": "https://medium.com/feed/@iojs"
5454
}
5555
]
56+
},
57+
"deprecation": {
58+
"title": "io.js has merged with the Node.js project again.",
59+
"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/'}}"
5660
}
5761
}

source/styles/home.styl

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@
55
text-align center
66
margin-bottom 40px
77

8+
.home-deprecation
9+
text-align center
10+
color #000
11+
margin 2em 0
12+
13+
h3
14+
margin-bottom 0
15+
16+
a
17+
display inline-block
18+
padding-left 1em
19+
padding-right 1em
20+
21+
p
22+
margin-top 0
23+
text-align center
24+
25+
826
.home-download-banner
927
background-color #F7DF31
1028
padding 5px

source/templates/home.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ <h1>JavaScript I/O</h1>
88
{{hb 'home.short_description'}}
99
</p>
1010

11+
<div class="home-deprecation">
12+
<h3>{{hb 'deprecation.title'}}</h3>
13+
<p>{{{hb 'deprecation.content'}}}</p>
14+
</div>
15+
1116
{{#if project.banner.visible}}
1217
<div class="home-download-banner">{{{project.banner.content}}}</div>
1318
{{/if}}

0 commit comments

Comments
 (0)