<!DOCTYPE html>
<html>
  <head>
    <title><%= full_title(yield(:title)) %></title>

    <!--[if IE]>
        <link rel="stylesheet" type="text/css" href="css/ie.css" media="screen, projection"/>
    <![endif]-->
    <!--<link href='http://fonts.googleapis.com/css?family=Raleway:100,200,300,400,500,600,700' rel='stylesheet' type='text/css'>-->
    <%= stylesheet_link_tag    "client/client", media: "all" %>
    <script src="//d2wy8f7a9ursnm.cloudfront.net/v7/bugsnag.min.js"></script>
    <%= include_gon %>
    <!--<% if Rails.env.test? %>
      <%= javascript_include_tag "sinon" %>
    <% end %>-->
    <%= javascript_include_tag "application" %>
    <%= csrf_meta_tags %>
    <meta name="description" content="Enter here to browse the JamKazam platform">
    <% if content_for?(:social_meta) %>
        <%= yield(:social_meta) %>
    <% else %>
        <%= render "layouts/social_meta" %>
    <% end %>
    <%= yield(:extra_js) %>
    <%= render "shared/ad_sense" %>
  </head>
  <body class="jam" data-client-type="<%= @nativeClient ? 'client' : 'browser' %>">
    <%= render "shared/recurly" %>
    <%= yield %>
    <%= render "shared/ga" %>
    <%= render "shared/stripe" %>
    <%= render "shared/olark" %>
  </body>
</html>
