mirror of
https://github.com/tenrok/vue-select.git
synced 2026-05-17 02:29:37 +03:00
58 lines
1.9 KiB
JavaScript
58 lines
1.9 KiB
JavaScript
const isDeployPreview = require('./isDeployPreview');
|
|
const meta = require('./meta');
|
|
|
|
const head = [
|
|
[
|
|
'link',
|
|
{
|
|
href: '//fonts.googleapis.com/css?family=Source+Sans+Pro:400,600|Roboto Mono',
|
|
rel: 'stylesheet',
|
|
type: 'text/css',
|
|
}],
|
|
[
|
|
'link',
|
|
{
|
|
href: '//fonts.googleapis.com/css?family=Dosis:300&text=Vue Select',
|
|
rel: 'stylesheet',
|
|
type: 'text/css',
|
|
}],
|
|
['link', {rel: 'icon', href: `/vue-logo.png`}],
|
|
['meta', {name: 'theme-color', content: '#3eaf7c'}],
|
|
['meta', {name: 'apple-mobile-web-app-capable', content: 'yes'}],
|
|
['meta', {name: 'apple-mobile-web-app-status-bar-style', content: 'black'}],
|
|
[
|
|
'link',
|
|
{rel: 'apple-touch-icon', href: `/icons/apple-touch-icon-152x152.png`}],
|
|
[
|
|
'link',
|
|
{rel: 'mask-icon', href: '/icons/safari-pinned-tab.svg', color: '#3eaf7c'}],
|
|
[
|
|
'meta',
|
|
{
|
|
name: 'msapplication-TileImage',
|
|
content: '/icons/msapplication-icon-144x144.png',
|
|
}],
|
|
['meta', {name: 'msapplication-TileColor', content: '#000000'}],
|
|
['meta', {name: 'title', content: meta.title}],
|
|
['meta', {name: 'description', content: meta.description}],
|
|
['link', {rel: 'icon', href: meta.icon, type: 'image/png'}],
|
|
['meta', {property: 'og:image', content: meta.icon}],
|
|
['meta', {property: 'twitter:image', content: meta.icon}],
|
|
['meta', {name: 'description', content: meta.description}],
|
|
['meta', {property: 'og:description', content: ''}],
|
|
['meta', {property: 'twitter:description', content: meta.description}],
|
|
['meta', {property: 'twitter:title', content: meta.title}],
|
|
['meta', {property: 'og:title', content: meta.title}],
|
|
['meta', {property: 'og:site_name', content: meta.title}],
|
|
['meta', {property: 'og:url', content: meta.url}],
|
|
];
|
|
|
|
if (isDeployPreview) {
|
|
head.push(
|
|
['meta', {name: 'robots', content: 'noindex'}],
|
|
['meta', {name: 'googlebot', content: 'noindex'}],
|
|
);
|
|
}
|
|
|
|
module.exports = head;
|