Skip to content

Commit

Permalink
Use Node.js logo in kernel spec
Browse files Browse the repository at this point in the history
  • Loading branch information
n-riesco committed Jan 26, 2016
1 parent 1f838de commit 8637a3e
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/ijavascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,10 @@ function installKernelAsync(context, callback) {
fs.writeFileSync(specFile, JSON.stringify(spec));

// Copy logo files
var logo32Src = path.join(context.path.images, "logo-32x32.png");
var logoDir = path.join(context.path.images, "nodejs");
var logo32Src = path.join(logoDir, "js-green-32x32.png");
var logo32Dst = path.join(specDir, "logo-32x32.png");
var logo64Src = path.join(context.path.images, "logo-64x64.png");
var logo64Src = path.join(logoDir, "js-green-64x64.png");
var logo64Dst = path.join(specDir, "logo-64x64.png");
copyAsync(logo32Src, logo32Dst, function() {
copyAsync(logo64Src, logo64Dst, function() {
Expand Down
23 changes: 23 additions & 0 deletions images/nodejs/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
The original contents of the nodejs.org repo are licensed for use as follows:

"""
Copyright node.js Website WG contributors. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
"""
14 changes: 14 additions & 0 deletions images/nodejs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Trademark notice

Node.js is a trademark of Joyent, Inc. and is used with its permission. We are
not endorsed by or affiliated with Joyent.

# Files

## From the repository for the Node.js website
- [LICENSE](https://github.com/nodejs/nodejs.org/blob/master/LICENSE)
- [js-green.svg](https://github.com/nodejs/nodejs.org/blob/master/static/images/logos/js-green.svg)

## Generated using [rsvg-convert](http://live.gnome.org/LibRsvg)
- [js-green-32x32.png](js-green-32x32.png)
- [js-green-64x64.png](js-green-64x64.png)
Binary file added images/nodejs/js-green-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/nodejs/js-green-64x64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions images/nodejs/js-green.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8637a3e

Please sign in to comment.