Skip to content

Commit

Permalink
Use heading component
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Feb 8, 2024
1 parent 9c6fa6d commit beca8e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/_tailwind/alerts_new/edit.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<%= pa_link_to "< Back to menu", profile_alerts_path, class: "text-2xl" %>

<h1 class="text-4xl font-bold mt-14 text-navy font-display"><%= @alert.address %></h1>
<%= render Tailwind::Heading.new(tag: :h1, extra_classes: "mt-14").with_content(@alert.address) %>
<div>
<p class="text-2xl font-bold leading-6 mt-14 text-navy">Last email sent</p>
<p class="text-2xl font-normal text-navy">
Expand Down

0 comments on commit beca8e3

Please sign in to comment.