Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/pwa/manifest.json.erb')
-rw-r--r--app/views/pwa/manifest.json.erb27
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"
+ }]
+}