Skip to content

Commit

Permalink
Add favicon it was not loading from manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
lubomira.trnavska committed Nov 16, 2024
1 parent 1e746ee commit cb4e366
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag "application", "data-turbo-track": "reload", defer: true %>
<%= favicon_link_tag 'SD_icon_square_white.png', type: "image/png" %>
</head>
<body class="h-full">
<%= render Common::FlashComponent.new %>
Expand Down
2 changes: 2 additions & 0 deletions app/views/layouts/login.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
<%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag "application", "data-turbo-track": "reload", defer: true %>
<%= favicon_link_tag 'SD_icon_square_white.png', type: "image/png" %>

</head>
<body class = "h-full">
<%= yield %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/service_worker/manifest.json.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"icons": [
{
"src": "<%= image_path "SD_icon_square_white.png" %>",
"sizes": "310x310",
"sizes": "any",
"type": "image/png"
}
],
Expand Down

0 comments on commit cb4e366

Please sign in to comment.