Improve support for favicon and PWA icons
This commit is contained in:
parent
2e983ff79c
commit
db16459e4d
7 changed files with 19 additions and 1 deletions
|
@ -339,6 +339,24 @@
|
|||
type: "image/png",
|
||||
sizes: "512x512",
|
||||
purpose: "any"
|
||||
},
|
||||
%{
|
||||
src: "/static/icon-192.png",
|
||||
type: "image/png",
|
||||
sizes: "192x192",
|
||||
purpose: "any"
|
||||
},
|
||||
%{
|
||||
src: "/static/icon-maskable-512.png",
|
||||
type: "image/png",
|
||||
sizes: "512x512",
|
||||
purpose: "maskable"
|
||||
},
|
||||
%{
|
||||
src: "/static/icon-maskable-192.png",
|
||||
type: "image/png",
|
||||
sizes: "192x192",
|
||||
purpose: "maskable"
|
||||
}
|
||||
],
|
||||
theme_color: "#d6cec7",
|
||||
|
|
|
@ -25,7 +25,7 @@ defmodule Pleroma.Constants do
|
|||
|
||||
const(static_only_files,
|
||||
do:
|
||||
~w(index.html robots.txt static static-fe finmoji emoji packs sounds images instance embed sw.js sw-pleroma.js favicon.png schemas doc)
|
||||
~w(index.html robots.txt static static-fe finmoji emoji packs sounds images instance embed sw.js sw-pleroma.js favicon.ico favicon.png schemas doc)
|
||||
)
|
||||
|
||||
const(status_updatable_fields,
|
||||
|
|
BIN
priv/static/apple-touch-icon.png
Normal file
BIN
priv/static/apple-touch-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
BIN
priv/static/favicon.ico
Normal file
BIN
priv/static/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.3 KiB |
BIN
priv/static/icon-192.png
Normal file
BIN
priv/static/icon-192.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
BIN
priv/static/icon-maskable-192.png
Normal file
BIN
priv/static/icon-maskable-192.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
BIN
priv/static/icon-maskable-512.png
Normal file
BIN
priv/static/icon-maskable-512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
Loading…
Reference in a new issue