Skip to content

Commit

Permalink
fix: icons path in webmanifest
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed May 24, 2023
1 parent 46c1ef1 commit 75b0d2c
Show file tree
Hide file tree
Showing 16 changed files with 83 additions and 72 deletions.
File renamed without changes
File renamed without changes.
Binary file removed public/favicons/favicon-16x16.png
Binary file not shown.
Binary file removed public/favicons/favicon-32x32.png
Binary file not shown.
Binary file removed public/favicons/mstile-150x150.png
Binary file not shown.
33 changes: 0 additions & 33 deletions public/favicons/safari-pinned-tab.svg

This file was deleted.

File renamed without changes
File renamed without changes
Binary file added public/icon-grid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions public/icon-mask-safari.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icon-maskable-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icon-receive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions public/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Base æpp</title>

<% if (!process.env.VUE_APP_CORDOVA) { %>
<link rel="shortcut icon" href="<%= BASE_URL %>favicons/favicon.ico">
<% } %>
<link rel="icon" href="<%= BASE_URL %>favicon.ico" sizes="any">
<link rel="icon" href="<%= BASE_URL %>icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="<%= BASE_URL %>apple-touch-icon.png">
<link rel="mask-icon" href="<%= BASE_URL %>icon-mask-safari.svg" color="#f7296e">

<meta name="description" content="The æternity blockchain wallet allows users to store, send, and receive æternity coins. The wallet also features an æpps (applications running on the æternity blockchain) browser.">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, viewport-fit=cover" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
Expand Down
29 changes: 0 additions & 29 deletions public/site.webmanifest

This file was deleted.

75 changes: 68 additions & 7 deletions vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,78 @@ module.exports = {
workboxOptions: {
swSrc: './src/service-worker.js',
},
name: 'Base æpp',
manifestPath: 'site.webmanifest',
name: 'Base æpp Wallet',
manifestOptions: {
short_name: 'Base æpp',
description: 'The æternity blockchain wallet allows users to store, send, and receive æternity coins. The wallet also features an æpps (applications running on the æternity blockchain) browser.',
categories: ['finance'],
aeternity_network_ids: ['ae_mainnet', 'ae_uat'],
author: 'æternity',
author_url: 'https://github.com/aetrnity',
prefer_related_applications: true,
related_applications: [{
platform: 'play',
url: 'https://play.google.com/store/apps/details?id=com.aeternity.base',
id: 'com.aeternity.base',
}, {
platform: 'itunes',
url: 'https://apps.apple.com/app/base-æpp-wallet/id1458655724',
}],
icons: [{
src: '/icon-192x192.png',
sizes: '192x192',
type: 'image/png',
}, {
src: '/icon-512x512.png',
sizes: '512x512',
type: 'image/png',
}, {
src: '/icon-maskable-512x512.png',
sizes: '512x512',
type: 'image/png',
purpose: 'maskable',
}, {
src: '/icon.svg',
sizes: 'any',
type: 'image/svg+xml',
}],
background_color: '#f7296e',
id: '/',
start_url: '/',
protocol_handlers: [
{ protocol: 'web+aeternity', url: '/%s' },
{ protocol: 'web+aeppbase', url: '/%s' },
],
shortcuts: [{
name: 'Show QR code',
url: '/transfer/receive',
description: 'Show QR code to get AE',
icons: [{
src: '/icon-receive.png',
sizes: '96x96',
type: 'image/png',
}],
}, {
name: 'æpp browser',
url: '/browser',
icons: [{
src: '/icon-grid.png',
sizes: '96x96',
type: 'image/png',
}],
}],
},
iconPaths: {
favicon32: 'favicons/favicon-32x32.png',
favicon16: 'favicons/favicon-16x16.png',
appleTouchIcon: 'favicons/apple-touch-icon.png',
maskIcon: 'favicons/safari-pinned-tab.svg',
msTileImage: 'favicons/mstile-150x150.png',
favicon32: null,
favicon16: null,
appleTouchIcon: null,
maskIcon: null,
msTileImage: null,
faviconSVG: null,
},
themeColor: '#f7296e',
msTileColor: '#f7296e',
appleMobileWebAppCapable: 'yes',
},
transpileDependencies: ['@aeternity/hd-wallet', '@download/blockies'],
pluginOptions: {
Expand Down

0 comments on commit 75b0d2c

Please sign in to comment.