zeke-bootstrap
v0.2.1
Published
Bootstrap Helpers for Zeke
Downloads
1
Readme
Zeke-Bootstrap
A zeke plugin for twitter bootstrap helpers:
How to Install
npm install zeke --save
npm install zeke-bootstrap --save
Usage
In you application require zeke and zeke-bootstrap, then use the use method to add the zeke-bootstrap plugin to your zeke coffeekup compiler.
zeke = require('zeke')
zb = require('zeke-bootstrap')
zeke.use(zb) # this inserts the bootstrap plugin into the zeke compiler
Example of twitter nav bar:
zeke.render ->
topbar ->
navbar_inner ->
container ->
collaspeBtn()
brandLink '#index', 'CodeRetreatChs'
div '.nav-collaspe', ->
ul '#nav.nav', ->
pageLink '#index', 'Home'
pageLink '#about', 'About'
pageLink '#sponsors', 'Sponsors'
pageLink '#schedule', 'Schedule'
pageLink '#faq', 'FAQ'
li '.divider-vertical', ''
dropdownMenu '#contact', 'Contact', [
{ href: 'http://twitter.com/coderetreatchs', label: '@coderetreatchs' }
{ href: 'mailto://[email protected]', label: '[email protected]' }
{ href: 'tel:843.606.0637', label: '843.606.0637' }
]
a '#btn-sign-up.btn.pull-right', href: 'http://coderetreatchs.eventbrite.com/', 'Register'
More Info
Tests
npm test
License
MIT/X11.
contribute
everyone is welcome to contribute with patches, bugfixes and new features
- create an issue on github so the community can comment on your idea
- fork
zeke
in github - create a new branch
git checkout -b my_branch
- create tests for the changes you made
- make sure you pass both existing and newly inserted tests
- commit your changes
- push to your branch
git push origin my_branch
- create a pull request
Thanks
- Nodejitsu - For Broadway!
- Kris Windham - For keeping CoffeeKup alive
- Maurice Machado - For creating CoffeeKup
- Mark Hahn - For putting together solid beginners documentation
- Open Source Community