Consolidate footer text into a shared partial
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
.txt-align-start { text-align: start; }
|
||||
.txt-align-end { text-align: end; }
|
||||
|
||||
.txt-current { color: currentColor; }
|
||||
.txt-ink { color: var(--color-ink); }
|
||||
.txt-reversed { color: var(--color-ink-inverted); }
|
||||
.txt-negative { color: var(--color-negative); }
|
||||
@@ -29,8 +30,9 @@
|
||||
.txt-capitalize-first-letter::first-letter { text-transform: capitalize; }
|
||||
.txt-link { color: var(--color-link); text-decoration: underline; }
|
||||
|
||||
.font-weight-black { font-weight: 900; }
|
||||
.font-weight-normal { font-weight: normal; }
|
||||
.font-weight-bold { font-weight: bold; }
|
||||
.font-weight-black { font-weight: 900; }
|
||||
|
||||
/* Flexbox and Grid */
|
||||
.justify-end { justify-content: end; }
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
<%= link_to "https://www.fizzy.do", class: "txt-current font-weight-bold txt-nowrap", target: "_blank", rel: "noopener noreferrer" do %>
|
||||
<%= icon_tag "fizzy", class: "v-align-middle" %>
|
||||
Fizzy™
|
||||
<% end %>
|
||||
is designed, built, and backed by
|
||||
<%= link_to "https://37signals.com", class: "txt-current font-weight-bold txt-nowrap", target: "_blank", rel: "noopener noreferrer" do %>
|
||||
<%= icon_tag "37signals", class: "v-align-middle" %>
|
||||
37signals™
|
||||
<% end %>
|
||||
@@ -9,6 +9,6 @@
|
||||
<% end %>
|
||||
|
||||
<footer class="nav__footer">
|
||||
<strong class="txt-nowrap"><a href="https://www.fizzy.do" target="_blank" rel="noopener noreferrer" class="txt-ink"><%= icon_tag "fizzy", class: "v-align-middle" %> Fizzy™</a></strong> is designed, built, and backed by <strong class="txt-nowrap"><a href="https://37signals.com" target="_blank" rel="noopener noreferrer" class="txt-ink"><%= icon_tag "37signals", class: "v-align-middle" %> 37signals™</a></strong>
|
||||
<%= render "layouts/shared/colophon" %>
|
||||
</footer>
|
||||
<% end %>
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<div class="txt-align-center center margin-block-double txt-subtle txt-small">
|
||||
<strong class="txt-nowrap"><a href="https://www.fizzy.do" target="_blank" rel="noopener noreferrer" class="txt-subtle"><%= icon_tag "fizzy", class: "v-align-middle" %> Fizzy™</a></strong> is designed, built, and backed by <strong class="txt-nowrap"><%= icon_tag "37signals", class: "v-align-middle" %> <a href="https://37signals.com" target="_blank" rel="noopener noreferrer" class="txt-subtle">37signals</a></strong>.
|
||||
<%= render "layouts/shared/colophon" %>
|
||||
</div>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="pad-inline txt-align-center center margin-block-double txt-subtle txt-small">
|
||||
<strong class="txt-nowrap"><a href="https://www.fizzy.do" target="_blank" rel="noopener noreferrer" class="txt-subtle"><%= icon_tag "fizzy", class: "v-align-middle" %> Fizzy™</a></strong> is designed, built, and backed by <strong class="txt-nowrap"><%= icon_tag "37signals", class: "v-align-middle" %> <a href="https://37signals.com" target="_blank" rel="noopener noreferrer" class="txt-subtle">37signals™</a></strong>.
|
||||
<%= render "layouts/shared/colophon" %>.
|
||||
Need help? <%= mail_to "support@fizzy.do", "Send us an email", class: "txt-link" %>.
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user