diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-20 14:10:13 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-20 14:10:13 +0300 |
commit | 0ea3fcec397b69815975647f5e2aa5fe944a8486 (patch) | |
tree | 7979381b89d26011bcf9bdc989a40fcc2f1ed4ff /app/views/pwa | |
parent | 72123183a20411a36d607d70b12d57c484394c8e (diff) |
Add latest changes from gitlab-org/gitlab@15-1-stable-eev15.1.0-rc42
Diffstat (limited to 'app/views/pwa')
-rw-r--r-- | app/views/pwa/manifest.json.erb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app/views/pwa/manifest.json.erb b/app/views/pwa/manifest.json.erb new file mode 100644 index 00000000000..557a39ee157 --- /dev/null +++ b/app/views/pwa/manifest.json.erb @@ -0,0 +1,27 @@ +{ + "name": "GitLab", + "short_name": "GitLab", + "description": "<%= _("The complete DevOps platform. One application with endless possibilities. Organizations rely on GitLab’s source code management, CI/CD, security, and more to deliver software rapidly.") %>", + "start_url": "<%= explore_projects_path %>", + "scope": "<%= root_path %>", + "display": "browser", + "orientation": "any", + "background_color": "#fff", + "theme_color": "<%= user_theme_primary_color %>", + "icons": [{ + "src": "<%= Gitlab::Utils.append_path(Gitlab.config.gitlab.relative_url_root, '/-/pwa-icons/logo-192.png') %>", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "<%= Gitlab::Utils.append_path(Gitlab.config.gitlab.relative_url_root, '/-/pwa-icons/logo-512.png') %>", + "sizes": "512x512", + "type": "image/png" + }, + { + "src": "<%= Gitlab::Utils.append_path(Gitlab.config.gitlab.relative_url_root, '/-/pwa-icons/maskable-logo.png') %>", + "sizes": "512x512", + "type": "image/png", + "purpose": "maskable" + }] +} |