forked from vuestorefront/vsf-capybara
-
Notifications
You must be signed in to change notification settings - Fork 0
/
head.js
83 lines (83 loc) · 2.18 KB
/
head.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
export default {
title: 'VSF Capybara',
titleTemplate: '%s - Vue Storefront',
htmlAttrs: {
lang: 'en'
},
meta: [
{ charset: 'utf-8' },
{
vmid: 'description',
name: 'description',
content:
'Vue Storefront is a standalone PWA storefront for your eCommerce, possible to connect with any eCommerce backend (eg. Magento, Prestashop or Shopware) through the API.'
},
{
name: 'viewport',
content: 'width=device-width, initial-scale=1, minimal-ui'
},
{ name: 'robots', content: 'index, follow' },
{ name: 'mobile-web-app-capable', content: 'yes' },
{ name: 'theme-color', content: '#ffffff' },
{ name: 'apple-mobile-web-app-status-bar-style', content: '#ffffff' }
],
link: [
{
rel: 'icon',
type: 'image/png',
href: '/assets/favicon-32x32.png',
sizes: '32x32'
},
{
rel: 'icon',
type: 'image/png',
href: '/assets/favicon-16x16.png',
sizes: '16x16'
},
{ rel: 'apple-touch-icon', href: '/assets/apple-touch-icon.png' },
{
rel: 'apple-touch-startup-image',
href: '/assets/apple_splash_2048.png',
sizes: '2048x2732'
},
{
rel: 'apple-touch-startup-image',
href: '/assets/apple_splash_1668.png',
sizes: '1668x2224'
},
{
rel: 'apple-touch-startup-image',
href: '/assets/apple_splash_1536.png',
sizes: '1536x2048'
},
{
rel: 'apple-touch-startup-image',
href: '/assets/apple_splash_1125.png',
sizes: '1125x2436'
},
{
rel: 'apple-touch-startup-image',
href: '/assets/apple_splash_1242.png',
sizes: '1242x2208'
},
{
rel: 'apple-touch-startup-image',
href: '/assets/apple_splash_750.png',
sizes: '750x1334'
},
{
rel: 'apple-touch-startup-image',
href: '/assets/apple_splash_640.png',
sizes: '640x1136'
},
{ rel: 'manifest', href: '/assets/manifest.json' },
{ rel: 'preconnect', href: 'https://fonts.gstatic.com/', crossorigin: 'anonymous' }
],
script: [
{
src: 'https://cdn.jsdelivr.net/npm/[email protected]/pwacompat.min.js',
async: true,
crossorigin: 'anonymous'
}
]
};