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 ff75731 commit 4778577
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/_tailwind/home/_banner.html.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div class="sm:grid sm:items-center sm:grid-cols-2 sm:gap-7 mb-9 sm:mb-7">
<%# TODO: This is using a different style than the standard Heading component %>
<h1 class="text-3xl font-bold sm:text-5xl font-display text-navy">
<%= render Tailwind::Heading.new(tag: :h1, size: "3xl", extra_classes: "sm:text-5xl") do %>
Find out for free what is being built and knocked down in your area.
</h1>
<% end %>
<div class="mt-9 sm:mt-0 justify-self-end">
<%= image_tag "tailwind/illustration/banner.svg", alt: "", size: "465x340" %>
</div>
Expand Down

0 comments on commit 4778577

Please sign in to comment.