95 lines
3.5 KiB
Plaintext
95 lines
3.5 KiB
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title><%= full_title(yield(:title)) %></title>
|
|
<script src="//ajax.googleapis.com/ajax/libs/webfont/1.4.7/webfont.js"></script>
|
|
<script>
|
|
if (window.WebFont) {
|
|
WebFont.load({
|
|
google: {
|
|
families: ['Raleway:100,200,300,400,500,600,700']
|
|
},
|
|
timeout :5000
|
|
});
|
|
}
|
|
</script>
|
|
<!--<link href='http://fonts.googleapis.com/css?family=Raleway:100,200,300,400,500,600,700' rel='stylesheet' type='text/css'>-->
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<%= stylesheet_link_tag "corp/corporate", :media => "all" %>
|
|
<% 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 %>
|
|
<%= include_gon(:init => true) %>
|
|
<%= javascript_include_tag "corp/corporate" %>
|
|
<%= csrf_meta_tags %>
|
|
<% if content_for?(:social_meta) %>
|
|
<%= yield(:social_meta) %>
|
|
<% else %>
|
|
<%= render "layouts/social_meta" %>
|
|
<% end %>
|
|
</head>
|
|
<body class="corporate jam" data-purpose="<%= yield(:purpose) %>">
|
|
|
|
<div class="wrapper">
|
|
|
|
<!-- header -->
|
|
|
|
<div class="logo-home"><a href="/"><%= image_tag("logo_corporate.png", height: '54', width: '298') %></a></div>
|
|
<div class="right"><br>
|
|
<br>
|
|
<br>
|
|
<a href="/" class="button-orange">BACK TO JAMKAZAM HOME</a>
|
|
</div>
|
|
<br clear="all">
|
|
|
|
<!-- start navigation -->
|
|
<div id="nav">
|
|
<%= link_to "about us", corp_about_path, :data => { :purpose => 'about'} %>
|
|
<%= link_to "news", corp_news_path, :data => { :purpose => 'news'} %>
|
|
<%= link_to "media center", corp_media_center_path, :data => { :purpose => 'media_center'} %>
|
|
<%= link_to "contact", corp_contact_path, :data => { :purpose => 'contact'} %>
|
|
<%= link_to "privacy", corp_privacy_path, :data => { :purpose => 'privacy'} %>
|
|
<%= link_to "terms of service", corp_terms_path, :data => { :purpose => 'terms'} %>
|
|
<%= link_to "help", corp_help_path, :data => { :purpose => 'help'} %>
|
|
</div>
|
|
<!-- end navigation -->
|
|
<br clear="all">
|
|
|
|
<%= yield %>
|
|
|
|
|
|
<div id="footer">
|
|
|
|
<!-- copyright -->
|
|
<div id="copyright">Copyright © <%= Time.now.year %> JamKazam, Inc. All Rights Reserved</div>
|
|
|
|
<!-- footer links -->
|
|
<div id="footer-links"><%= link_to "about", corp_about_path %> | <%= link_to "news", corp_news_path %> | <%= link_to "media", corp_media_center_path %> | <%= link_to "contact", corp_contact_path %> | <%= link_to "privacy", corp_privacy_path %> | <%= link_to "terms of service", corp_terms_path %> | <%= link_to "community forum", Rails.application.config.vanilla_url, :rel=>"external" %> | <%= link_to "help", corp_help_path %></div>
|
|
|
|
<div id="version"><%= version %></div>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
$(function () {
|
|
JK = JK || {};
|
|
|
|
JK.root_url = "<%= root_url %>"
|
|
|
|
<% if current_user %>
|
|
JK.currentUserId = '<%= current_user.id %>';
|
|
JK.currentUserAvatarUrl = JK.resolveAvatarUrl('<%= current_user.photo_url %>');
|
|
JK.currentUserName = '<%= current_user.name %>';
|
|
<% else %>
|
|
JK.currentUserId = null;
|
|
JK.currentUserAvatarUrl = null;
|
|
JK.currentUserName = null;
|
|
<% end %>
|
|
})
|
|
</script>
|
|
|
|
<%= render "shared/ga" %>
|
|
</body>
|
|
</html>
|