Skip to content

Commit 412c455

Browse files
committed
restore footer to former glory
1 parent 9c4a1ae commit 412c455

5 files changed

Lines changed: 15 additions & 30 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
11
@import 'bootstrap/scss/bootstrap';
22
@import 'bootstrap-icons/font/bootstrap-icons';
3+
4+
5+
.hr-gradient {
6+
border: 0;
7+
height: 1px;
8+
background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
9+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
// Imports only!
12
@use "rails_bootstrap_forms";
23
@import "application.bootstrap.scss";

app/assets_old/stylesheets/styles/footer.scss

Lines changed: 0 additions & 19 deletions
This file was deleted.

app/views/layouts/_footer.html.erb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<hr class="hr_gradient">
1+
<hr class="hr-gradient">
22

33
<div class="row">
44
<div class="col text-center">
@@ -13,9 +13,9 @@
1313

1414
<div class="row mb-3">
1515
<div id="app_footer" class="col text-center">
16-
<a href="http://<%= current_tenant.site_domain %>/"><%= current_tenant.full_name %></a> -- <a href="tel:<%= current_tenant.phone %>"><i class="fas fa-phone-alt fa-sm" aria-hidden="true"></i> <%= current_tenant.phone %></a><br>
16+
<a href="http://<%= current_tenant.site_domain %>/"><%= current_tenant.full_name %></a> -- <a href="tel:<%= current_tenant.phone %>"><i class="bi bi-telephone-fill" aria-hidden="true"></i> <%= current_tenant.phone %></a><br>
1717

18-
<%= link_to t('navigation.footer.national_abortion_federation'), 'https://prochoice.org' %> -- <a href="tel:800-772-9100"><i class="fas fa-phone-alt fa-sm" aria-hidden="true"></i> 800-772-9100</a><br>
18+
<%= link_to t('navigation.footer.national_abortion_federation'), 'https://prochoice.org' %> -- <a href="tel:800-772-9100"><i class="bi bi-telephone-fill" aria-hidden="true"></i> 800-772-9100</a><br>
1919

2020
<%= fax_service %>
2121
</div>
@@ -24,11 +24,11 @@
2424
<div class="row">
2525
<div class="col text-center">
2626
<%= link_to 'https://dariaservices.org', target: :_blank do %>
27-
<%= image_tag('daria_services_logo.png', class: 'logo', alt: 'DARIA Services Logo') %>
27+
<%= image_tag('daria_services_logo.png', class: 'logo img', size: 45, alt: 'DARIA Services Logo') %>
2828
<% end %>
2929

3030
<%= link_to 'https://www.civictechdc.org', target: :_blank do %>
31-
<%= image_tag('c4dc-logo-master.svg', class: 'logo', alt: 'Civic Tech DC Logo') %>
31+
<%= image_tag('c4dc-logo-master.svg', class: 'logo img', height: 45, alt: 'Civic Tech DC Logo') %>
3232
<% end %>
3333
</div>
3434
</div>

app/views/layouts/application.html.erb

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@
3737

3838
<body>
3939
<% if current_user.present? %>
40-
<header>
41-
<%= render 'layouts/navigation' %>
42-
</header>
40+
<%= render 'layouts/navigation' %>
4341
<% end %>
4442

4543
<main class="container" role="main">
@@ -57,9 +55,7 @@
5755
<% end %>
5856

5957
<% if current_user.present? %>
60-
<footer>
61-
<%= render 'layouts/footer' %>
62-
</footer>
58+
<%= render 'layouts/footer' %>
6359
<% end %>
6460
</main>
6561
</body>

0 commit comments

Comments
 (0)