Skip to content

Commit a4cf6ec

Browse files
authored
Move manifest and add apple touch icon (#1737)
* Move manifest and add apple touch icon
1 parent 5817fef commit a4cf6ec

File tree

10 files changed

+8
-4
lines changed

10 files changed

+8
-4
lines changed

docker/ui-builder/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ COPY webpack.config.js webpack-dev.config.js webpack-prd.config.js tsconfig.json
1212

1313
# copy in src local files
1414
COPY src/angular-app ./src/angular-app
15-
COPY src/appManifest ./src/appManifest
15+
COPY src/appIcons ./src/appIcons
16+
COPY src/manifest.json ./src/manifest.json
1617
COPY src/json ./src/json
1718
COPY src/sass ./src/sass
1819
COPY src/Site/views ./src/Site/views

src/Site/views/languageforge/theme/default/page/home/index.html.twig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<meta name="viewport" content="width=device-width, initial-scale=1"/>
1212
<link rel="icon" href="/Site/views/languageforge/theme/default/image/favicon.ico" type="image/x-icon" />
1313
<link rel="stylesheet" href="{{ baseDir }}/assets/css/main.css"/>
14+
<link rel="apple-touch-icon" href="/appIcons/lf-logo-square-192-xxxhdpi.png">
1415
</head>
1516
<body class="landing">
1617
<div id="page-wrapper">

src/Site/views/shared/container/container.html.twig

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717

1818
<link rel="icon" href="{{ faviconPath }}" type="image/x-icon" />
1919

20-
<link rel="manifest" href="/appManifest/languageforge.webmanifest">
20+
<link rel="manifest" href="/manifest.json">
21+
22+
<link rel="apple-touch-icon" href="/appIcons/lf-logo-square-192-xxxhdpi.png">
2123

2224
{# jquery must be the first js to be loaded #}
2325
{% if useMinifiedJs %}
File renamed without changes.
File renamed without changes.
18.3 KB
Loading

src/appManifest/languageforge.webmanifest renamed to src/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
"short_name": "Projects",
2222
"description": "View the list of projects",
2323
"url": "/app/projects",
24-
"icons": [{ "src": "/appManifest/images/lf-logo-circle-192-xxxhdpi.png", "sizes": "192x192" }]
24+
"icons": [{ "src": "/appIcons/lf-logo-circle-192-xxxhdpi.png", "sizes": "192x192" }]
2525
},
2626
{
2727
"name": "User Profile",
2828
"short_name": "User Profile",
2929
"description": "View your user profile",
3030
"url": "/app/userprofile",
31-
"icons": [{ "src": "/appManifest/images/lf-logo-circle-192-xxxhdpi.png", "sizes": "192x192" }]
31+
"icons": [{ "src": "/appIcons/lf-logo-circle-192-xxxhdpi.png", "sizes": "192x192" }]
3232
}
3333
],
3434
"icons": [

0 commit comments

Comments
 (0)