Skip to content

Commit

Permalink
Add alt tag to logos
Browse files Browse the repository at this point in the history
  • Loading branch information
robzolkos committed Nov 13, 2023
1 parent 2bf83c3 commit 7256901
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/home/_app.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<li class="bg-white p-2 rounded-lg app">
<%= image_tag "apps/#{image}", class: "aspect-[3/2] w-full rounded-2xl object-cover" %>
<%= image_tag "apps/#{image}", class: "aspect-[3/2] w-full rounded-2xl object-cover", alt: "#{name} Logo" %>
<h3 class="mt-6 text-lg font-semibold leading-8 tracking-tight text-gray-900"><%= name %></h3>
<p class="text-base leading-7 text-gray-600"><%= app_category %></p>
<ul role="list" class="mt-2 flex gap-x-3">
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<title>Turbo Native Directory</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
Expand Down

0 comments on commit 7256901

Please sign in to comment.