Browse Source

refactor css, home second section

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
a1cff4f5cc
  1. 4
      app/assets/stylesheets/application.css
  2. 0
      app/assets/stylesheets/pages/marketing.css.scss
  3. 0
      app/assets/stylesheets/pages/team.css.scss
  4. 10
      app/views/pages/about.html.erb
  5. 7
      app/views/pages/fragments/_action.html.erb
  6. 14
      app/views/pages/fragments/_benefits.html.erb
  7. 18
      app/views/pages/fragments/_features.html.erb
  8. 21
      app/views/pages/home.html.erb
  9. 10
      app/views/pages/home/_headlines.html.erb

4
app/assets/stylesheets/application.css

@ -6,8 +6,8 @@
*= require theme/base
*= require theme/default
*= require theme/error_explanation
*= require theme/pages
*= require marketing
*= require pages/team
*= require pages/marketing
*= require active_scaffold
*= require overrides
*= require slides

0
app/assets/stylesheets/marketing.css.scss → app/assets/stylesheets/pages/marketing.css.scss

0
app/assets/stylesheets/theme/pages.css.scss → app/assets/stylesheets/pages/team.css.scss

10
app/views/pages/about.html.erb

@ -20,14 +20,8 @@
</p>
<h2>How can you benefit from this</h2>
<ul>
<li>Have a total control of your own domain and records</li>
<li>Host your own site using your own internet connection</li>
<li>Access your computer using a domain name instead of a numerical IP address</li>
<li>Use your home dynamic IP and always have your domain pointing to it</li>
<li>Spend your money on more important things</li>
</ul>
<%= render 'pages/fragments/benefits' %>
<p>
We are open to new ideas or suggestions how to make the service better for you to use.

7
app/views/pages/fragments/_action.html.erb

@ -0,0 +1,7 @@
<div class="action">
<%= image_tag 'marketing/arrow_left.png' %>
<%= link_to new_user_registration_path, :style => 'text-decoration: none' do %>
<strong>Create an Account Now</strong><br>
<em>It's free, sign up in 60 seconds.</em>
<% end %>
</div>

14
app/views/pages/fragments/_benefits.html.erb

@ -0,0 +1,14 @@
<ul>
<li>Have a total control of your own domain and records</li>
<li>Host your own site using your own internet connection</li>
<li>Access your computer using a domain name instead of a numerical IP address</li>
<li>Use your home dynamic IP and always have your domain pointing to it</li>
<li>Spend your money on more important things</li>
</ul>
<br />
<br />
<br />
<br />
<%= render :partial => 'pages/fragments/action' %>

18
app/views/pages/fragments/_features.html.erb

@ -0,0 +1,18 @@
<ul>
<li>Unlimited domain hosting</li>
<li>Dynamic DNS record updates</li>
<li>Simple API for users to update/change DNS records</li>
<li>REST API for power users to update/change DNS records</li>
<li>Supported DNS record types: SOA, A, CNAME, TXT, MX, NS</li>
<li>Unlimited subdomain hosting</li>
<li>Very low TTL values</li>
</ul>
<em>Coming soon</em>
<ul>
<li>IPv6 support</li>
<li>DNSSEC support</li>
<li>More NS nodes for high availability</li>
<li>And many more...</li>
</ul>

21
app/views/pages/home.html.erb

@ -17,3 +17,24 @@
</div>
</div>
</div>
<div class="block">
<div class="content">
<div class="inner">
<table class="marketing-duo">
<tr>
<td class="marketing-text">
<h2>Benefits</h2>
<%= render 'pages/fragments/benefits' %>
</td>
<td class="marketing-images">
<h2>Features</h2>
<%= render 'pages/fragments/features' %>
</td>
</tr>
</table>
</div>
</div>
</div>

10
app/views/pages/home/_headlines.html.erb

@ -21,12 +21,4 @@
</li>
</ul>
<div class="action">
<%= image_tag 'marketing/arrow_left.png' %>
<%= link_to new_user_registration_path, :style => 'text-decoration: none' do %>
<strong>Create an Account Now</strong><br>
<em>It's free, sign up in 60 seconds.</em>
<% end %>
</div>
<%= render :partial => 'pages/fragments/action' %>

Loading…
Cancel
Save