I can't get Zurb Foundation to work correctly in Padrino. The stylesheets are compiled and loaded, but the Foundation modules don't work.
http://intense-falls-2845.herokuapp.com/
is a haml version of
http://foundation.zurb.com/templates/marketing.html
, but neither the dropdown menu nor the orbit slider are working. the project was generated using:
$ padrino g project PadrinoFoundation -e haml -c compass -s jquery -b
$ padrino g plugin camorra
$ bundle install
with some editing to app/app.rb (create a route), app/stylesheets/application.scss (remove compass references to blueprint) and app/views/application.haml (layout, read below).
these can be viewed below:
(route) https://github.com/bcsantos/PadrinoZurbFoundation/blob/master/app/app.rb
(stylesheet) https://github.com/bcsantos/PadrinoZurbFoundation/blob/master/app/stylesheets/application.scss
(layout) https://github.com/bcsantos/PadrinoZurbFoundation/blob/master/app/views/application.haml
(whole repository) https://github.com/bcsantos/PadrinoZurbFoundation
concerning the layout, i used https://github.com/CIRCUITLLC/foundation_templates_haml/blob/master/haml/marketing.html.haml but being new to haml i may have made mistakes. hopefully if someone points me in the right direction i can figure things out.
any ideas about what's wrong?
thanks for reading.