Commit 02e353f2 authored by kolosfed's avatar kolosfed

Setup assets

parent 0297c67a
...@@ -17,7 +17,7 @@ gem 'haml-rails' ...@@ -17,7 +17,7 @@ gem 'haml-rails'
gem 'turbolinks', '~> 5' gem 'turbolinks', '~> 5'
gem 'jquery-rails' gem 'jquery-rails'
gem 'bootstrap', '~> 4.4.1' gem 'bootstrap', '~> 4.4.1'
gem 'font-awesome-rails' gem 'font-awesome-sass', '~> 5.12.0'
gem 'bootstrap-will_paginate' gem 'bootstrap-will_paginate'
......
...@@ -76,8 +76,8 @@ GEM ...@@ -76,8 +76,8 @@ GEM
erubis (2.7.0) erubis (2.7.0)
execjs (2.7.0) execjs (2.7.0)
ffi (1.12.2) ffi (1.12.2)
font-awesome-rails (4.7.0.5) font-awesome-sass (5.12.0)
railties (>= 3.2, < 6.1) sassc (>= 1.11)
globalid (0.4.2) globalid (0.4.2)
activesupport (>= 4.2.0) activesupport (>= 4.2.0)
haml (5.1.2) haml (5.1.2)
...@@ -220,7 +220,7 @@ DEPENDENCIES ...@@ -220,7 +220,7 @@ DEPENDENCIES
coffee-rails (~> 4.2) coffee-rails (~> 4.2)
devise devise
devise-i18n devise-i18n
font-awesome-rails font-awesome-sass (~> 5.12.0)
haml-rails haml-rails
jbuilder (~> 2.5) jbuilder (~> 2.5)
jquery-rails jquery-rails
......
...@@ -12,4 +12,6 @@ ...@@ -12,4 +12,6 @@
// //
//= require rails-ujs //= require rails-ujs
//= require turbolinks //= require turbolinks
//= require jquery3
//= require bootstrap
//= require_tree ./application //= require_tree ./application
/* /*
* This is a manifest file that'll be compiled into application.css, which will include all the files *= require application/main
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
* vendor/assets/stylesheets directory can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
* files in this directory. Styles in this file should be added after the last require_* statement.
* It is generally better to create a new file per style scope.
*
*= require_tree ./application
*= require_self
*/ */
\ No newline at end of file
@import "bootstrap";
@import "font-awesome-sprockets";
@import "font-awesome";
@import "template-styles";
This diff is collapsed.
!!!
%html
%head
%meta{content: "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}
%title Chicken Farm
= csrf_meta_tags
%meta{charset: "utf-8"}
%meta{"http-equiv": "X-UA-Compatible", content: "IE=edge"}
%meta{name: "viewport", content: "width=device-width, initial-scale=1, shrink-to-fit=no"}
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' # TODO @kolosfed data-turbolinks-track?
= stylesheet_link_tag 'https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i'
= javascript_include_tag 'application', 'data-turbolinks-track': 'reload'
%body
= yield
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<title>App</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
</head>
<body>
<%= yield %>
</body>
</html>
development:
adapter: async
test:
adapter: async
production:
adapter: redis
url: redis://localhost:6379/1
channel_prefix: app_production
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment