Skip to content

Commit

Permalink
Remove "carte" page + static numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
mininao committed May 9, 2023
1 parent cb8d948 commit 24b4161
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/views/layouts/_navbar.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav ml-auto">
<% if !current_partner %>
<% if !ENV["STATIC_SITE_GEN"] %>
<li class="<%= class_names("nav-item", active: current_page?(carte_path)) %>">
<%= link_to "Carte", carte_path, class: "nav-link" %>
</li>
<% end %>
<li class="<%= class_names("nav-item", active: current_page?(faq_path)) %>">
<%= link_to "Foire aux questions", faq_path, class: "nav-link" %>
</li>
Expand Down
4 changes: 2 additions & 2 deletions app/views/pages/landing_page_pro.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@

<div class="bg-gradient-theme-reverse py-4 py-lg-5">
<div class="container">
<div class="h1 font-weight-bold mb-3"><span class="text-secondary"><%= pretty_number(@vaccination_centers_count) %>
professionnels de santé équipés,<br><%= pretty_number(@confirmed_matched_users_count) %> RDV confirmés,</span><br><span class="text-dark">leur expérience</span>
<div class="h1 font-weight-bold mb-3"><span class="text-secondary"><%= ENV["STATIC_SITE_GEN"] ? "4 533" : pretty_number(@vaccination_centers_count) %>
professionnels de santé équipés,<br><%= ENV["STATIC_SITE_GEN"] ? "43 740" : pretty_number(@confirmed_matched_users_count) %> RDV confirmés,</span><br><span class="text-dark">leur expérience</span>
</div>
<% @reviews[0..2].each do |review| %>
<div class="mt-1 d-flex align-items-center align-items-sm-end">
Expand Down

0 comments on commit 24b4161

Please sign in to comment.