Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
feat(core): Add manifest.json (#1851)
Browse files Browse the repository at this point in the history
Adds a JSON file which provides information about the app,
offering a quicker access and a richer experience for the users.
  • Loading branch information
pgrodrigues authored and simison committed Aug 26, 2017
1 parent b43c80e commit e4f83c6
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
Binary file added modules/core/client/img/brand/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions modules/core/server/views/layout.server.view.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
<!-- Fav Icon -->
<link href="/{{favicon}}" rel="shortcut icon" type="image/x-icon">

<!-- Manifest -->
<link href="/manifest.json" rel="manifest">

<!-- Application CSS Files -->
{{#each cssFiles}}<link rel="stylesheet" href="/{{this}}">{{/each}}
</head>
Expand Down
14 changes: 14 additions & 0 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "meanjs",
"short_name": "meanjs",
"start_url": ".",
"display": "browser",
"background_color": "#fff",
"theme_color": "#000",
"description": "Fullstack JavaScript with MongoDB, Express, AngularJS, and Node.js.",
"icons": [{
"src": "/modules/core/client/img/brand/icon.png",
"sizes": "128x128",
"type": "image/png"
}]
}

0 comments on commit e4f83c6

Please sign in to comment.