super-graph/docs/guide/.vuepress/config.js

54 lines
2.0 KiB
JavaScript
Raw Permalink Normal View History

2019-11-10 03:53:26 +01:00
let ogprefix = 'og: http://ogp.me/ns#'
let title = 'Super Graph'
let description = 'Fetch data without code'
2019-11-10 03:53:26 +01:00
let color = '#f42525'
2019-04-04 06:52:52 +02:00
module.exports = {
2019-11-10 03:53:26 +01:00
title: title,
description: description,
2019-04-04 06:52:52 +02:00
themeConfig: {
2019-10-01 06:00:15 +02:00
logo: '/hologram.svg',
2019-04-04 06:52:52 +02:00
nav: [
2019-07-29 07:13:33 +02:00
{ text: 'Docs', link: '/guide' },
2019-08-02 16:07:50 +02:00
{ text: 'Deploy', link: '/deploy' },
{ text: 'Internals', link: '/internals' },
2019-04-04 06:52:52 +02:00
{ text: 'Github', link: 'https://github.com/dosco/super-graph' },
{ text: 'Docker', link: 'https://hub.docker.com/r/dosco/super-graph/builds' },
2020-05-16 08:05:59 +02:00
{ text: 'Join Chat', link: 'https://discord.com/invite/23Wh7c' },
2019-04-18 05:35:08 +02:00
],
serviceWorker: {
updatePopup: true
2019-08-02 16:07:50 +02:00
},
2019-11-10 03:53:26 +01:00
head: [
//['link', { rel: 'icon', href: `/assets/favicon.ico` }],
['meta', { prefix: ogprefix, property: 'og:title', content: title }],
['meta', { prefix: ogprefix, property: 'twitter:title', content: title }],
['meta', { prefix: ogprefix, property: 'og:type', content: 'website' }],
2019-11-19 06:47:55 +01:00
['meta', { prefix: ogprefix, property: 'og:url', content: 'https://supergraph.dev' }],
2019-11-10 03:53:26 +01:00
['meta', { prefix: ogprefix, property: 'og:description', content: description }],
//['meta', { prefix: ogprefix, property: 'og:image', content: 'https://wireupyourfrontend.com/assets/logo.png' }],
// ['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: `/assets/apple-touch-icon.png` }],
// ['link', { rel: 'mask-icon', href: '/assets/safari-pinned-tab.svg', color: color }],
// ['meta', { name: 'msapplication-TileImage', content: '/assets/mstile-150x150.png' }],
// ['meta', { name: 'msapplication-TileColor', content: color }],
],
2019-08-02 16:07:50 +02:00
},
postcss: {
plugins: [
require('postcss-import'),
require('tailwindcss'),
require('postcss-nested'),
require('autoprefixer')
]
},
plugins: [
'@vuepress/plugin-nprogress',
]
}