2013-05-20 18:23:49 +00:00
|
|
|
<!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]-->
|
2014-02-14 23:41:01 +00:00
|
|
|
<script src="//ajax.googleapis.com/ajax/libs/webfont/1.4.7/webfont.js"></script>
|
|
|
|
|
<script>
|
2014-04-22 17:53:41 +00:00
|
|
|
if(window.WebFont){
|
|
|
|
|
WebFont.load({
|
|
|
|
|
google: {
|
|
|
|
|
families: ['Raleway:100,200,300,400,500,600,700']
|
|
|
|
|
},
|
|
|
|
|
timeout :5000
|
|
|
|
|
});
|
|
|
|
|
}
|
2014-02-14 23:41:01 +00:00
|
|
|
</script>
|
|
|
|
|
<!--<link href='http://fonts.googleapis.com/css?family=Raleway:100,200,300,400,500,600,700' rel='stylesheet' type='text/css'>-->
|
2013-07-18 03:19:33 +00:00
|
|
|
<%= stylesheet_link_tag "landing/landing", media: "all" %>
|
2013-09-22 18:56:51 +00:00
|
|
|
<% if bugsnag? %>
|
|
|
|
|
<!-- THIS NEEDS TO BE IN FRONT OF ANY OTHER JAVASCRIPT INCLUDES ACCORDING TO BUGSNAG -->
|
|
|
|
|
<script src="//d2wy8f7a9ursnm.cloudfront.net/bugsnag-1.0.9.min.js" data-apikey="<%= Rails.application.config.bugsnag_key %>"></script>
|
|
|
|
|
<% end %>
|
2013-10-21 22:13:53 +00:00
|
|
|
<%= include_gon(:init => true) %>
|
2013-05-20 18:23:49 +00:00
|
|
|
<%= csrf_meta_tags %>
|
2014-02-07 14:07:08 +00:00
|
|
|
<% if content_for?(:social_meta) %>
|
|
|
|
|
<%= yield(:social_meta) %>
|
2014-02-06 16:31:52 +00:00
|
|
|
<% else %>
|
2014-02-07 14:07:08 +00:00
|
|
|
<%= render "layouts/social_meta" %>
|
2014-02-06 16:31:52 +00:00
|
|
|
<% end %>
|
2013-05-20 18:23:49 +00:00
|
|
|
</head>
|
2014-02-10 22:43:09 +00:00
|
|
|
<body class="jam">
|
2013-08-09 05:13:06 +00:00
|
|
|
<div id="landing-container">
|
|
|
|
|
<%= javascript_include_tag "landing/landing" %>
|
|
|
|
|
|
|
|
|
|
<div class="logo-message">
|
|
|
|
|
<%= link_to root_path do %>
|
|
|
|
|
<%= image_tag("header/logo.png", :alt => "JamKazam logo", :size => "247x45") %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<br />
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
|
|
<div id="landing-inner">
|
|
|
|
|
<%= yield %>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="footer-container">
|
|
|
|
|
<%= render "clients/footer" %>
|
|
|
|
|
</div>
|
2013-08-31 13:54:11 +00:00
|
|
|
|
2014-01-30 21:51:05 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
|
$(function () {
|
|
|
|
|
JK = JK || {};
|
|
|
|
|
|
2014-02-07 05:57:31 +00:00
|
|
|
JK.root_url = "<%= root_url %>"
|
|
|
|
|
|
2014-01-30 21:51:05 +00:00
|
|
|
<% if current_user %>
|
|
|
|
|
JK.currentUserId = '<%= current_user.id %>';
|
2014-02-05 06:51:26 +00:00
|
|
|
JK.currentUserAvatarUrl = JK.resolveAvatarUrl('<%= current_user.photo_url %>');
|
|
|
|
|
JK.currentUserName = '<%= current_user.name %>';
|
2014-01-30 21:51:05 +00:00
|
|
|
<% else %>
|
|
|
|
|
JK.currentUserId = null;
|
2014-02-05 06:51:26 +00:00
|
|
|
JK.currentUserAvatarUrl = null;
|
|
|
|
|
JK.currentUserName = null;
|
2014-01-30 21:51:05 +00:00
|
|
|
<% end %>
|
|
|
|
|
})
|
|
|
|
|
</script>
|
|
|
|
|
|
2013-09-23 18:06:25 +00:00
|
|
|
<%= render "shared/ga" %>
|
2013-08-31 13:54:11 +00:00
|
|
|
<!-- version info: <%= version %> -->
|
2013-05-20 18:23:49 +00:00
|
|
|
</body>
|
|
|
|
|
</html>
|