Skip to content

Commit ae43922

Browse files
authored
Merge pull request #1189 from tchak/ember-web-app
Add a web manifest
2 parents 9a83264 + 02628eb commit ae43922

File tree

4 files changed

+54
-1
lines changed

4 files changed

+54
-1
lines changed

app/templates/application.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div id="header">
99
{{#link-to "index"}}
1010
<img src="/assets/Cargo-Logo-Small.png" id="logo"
11-
height=100 width=100 />
11+
height=100 width=100 alt="Cargo Logo"/>
1212
{{/link-to}}
1313
{{#link-to "index"}}
1414
<h1>

config/manifest.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/* eslint-env node */
2+
'use strict';
3+
4+
module.exports = function(/* environment, appConfig */) {
5+
return {
6+
name: "Cargo: packages for Rust",
7+
short_name: "Cargo",
8+
description: "Cargo is the package manager and crate host for Rust.",
9+
start_url: "/",
10+
display: "standalone",
11+
background_color: "#3b6837",
12+
theme_color: "#f9f7ec",
13+
icons: [
14+
{
15+
src: "cargo.png",
16+
sizes: "227x227",
17+
type: "image/png"
18+
}
19+
],
20+
ms: {
21+
tileColor: "#3b6837"
22+
}
23+
};
24+
}

package-lock.json

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
"ember-source": "~2.17.0",
6464
"ember-svg-jar": "^0.11.1",
6565
"ember-test-selectors": "^0.3.7",
66+
"ember-web-app": "^2.2.0",
6667
"emberx-select": "^3.0.1",
6768
"eslint-plugin-ember-suave": "^1.0.0",
6869
"loader.js": "^4.5.1",

0 commit comments

Comments
 (0)