Add favicon, app icons, and simple PWA manifest
@@ -17,6 +17,11 @@
|
|||||||
<%= javascript_importmap_tags %>
|
<%= javascript_importmap_tags %>
|
||||||
|
|
||||||
<%= yield :head %>
|
<%= yield :head %>
|
||||||
|
|
||||||
|
<link rel="manifest" href="/manifest.json">
|
||||||
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
||||||
|
<link rel="icon" href="/favicon.png" type="image/png">
|
||||||
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body data-controller="lightbox local-time timezone-cookie">
|
<body data-controller="lightbox local-time timezone-cookie">
|
||||||
|
|||||||
@@ -0,0 +1,42 @@
|
|||||||
|
{
|
||||||
|
"name": "Fizzy",
|
||||||
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "/app-icon-192.png",
|
||||||
|
"type": "image/png",
|
||||||
|
"sizes": "192x192"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/app-icon.png",
|
||||||
|
"type": "image/png",
|
||||||
|
"sizes": "512x512"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/app-icon.png",
|
||||||
|
"type": "image/png",
|
||||||
|
"sizes": "512x512",
|
||||||
|
"purpose": "maskable"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"start_url": "/",
|
||||||
|
"display": "standalone",
|
||||||
|
"scope": "/",
|
||||||
|
"description": "Bubble-up the biggest issues in your projects",
|
||||||
|
"categories": ["bugs", "business", "productivity"],
|
||||||
|
"shortcuts": [
|
||||||
|
{
|
||||||
|
"name": "Notifications",
|
||||||
|
"description": "Catch up on recent notifications",
|
||||||
|
"url": "/notifications",
|
||||||
|
"icons": [{ "src": "<%= image_url("bell.svg") %>", "sizes": "any" }]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Latest Activity",
|
||||||
|
"description": "See what’s new",
|
||||||
|
"url": "/events",
|
||||||
|
"icons": [{ "src": "<%= image_url("activity.svg") %>", "sizes": "any" }]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"theme_color": "#ffffff",
|
||||||
|
"background_color": "#ffffff"
|
||||||
|
}
|
||||||
@@ -75,4 +75,5 @@ Rails.application.routes.draw do
|
|||||||
get "join/:join_code", to: "users#new", as: :join
|
get "join/:join_code", to: "users#new", as: :join
|
||||||
post "join/:join_code", to: "users#create"
|
post "join/:join_code", to: "users#create"
|
||||||
get "up", to: "rails/health#show", as: :rails_health_check
|
get "up", to: "rails/health#show", as: :rails_health_check
|
||||||
|
get "manifest" => "rails/pwa#manifest", as: :pwa_manifest
|
||||||
end
|
end
|
||||||
|
|||||||
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 0 B After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 0 B After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 525 B |
|
After Width: | Height: | Size: 22 KiB |