mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
Favicon matches the app icon
The white plane in a blue ring on the dark rounded square, tuned to read at 16 px, instead of the plane emoji (which looked different everywhere). Adds favicon.ico (16/32/48) for browsers and tools that ask for it, busts the cached SVG with ?v=2, and keeps it with the offline page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
291990412e
commit
ec0f43019f
8 files changed
+21
-8
No files matched your search
@@ -14,7 +14,8 @@
|
||||
<meta name="theme-color" content="#0f172a">
|
||||
<meta name="apple-mobile-web-app-title" content="SAM">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
||||
<link rel="icon" href="/favicon.ico" sizes="32x32">
|
||||
<link rel="icon" href="/favicon.svg?v=2" type="image/svg+xml">
|
||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
||||
<%= stylesheet_link_tag :app, "data-turbo-track": "reload" %>
|
||||
<%= javascript_importmap_tags %>
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
<meta name="theme-color" content="#0f172a">
|
||||
<meta name="apple-mobile-web-app-title" content="SAM">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
||||
<link rel="icon" href="/favicon.ico" sizes="32x32">
|
||||
<link rel="icon" href="/favicon.svg?v=2" type="image/svg+xml">
|
||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
||||
<%= stylesheet_link_tag :app, "data-turbo-track": "reload" %>
|
||||
<%= javascript_importmap_tags %>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<%# Always a full page load: a Turbo visit would keep the app's dark theme
|
||||
on this white page, and leave this page's styles behind on Back. %>
|
||||
<meta name="turbo-visit-control" content="reload">
|
||||
<% unless @standalone %><link rel="icon" href="/favicon.svg" type="image/svg+xml"><% end %>
|
||||
<% unless @standalone %><link rel="icon" href="/favicon.ico" sizes="32x32"><link rel="icon" href="/favicon.svg?v=2" type="image/svg+xml"><% end %>
|
||||
<%= stylesheet_link_tag :app, "data-turbo-track": "reload" %>
|
||||
<%# No Turbo here (Back is then an ordinary page load); just the Print button. %>
|
||||
<script nonce="<%= content_security_policy_nonce %>">
|
||||
|
||||
Reference in new issue
Block a user