forked from nwjs/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request nwjs#8 from waghcwb/develop
Develop
- Loading branch information
Showing
24 changed files
with
208 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
_site | ||
_deploy | ||
_assets/vendor/ | ||
.asset-cache | ||
.jekyll-metadata | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.nw-download { | ||
background-color: $nw-main-white-light; | ||
margin-top: -5px; | ||
padding-bottom: 2em; | ||
|
||
.nw-download-link { | ||
min-width: 15em; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,4 @@ | |
a { | ||
padding: 1em 2em; | ||
} | ||
|
||
i { | ||
margin-right: .5em; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,45 @@ | ||
/* | ||
nw custom | ||
*/ | ||
|
||
// colors | ||
$nw-main-green: #89C64A; | ||
$nw-main-black: #2A2A2A; | ||
$nw-main-black: #31393a; | ||
$nw-main-white: #E9E9E9; | ||
$nw-main-white-light: lighten( $nw-main-white, 5 ); | ||
$nw-main-orange: #e67e22; | ||
|
||
// heights | ||
$header-height: 10em; | ||
$nw-button-height: 50px; | ||
|
||
// border-radius | ||
$nw-border-radius: 2px; | ||
|
||
// fonts | ||
$nw-font-stack: 'Open Sans', sans-serif; | ||
$header-font-size: 1.5em; | ||
|
||
// icon | ||
$nw-button-icon-gutter: $nw-button-height / 3; | ||
$nw-button-content-gutter: 5px; | ||
|
||
|
||
/* | ||
bootstrap custom | ||
*/ | ||
|
||
// bootstrap custom | ||
// main color | ||
$brand-primary: $nw-main-green; | ||
|
||
// buttons | ||
$btn-font-weight: 100; | ||
$font-family-sans-serif: $nw-font-stack; | ||
$btn-primary-border: $brand-primary; | ||
|
||
// fonts | ||
$font-family-sans-serif: $nw-font-stack; | ||
|
||
// border-radius | ||
$border-radius-base: $nw-border-radius; | ||
$border-radius-large: $nw-border-radius; | ||
$border-radius-small: $nw-border-radius; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,10 @@ email: [email protected] | |
description: build awesome cross platforms apps with front-end technologies | ||
welcome-message: node webkit is an app runtime based on <a href="https://www.chromium.org" target="_blank">Chromium</a> and <a href="https://nodejs.org" target="_blank">node.js</a> | ||
baseurl: "" | ||
url: http://nwjs.io | ||
url: http://dev.nwjs.io | ||
# url: http://nwjs.io | ||
markdown: kramdown | ||
destination: _deploy | ||
|
||
github: nwjs/nw.js | ||
|
||
|
@@ -14,6 +16,8 @@ gems: | |
- html-proofer | ||
- bootstrap-sass | ||
|
||
exclude: ["Gemfile*", "bower.json", "README.md"] | ||
|
||
assets: | ||
# cache: false | ||
prefix: /assets | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<section class="nw-blog"> | ||
<section class="container"> | ||
<div class="page-header"> | ||
<h3>Blog</h3> | ||
</div> | ||
<div class="row"> | ||
{% for post in site.posts %} | ||
<div class="col-md-6"> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading">{{ post.title }} - <small>{{ post.date | date: "%b %-d, %Y" }}</small></div> | ||
<div class="panel-body"> | ||
<a href="{{ post.url | prepend: site.baseurl }}" class="btn btn-link pull-right">Read more</a> | ||
</div> | ||
</div> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
</section> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{% include components/separator-rounded.html class="nw-bg-white-light" %} | ||
|
||
<section class="nw-download"> | ||
<section class="container"> | ||
<div class="row text-center"> | ||
<div class="col-md-6"> | ||
<a href="#" class="btn btn-primary">Download</a> | ||
</div> | ||
<div class="col-md-6"> | ||
<a href="#" class="nw-button nw-download-link btn btn-primary btn-lg text-center" role="button"> | ||
<span class="nw-button-icon pull-left ion-android-download"></span> | ||
<span class="nw-button-content pull-left"> | ||
<span class="nw-button-title"> | ||
<strong>SDK</strong> | ||
</span> | ||
<span class="nw-button-subtitle"> | ||
<small>v0.15.1</small> | ||
</span> | ||
</span> | ||
</a> | ||
</div> | ||
</div> | ||
</section> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<h3 class="nw-logo"> | ||
<a href="{{ site.baseurl }}"> | ||
<a href="{{ '/' | prepend: site.baseurl }}"> | ||
<strong>nw</strong>.js | ||
</a> | ||
</h3> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<section class="row"> | ||
<svg class="nw-separator rounded {{ include.class }}" xmlns="http://www.w3.org/2000/svg" version="1.1" width="100%" height="100" viewBox="0 0 100 100" preserveAspectRatio="none"> | ||
<path d="M0 100 C40 0 60 0 100 100 Z"></path> | ||
</svg> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
<svg class="nw-separator" xmlns="http://www.w3.org/2000/svg" version="1.1" width="100%" height="100" viewBox="0 0 100 102" preserveAspectRatio="none"> | ||
<path d="M0 0 L50 100 L100 0 Z"></path> | ||
</svg> | ||
<section class="row"> | ||
<svg class="nw-separator" xmlns="http://www.w3.org/2000/svg" version="1.1" width="100%" height="100" viewBox="0 0 100 102" preserveAspectRatio="none"> | ||
<path d="M0 0 L50 100 L100 0 Z"></path> | ||
</svg> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
layout: page | ||
title: Blog | ||
permalink: blog/ | ||
--- | ||
|
||
<section class="container"> | ||
blog | ||
</section> |
Oops, something went wrong.