Skip to content

Commit

Permalink
Make more similar to design
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed May 29, 2024
1 parent 80dfae4 commit 7a4536b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions app/views/_tailwind/applications/_address_search.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,11 @@
<li class="flex items-start gap-6">
<%= image_tag "tailwind/clock.svg", class: "mt-1", alt: "" %>
<%= render Tailwind::LinkBlock.new(url: application_path(application)) do |c| %>
<%# TODO: Extract this piece below as a partial %>
<div class="text-2xl text-navy">
<div><%= c.linkify application.address %></div>
<p class="font-bold">
<%= time_ago_in_words(application.first_date_scraped) %> ago
</p>
<%# TODO: Limit length of description %>
<p><%= application.description %></p>
<div class="line-clamp-4"><%= application.description %></div>
<div class="mt-2 text-lg text-warm-grey">Found <%= time_ago_in_words(application.first_date_scraped) %> ago</div>
</div>
<% end %>
</li>
Expand Down

0 comments on commit 7a4536b

Please sign in to comment.