removes image and improves layout of welcome index page

This commit is contained in:
decabeza
2017-09-01 12:52:13 +02:00
parent 5949f7abf0
commit 68591fa7d6
4 changed files with 31 additions and 28 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

View File

@@ -2,45 +2,50 @@
<%= render "shared/canonical", href: root_url %> <%= render "shared/canonical", href: root_url %>
<% end %> <% end %>
<div class="expanded highlight padding no-margin-top"> <div class="jumbo highlight">
<div class="row"> <div class="row">
<div class="small-12 medium-6 column"> <div class="small-12 medium-9 small-centered column text-center">
<h1><%= t("layouts.header.open_city_title") %></h1> <h1><%= t("layouts.header.open_city_title") %></h1>
<p> <p class="lead">
<%= t("layouts.header.open_city_slogan_html") %>&nbsp; <%= t("layouts.header.open_city_slogan_html") %>
<%= link_to t("layouts.header.more_info"), more_info_path %>
</p> </p>
<div class="small-12 medium-6"> <div class="small-12 medium-6 large-4 small-centered">
<%= link_to t("layouts.header.see_all"), proposals_path, class: "button see-more expanded" %> <%= link_to t("layouts.header.more_info"), more_info_path, class: "button expanded large" %>
</div> </div>
</div> </div>
<div class="hide-for-small-only small-12 medium-5 column text-center">
<%= image_tag(image_path_for("icon_home.png"), size: "330x240", alt:"") %>
</div>
</div> </div>
</div> </div>
<% cache [locale_and_user_status, @featured_debates, @featured_proposals, 'featured'] do %> <% cache [locale_and_user_status, @featured_debates, @featured_proposals, 'featured'] do %>
<main> <main>
<div class="row text-center margin"> <div class="row">
<div class="small-12 medium-3 column"> <div class="small-12 medium-6 column">
<h2><%= t("welcome.debates.title") %></h2> <p>
<p><%= t("welcome.debates.description") %></p> <span class="lead"><strong><%= t("welcome.debates.title") %></strong></span><br>
<%= t("welcome.debates.description") %>
</p>
</div> </div>
<div class="small-12 medium-3 column"> <div class="small-12 medium-6 column">
<h2><%= t("welcome.proposal.title") %></h2> <p>
<p><%= t("welcome.proposal.description") %></p> <span class="lead"><strong><%= t("welcome.proposal.title") %></strong></span><br>
<%= t("welcome.proposal.description") %>
</p>
</div> </div>
</div>
<div class="small-12 medium-3 column"> <div class="row margin-top">
<h2><%= t("welcome.decide.title") %></h2> <div class="small-12 medium-6 column">
<p><%= t("welcome.decide.description") %></p> <p>
<span class="lead"><strong><%= t("welcome.decide.title") %></strong></span><br>
<%= t("welcome.decide.description") %>
</p>
</div> </div>
<div class="small-12 medium-3 column"> <div class="small-12 medium-6 column">
<h2><%= t("welcome.do.title") %></h2> <p>
<p><%= t("welcome.do.description") %></p> <span class="lead"><strong><%= t("welcome.do.title") %></strong></span><br>
<%= t("welcome.do.description") %>
</p>
</div> </div>
</div> </div>
</main> </main>

View File

@@ -220,11 +220,10 @@ en:
no_notifications: "You don't have new notifications" no_notifications: "You don't have new notifications"
open: open open: open
open_city_slogan_html: There are cities that are governed directly by their inhabitants, who <b>discuss</b> the topics they are concerned about, <b>propose</b> ideas to improve their lives and <b>decide</b> among themselves which ones will be carried out. open_city_slogan_html: There are cities that are governed directly by their inhabitants, who <b>discuss</b> the topics they are concerned about, <b>propose</b> ideas to improve their lives and <b>decide</b> among themselves which ones will be carried out.
open_city_title: Love the city, and it will become a city you love. open_city_title: Love the city, and it will become a city you love
open_gov: Open government open_gov: Open government
proposals: Proposals proposals: Proposals
poll_questions: Voting poll_questions: Voting
see_all: See proposals
budgets: Participatory budgeting budgets: Participatory budgeting
spending_proposals: Spending Proposals spending_proposals: Spending Proposals
admin: admin:

View File

@@ -220,11 +220,10 @@ es:
no_notifications: No tienes notificaciones nuevas no_notifications: No tienes notificaciones nuevas
open: abierto open: abierto
open_city_slogan_html: Existen ciudades gobernadas directamente por sus habitantes, que <strong>debaten</strong> sobre temas que les preocupan, <strong>proponen</strong> ideas para mejorar sus vidas y <strong>deciden</strong> entre todas y todos las que se llevan a cabo. open_city_slogan_html: Existen ciudades gobernadas directamente por sus habitantes, que <strong>debaten</strong> sobre temas que les preocupan, <strong>proponen</strong> ideas para mejorar sus vidas y <strong>deciden</strong> entre todas y todos las que se llevan a cabo.
open_city_title: La ciudad que quieres será la ciudad que quieras. open_city_title: La ciudad que quieres será la ciudad que quieras
open_gov: Gobierno %{open} open_gov: Gobierno %{open}
proposals: Propuestas proposals: Propuestas
poll_questions: Votaciones poll_questions: Votaciones
see_all: Ver propuestas
budgets: Presupuestos participativos budgets: Presupuestos participativos
spending_proposals: "Propuestas de inversión" spending_proposals: "Propuestas de inversión"
admin: admin: