Separated Foundation powered site from the Spree powered content (for now).

This commit is contained in:
alexs
2013-08-07 19:25:48 +10:00
parent 97ff668029
commit 8efc95e095
12 changed files with 25 additions and 8 deletions

View File

@@ -0,0 +1,13 @@
// This is a manifest file that'll be compiled into including all the files listed below.
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
// be included in the compiled file accessible from http://example.com/assets/application.js
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// the compiled file.
//
//= require jquery
//= require jquery_ujs
//= require foundation
//= require_tree .
$(function(){ $(document).foundation(); });

View File

@@ -6,11 +6,8 @@
//
//= require 'jquery'
//= require jquery_ujs
//= require store/spree_core
//= require store/spree_auth
//= require store/spree_promo
//= require foundation
//= require_tree .
$(function(){ $(document).foundation(); });
//= require_tree .

View File

@@ -3,6 +3,5 @@
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
* the top of the compiled file, but it's generally better to create a new file per style scope.
*= require_self
*= require foundation_and_overrides
*= require_tree .
*= require_tree .
*/

View File

@@ -0,0 +1,8 @@
/*
* This is a manifest file that'll automatically include all the stylesheets available in this directory
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
* the top of the compiled file, but it's generally better to create a new file per style scope.
*= require_self
*= require ./foundation_and_overrides
*= require_tree .
*/

View File

@@ -5,8 +5,8 @@
%meta{name: 'viewport', content: "width=device-width,initial-scale=1.0"}/
%title= content_for?(:title) ? yield(:title) : 'Welcome to Open Food Web'
= stylesheet_link_tag "application"
= javascript_include_tag "store/all"
= stylesheet_link_tag "search/all"
= javascript_include_tag "search/all"
= csrf_meta_tags
%body.off-canvas
%nav.top-bar