Skip to content

Commit

Permalink
Apply focus style to links
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Feb 5, 2024
1 parent 9060d0b commit ad76d85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/_tailwind/applications/_address_search.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<h2 class="text-3xl font-bold text-navy font-display">Most commented applications</h2>
<div class="space-y-8">
<% Application.trending.limit(3).each do |application| %>
<%= link_to application, class: "block" do %>
<%= link_to application, class: "block focus:bg-sun-yellow" do %>
<article>
<h3 class="text-2xl font-bold text-fuchsia"><%= application.address %></h3>
<p class="text-2xl font-bold text-navy">Commented on <%= pluralize(application.visible_comments_count, "time") %></p>
Expand All @@ -26,7 +26,7 @@
<div class="space-y-8">
<%# TODO: Probably want some ordering that shows applications from different places %>
<% Application.order(first_date_scraped: :desc).limit(3).each do |application| %>
<%= link_to application, class: "block" do %>
<%= link_to application, class: "block focus:bg-sun-yellow" do %>
<article>
<h3 class="text-2xl font-bold text-fuchsia"><%= application.address %></h3>
<p class="text-2xl font-bold text-navy">
Expand Down

0 comments on commit ad76d85

Please sign in to comment.