Skip to content

Instantly share code, notes, and snippets.

@joeyfigaro
Created June 21, 2016 15:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joeyfigaro/e7c774f0b08b264a1c1b2d5578759308 to your computer and use it in GitHub Desktop.
Save joeyfigaro/e7c774f0b08b264a1c1b2d5578759308 to your computer and use it in GitHub Desktop.
global icon helper
<% content_for :navigation do %>
<%= render "shared/primary_nav", locals: {} %>
<% end %>
<% content_for :market_countdown do %>
<%= render "shared/market_countdown", locals: { visibility_class: 'visible'} %>
<% end %>
<div id="market-order"></div>
<% content_for :stylesheets do %>
<script>
var __ICONS__ = {
close: '<%= asset_url 'icons/close.svg' %>',
badge: '<%= asset_url 'icons/badge.svg' %>',
premium: '<%= asset_url 'icons/premium.svg' %>',
plus: '<%= asset_url 'icons/plus.svg' %>',
minus: '<%= asset_url 'icons/stepper-minus.svg' %>',
inventory: '<%= asset_url 'icons/inventory.svg' %>'
};
</script>
<% end %>
<% content_for :footer do %>
<%= render "shared/footer" %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment