import { defineConfig } from 'vitepress' const ogUrl = 'https://lona.js.org/' const ogImage = `${ogUrl}og.png#1` const title = 'LonaDB' const description = 'JSON based Database written in JavaScript' // https://vitepress.dev/reference/site-config export default defineConfig({ head: [ ['link', { rel: 'icon', href: '/favicon.svg', type: 'image/svg+xml' }], ['link', { rel: 'alternate icon', href: '/favicon.ico', type: 'image/png', sizes: '16x16' }], ['meta', { name: 'author', content: 'Keksi' }], ['meta', { property: 'og:type', content: 'website' }], ['meta', { name: 'og:title', content: title }], ['meta', { name: 'og:description', content: description }], ['meta', { property: 'og:image', content: ogImage }], ['meta', { name: 'twitter:title', content: title }], ['meta', { name: 'twitter:card', content: 'summary_large_image' }], ['meta', { name: 'twitter:image', content: ogImage }], ['meta', { name: 'twitter:site', content: '@keksiqc' }], ['meta', { name: 'twitter:url', content: ogUrl }], ], title: "LonaDB", description: "JSON based Database written in JavaScript", themeConfig: { logo: 'https://raw.githubusercontent.com/LonaDB/Website/main/.vitepress/logo_lonadb.png', search: { provider: 'local' }, nav: [ { text: 'Home', link: '/' }, { text: 'Guide', link: '/guide/getting-started' }, { text: 'Examples', link: '/guide/examples' }, ], sidebar: [ { text: 'Introduction', items: [ { text: 'Getting Started', link: '/guide/getting-started' }, { text: 'Deploy', link: '/guide/deploy' } ] }, { text: 'Guide', items: [ { text: 'Examples', link: '/guide/examples' } ] } ], socialLinks: [ { icon: 'github', link: 'https://github.com/LonaDB/Server' } ] } })