diff options
author | silverwind <me@silverwind.io> | 2021-01-01 20:04:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-01 14:04:35 -0500 |
commit | 1bf7d71a0a82bc19945bc816df57b8ad61bdace4 (patch) | |
tree | 012d2f4060785956d46ef3f0a4b4a2678f46801e /modules/setting | |
parent | 21adeaad70ba2386673e00e69147b1cc40551b76 (diff) | |
download | gitea-1bf7d71a0a82bc19945bc816df57b8ad61bdace4.tar.gz gitea-1bf7d71a0a82bc19945bc816df57b8ad61bdace4.zip |
Consolidate Logos and update README header (#14136)
* Consolidate Logos and update README header
- Remove unused `logo-lg.png`, `logo-sm.png` and `logo-192.png`.
- Consolidate `favicon.svg` and `logo.svg` to just `logo.svg`.
- Remove Safari Mask icon, it seems to work fine with just `favicon.png` (no SVG support).
- Remove Fluid Icon. It only served Firefox and SVG works just fine there.
- Update customization instructions.
- Update README.md to use SVG icon, increase logo size and center it and badges.
* Update README_ZH.md
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Update README_ZH.md
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'modules/setting')
-rw-r--r-- | modules/setting/setting.go | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 8a4d7acc4d..a98a97950b 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -1089,24 +1089,14 @@ func MakeManifestData(appName string, appURL string, absoluteAssetURL string) [] StartURL: appURL, Icons: []manifestIcon{ { - Src: absoluteAssetURL + "/img/logo-lg.png", - Type: "image/png", - Sizes: "880x880", - }, - { - Src: absoluteAssetURL + "/img/logo-512.png", + Src: absoluteAssetURL + "/img/logo.png", Type: "image/png", Sizes: "512x512", }, { - Src: absoluteAssetURL + "/img/logo-192.png", - Type: "image/png", - Sizes: "192x192", - }, - { - Src: absoluteAssetURL + "/img/logo-sm.png", - Type: "image/png", - Sizes: "120x120", + Src: absoluteAssetURL + "/img/logo.svg", + Type: "image/svg+xml", + Sizes: "512x512", }, }, }) |