@riosst100/pwa-marketplace 1.9.8 → 1.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/intercept.js +4 -0
- package/src/overwrites/venia-ui/lib/components/Header/header.js +1 -1
- package/src/overwrites/venia-ui/lib/components/MegaMenu/megaMenuItem.js +2 -2
- package/src/overwrites/venia-ui/lib/components/MegaMenu/submenu.js +1 -3
- package/src/overwrites/venia-ui/venia-static/favicon.ico +0 -0
- package/src/overwrites/venia-ui/venia-static/manifest.json +32 -0
- package/src/static-files/favicon.ico +0 -0
- package/src/static-files/icons/apple-touch-icon.png +0 -0
- package/src/static-files/icons/venia_circle_144.png +0 -0
- package/src/static-files/icons/venia_circle_192.png +0 -0
- package/src/static-files/icons/venia_circle_512.png +0 -0
- package/src/static-files/icons/venia_maskable_512.png +0 -0
- package/src/static-files/icons/venia_square_144.png +0 -0
- package/src/static-files/icons/venia_square_192.png +0 -0
- package/src/static-files/icons/venia_square_512.png +0 -0
- package/src/static-files/icons/venia_square_57.png +0 -0
- package/src/static-files/manifest.json +32 -0
- package/src/static-files/robots.txt +2 -0
- package/src/static-files/veniaClosed.png +0 -0
package/package.json
CHANGED
package/src/intercept.js
CHANGED
|
@@ -13,6 +13,10 @@ module.exports = targets => {
|
|
|
13
13
|
availableWebsites = await getAvailableWebsitesConfigData();
|
|
14
14
|
})();
|
|
15
15
|
|
|
16
|
+
targets.of('@magento/pwa-buildpack').transformUpward.tap(def => {
|
|
17
|
+
def.staticFromRoot.inline.body.file.template.inline = './static-files/{{ filename }}';
|
|
18
|
+
});
|
|
19
|
+
|
|
16
20
|
targets.of('@magento/pwa-buildpack').specialFeatures.tap(features => {
|
|
17
21
|
features[targets.name] = { i18n: true, esModules: true, cssModules: true, graphqlQueries: true };
|
|
18
22
|
});
|
|
@@ -43,7 +43,7 @@ const Header = props => {
|
|
|
43
43
|
const baseUrl = data?.storeConfig?.base_media_url;
|
|
44
44
|
const imageSource = data?.storeConfig?.header_logo_src;
|
|
45
45
|
const LogoImageSource = `${baseUrl}/logo/${imageSource}`;
|
|
46
|
-
const IMAGE_HEIGHT = data?.storeConfig?.logo_width ||
|
|
46
|
+
const IMAGE_HEIGHT = data?.storeConfig?.logo_width || 25.23;
|
|
47
47
|
const IMAGE_WIDTH = data?.storeConfig?.logo_height || 170;
|
|
48
48
|
const IMAGE_ALT = data?.storeConfig?.logo_alt || 'TCG Collective';
|
|
49
49
|
|
|
Binary file
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Venia",
|
|
3
|
+
"short_name": "Venia",
|
|
4
|
+
"start_url": "/",
|
|
5
|
+
"theme_color": "#1F39FF",
|
|
6
|
+
"display": "standalone",
|
|
7
|
+
"background_color": "#fff",
|
|
8
|
+
"description": "Shop the look",
|
|
9
|
+
"icons": [
|
|
10
|
+
{
|
|
11
|
+
"src": "/venia-static/icons/venia_circle_144.png",
|
|
12
|
+
"sizes": "144x144",
|
|
13
|
+
"type": "image/png"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"src": "/venia-static/icons/venia_circle_192.png",
|
|
17
|
+
"sizes": "192x192",
|
|
18
|
+
"type": "image/png"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"src": "/venia-static/icons/venia_circle_512.png",
|
|
22
|
+
"sizes": "512x512",
|
|
23
|
+
"type": "image/png"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"src": "/venia-static/icons/venia_maskable_512.png",
|
|
27
|
+
"sizes": "512x512",
|
|
28
|
+
"type": "image/png",
|
|
29
|
+
"purpose": "maskable"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Venia",
|
|
3
|
+
"short_name": "Venia",
|
|
4
|
+
"start_url": "/",
|
|
5
|
+
"theme_color": "#1F39FF",
|
|
6
|
+
"display": "standalone",
|
|
7
|
+
"background_color": "#fff",
|
|
8
|
+
"description": "Shop the look",
|
|
9
|
+
"icons": [
|
|
10
|
+
{
|
|
11
|
+
"src": "/venia-static/icons/venia_circle_144.png",
|
|
12
|
+
"sizes": "144x144",
|
|
13
|
+
"type": "image/png"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"src": "/venia-static/icons/venia_circle_192.png",
|
|
17
|
+
"sizes": "192x192",
|
|
18
|
+
"type": "image/png"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"src": "/venia-static/icons/venia_circle_512.png",
|
|
22
|
+
"sizes": "512x512",
|
|
23
|
+
"type": "image/png"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"src": "/venia-static/icons/venia_maskable_512.png",
|
|
27
|
+
"sizes": "512x512",
|
|
28
|
+
"type": "image/png",
|
|
29
|
+
"purpose": "maskable"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
Binary file
|