* VRFS-477; refactored the single-function (landing) pagi pages, and added fto those pages

This commit is contained in:
Seth Call 2013-08-09 00:13:06 -05:00
parent 918153219e
commit 636b842b4c
17 changed files with 112 additions and 124 deletions

View File

@ -0,0 +1,37 @@
@charset "UTF-8";
#footer-container {
position:absolute;
width:100%;
bottom:60px;
height:13px;
}
#footer {
padding-top: 10px;
margin: 30px 30px 0;
border-top:solid 1px #444;
}
#copyright {
float:left;
font-size:11px;
color:#ccc;
}
#footer-links {
float:right;
font-size:11px;
color:#ccc;
}
#footer-links a {
color:#ccc;
text-decoration:none;
}
#footer-links a:hover {
color:#fff;
text-decoration:underline;
}

View File

@ -5,4 +5,5 @@
*= require client/content
*= require client/ftue
*= require landing/simple_landing
*= require landing/footer
*/

View File

@ -1,7 +1,33 @@
body {
padding: 3% 0;
html {
height:100%;
}
body {
//position:absolute !important;
padding:0 !important;
overflow: visible !important;
height:100%;
margin:0 !important;
}
#landing-container {
padding: 3% 0;
position:relative;
text-align: center;
// min-height:100%;
}
#landing-inner {
display:inline-block;
text-align:left;
}
.signin-overlay {
position:relative;
top:0;
}
strong {
font-weight: 600;
}
@ -37,8 +63,9 @@ strong {
}
.overlay-small {
position:relative;
top:0;
display:block;
top:150px;
line-height: 28px;
height:auto;

View File

@ -14,4 +14,16 @@ class CorpController < ApplicationController
def privacy
render nothing: true
end
def news
render nothing: true
end
def about
render nothing: true
end
def help
render nothing: true
end
end

View File

@ -5,7 +5,10 @@
<div id="copyright">Copyright &copy; 2013 JamKazam, Inc. All Rights Reserved</div>
<!-- footer links -->
<div id="footer-links"><%= link_to "contact", corp_contact_path %>&nbsp;&nbsp;|&nbsp;&nbsp;<%= link_to "terms of use", corp_terms_path %>&nbsp;&nbsp;|&nbsp;&nbsp;<%= link_to "privacy", corp_privacy_path %></div>
<div id="footer-links">
<%= link_to "about", corp_about_path %>&nbsp;&nbsp;|&nbsp;&nbsp;<%= link_to "news", corp_news_path %>&nbsp;&nbsp;|&nbsp;&nbsp;<%= link_to "media", corp_media_path %>&nbsp;&nbsp;|&nbsp;&nbsp;<%= link_to "contact", corp_contact_path %>&nbsp;&nbsp;|&nbsp;&nbsp;<%= link_to "privacy", corp_privacy_path%>&nbsp;&nbsp;|&nbsp;&nbsp;<%= link_to "terms of service", corp_terms_path %>&nbsp;&nbsp;|&nbsp;<%= link_to "help", corp_help_path %>
</div>
</div>
<!-- end footer -->

View File

@ -12,6 +12,25 @@
<%= csrf_meta_tags %>
</head>
<body>
<%= yield %>
<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>
</body>
</html>

View File

@ -1,16 +1,4 @@
<% provide(:title, 'Sign in') %>
<%= 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 class="signin-overlay signin-page">
<!-- ftue header -->
@ -103,9 +91,7 @@
<!-- end right column -->
</div>
<!-- end inner -->
</div>
<!-- end inner -->
<!-- end overlay content -->

View File

@ -1,5 +1,4 @@
<% provide(:title, 'Already Signed Up') %>
<%= javascript_include_tag "landing/landing" %>
<div class="signin-overlay">
<!-- ftue header -->

View File

@ -1,16 +1,4 @@
<% provide(:title, 'Congratulations') %>
<%= 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 class="overlay-small">
<!-- header -->
@ -29,5 +17,4 @@
<div align="center"><%= link_to "PROCEED TO JAMKAZAM SITE", root_path, :class =>"button-orange m0" %></div>
</div>
<!-- end inner -->
</div>

View File

@ -1,16 +1,4 @@
<% provide(:title, 'Congratulations') %>
<%= 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 class="overlay-small">
<!-- header -->

View File

@ -1,14 +1,4 @@
<% provide(:title, 'Email Change Confirmation') %>
<%= 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="email-update-information" class="message-wrapper hidden">
<div class="left"><%= image_tag 'content/icon_information_big.png', :size=>'96x96' %></div>
<div class="message">

View File

@ -1,15 +1,4 @@
<% provide(:title, 'Register') %>
<%= 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 class="signin-overlay register-page">
<div class="content-head">
@ -153,10 +142,10 @@
<!-- end right column -->
<% end %>
<br clear="all"/>
</div>
<!-- end inner -->
</div>
<!-- end overlay content -->

View File

@ -1,18 +1,4 @@
<% provide(:title, "Reset password") %>
<%= 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 />
<% provide(:title, "Reset password") %>
<div class="signin-overlay">
<!-- ftue header -->

View File

@ -1,18 +1,4 @@
<% provide(:title, "Reset password") %>
<%= 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 />
<% provide(:title, "Reset password") %>
<div class="signin-overlay">
<!-- ftue header -->

View File

@ -1,18 +1,5 @@
<% provide(:title, "Reset password") %>
<%= 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 class="signin-overlay">
<!-- ftue header -->

View File

@ -1,18 +1,5 @@
<% provide(:title, "Reset password") %>
<%= 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 class="signin-overlay">
<!-- ftue header -->

View File

@ -58,6 +58,10 @@ SampleApp::Application.routes.draw do
match '/contact' => 'corp#contact', :as => 'corp_contact'
match '/terms' => 'corp#terms', :as => 'corp_terms'
match '/privacy' => 'corp#privacy', :as => 'corp_privacy'
match '/news' => 'corp#news', :as => 'corp_news'
match '/about' => 'corp#about', :as => 'corp_about'
match '/help' => 'corp#help', :as => 'corp_help'
match '/media' => 'corp#media', :as => 'corp_media'
end
scope '/api' do