-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0.2 - first commit - changes will be documented
- Loading branch information
Johan Ronsse
committed
Nov 20, 2013
1 parent
939504b
commit 3e57bc6
Showing
210 changed files
with
3,039 additions
and
33,547 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,3 +1,6 @@ | ||
_site | ||
build | ||
css | ||
.tmp | ||
bower_components | ||
node_modules |
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,124 @@ | ||
### | ||
Grunt workflow | ||
### | ||
|
||
mountFolder = (connect, dir) -> | ||
return connect.static(require('path').resolve(dir)) | ||
|
||
module.exports = (grunt) -> | ||
@loadNpmTasks('grunt-contrib-clean') | ||
@loadNpmTasks('grunt-contrib-compass') | ||
@loadNpmTasks('grunt-contrib-connect') | ||
@loadNpmTasks('grunt-contrib-copy') | ||
@loadNpmTasks('grunt-contrib-watch') | ||
@loadNpmTasks('grunt-jekyll') | ||
@loadNpmTasks('grunt-open') | ||
@loadNpmTasks('grunt-webfont') | ||
|
||
jekyllMask = '{*/,}{*/,}{*/,}*{html,js,png,jpg,jpeg}' | ||
|
||
@initConfig | ||
clean: | ||
dist: ['_site', '.tmp'] | ||
afterjekyll: ['_site/node_modules', '_site/font-generation-templates', '_site/scss'] | ||
|
||
doWatch: | ||
options: | ||
livereload: 35728 | ||
nospawn: true | ||
iconsapp: | ||
files: ['images/icons_svg_source/app/*.svg'] | ||
tasks: ['webfont', 'copy'] | ||
iconsandroid: | ||
files: ['images/icons_svg_source/android/*.svg'] | ||
tasks: ['webfont', 'copy'] | ||
iconsios: | ||
files: ['images/icons_svg_source/ios/*.svg'] | ||
tasks: ['webfont', 'copy'] | ||
jekyll: | ||
files: [jekyllMask, '!_site/' + jekyllMask] | ||
tasks: ['jekyll', 'copy'] | ||
compass: | ||
files: ['scss/{*/,}*.scss','scss/*/{*/,}*.scss'] | ||
tasks: ['compass', 'copy'] | ||
|
||
# generate 3 webfonts, one for Android system, once for iOS system, one for the app itself | ||
webfont: | ||
iconsapp: | ||
src: 'images/icons_svg_source/app/*.svg' | ||
dest: '.tmp/fonts' | ||
destCss: 'scss/clank/icon-fonts' | ||
options: | ||
font: 'app-icons' | ||
hashes: false | ||
htmlDemo: false | ||
stylesheet: 'scss' | ||
relativeFontPath: '../fonts' | ||
template: 'font-generation-templates/custom-app.css' | ||
iconsandroid: | ||
src: 'images/icons_svg_source/android/*.svg' | ||
dest: '.tmp/fonts' | ||
destCss: 'scss/clank/icon-fonts' | ||
options: | ||
font: 'android-icons' | ||
hashes: false | ||
htmlDemo: false | ||
stylesheet: 'scss' | ||
relativeFontPath: '../fonts' | ||
template: 'font-generation-templates/custom-android.css' | ||
iconsios: | ||
src: 'images/icons_svg_source/ios/*.svg' | ||
dest: '.tmp/fonts' | ||
destCss: 'scss/clank/icon-fonts' | ||
options: | ||
font: 'ios-icons' | ||
hashes: false | ||
htmlDemo: false | ||
stylesheet: 'scss' | ||
relativeFontPath: '../fonts' | ||
template: 'font-generation-templates/custom-ios.css' | ||
|
||
# Copy the fonts and css in place, because Jekyll deletes them if we | ||
# generate in the output folder directly. | ||
copy: | ||
fonts: | ||
files: [ | ||
expand: true | ||
dot: true | ||
cwd: '.tmp/' | ||
dest: '_site/' | ||
src: '*/*' | ||
] | ||
|
||
compass: | ||
dist: | ||
options: | ||
sassDir: 'scss' | ||
require: 'susy' | ||
cssDir: '.tmp/css' | ||
|
||
jekyll: | ||
dist: | ||
options: | ||
dest: '_site' | ||
|
||
connect: | ||
livereload: | ||
options: | ||
port: 4200 | ||
hostname: '0.0.0.0' | ||
middleware: (connect) -> | ||
return [ | ||
require('connect-livereload')({ port: 35728 }) | ||
mountFolder(connect, '_site') | ||
] | ||
|
||
open: | ||
server: | ||
url: 'http://localhost:4200' | ||
|
||
@renameTask 'watch', 'doWatch' | ||
|
||
@registerTask('watch', ['connect', 'build', 'open', 'doWatch']) | ||
@registerTask('build', ['clean', 'webfont', 'jekyll', 'compass', 'copy', 'clean:afterjekyll']) | ||
@registerTask('default', ['build']) |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
This source code contains a copy of Clank (http://getclank.com) which is MIT Licensed. |
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,25 +1,9 @@ | ||
Clank | ||
===== | ||
# Clank 0.2 README | ||
|
||
[View the demos](http://getclank.com/demos/) | ||
To set Clank up run: | ||
|
||
--- | ||
|
||
Clank is an open source HTML/CSS prototyping framework for mobile apps. Think of it as Twitter Bootstrap but for prototyping native apps. | ||
|
||
How to use | ||
---------- | ||
|
||
Run the demo files on a local webserver. Use the HTML and CSS components as you please. | ||
|
||
Acknowledgements | ||
----------------- | ||
|
||
Clank was inspired and uses parts of [Ratchet](http://maker.github.io/ratchet/). | ||
|
||
Contributing | ||
------------ | ||
|
||
Open a [Github issue](https://github.com/Wolfr/clank/issues) if you have any feedback or ideas. | ||
|
||
Check out the "gh-pages" branch to contribute to the Clank project. | ||
npm install | ||
bower install | ||
grunt watch | ||
|
||
Make sure you have installed node JS, bower and Grunt. |
This file was deleted.
Oops, something went wrong.
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,8 +1,3 @@ | ||
permalink: /blog/:year/:month/:title | ||
|
||
paginate: 7 | ||
paginate_path: "blog/page:num" | ||
|
||
markdown: kramdown | ||
|
||
devmode: true | ||
pygments: true | ||
title: Clank |
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
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 @@ | ||
**Welcome to Clank.** | ||
|
||
You can use this framework to prototype screens for native apps in HTML/CSS. | ||
|
||
To do so, make new HTML files like this `index.html` file. Link them together to form a flow. | ||
|
||
We have provided a sample flow for you to work with. | ||
|
||
--- | ||
|
||
This is documentation for the first screen. You can edit the documentation in `/docs/screens/demo-1.md`. | ||
|
||
You can attach a new documentation file to a new screen by editing `layouts/base.html`. The way it works is that you reference markdown files contained in `/docs/screens/` on each page: | ||
|
||
{% raw %} | ||
{% case page.docs %} | ||
{% when 'screen-demo-1' %} | ||
{% markdown docs/screens/demo-1.md %} | ||
{% when 'screen-demo-2' %} | ||
{% markdown docs/screens/demo-2.md %} | ||
{% else %} | ||
<p>No documentation for this page.</p> | ||
{% endcase %} | ||
{% endraw %} |
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 @@ | ||
This is the second screen documentation just for example purposes. |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.