2023-06-11 19:11:44 +00:00
|
|
|
import { defineConfig } from 'vitepress'
|
|
|
|
|
2023-06-25 09:56:05 +00:00
|
|
|
const ogUrl = 'https://lona.js.org/'
|
|
|
|
const ogImage = `${ogUrl}og.png#1`
|
2024-02-02 14:38:22 +00:00
|
|
|
const title = 'Lona Development'
|
2023-06-25 09:56:05 +00:00
|
|
|
const description = 'JSON based Database written in JavaScript'
|
|
|
|
|
2023-06-11 19:11:44 +00:00
|
|
|
// https://vitepress.dev/reference/site-config
|
|
|
|
export default defineConfig({
|
2023-06-25 09:56:05 +00:00
|
|
|
head: [
|
|
|
|
['link', { rel: 'icon', href: '/favicon.svg', type: 'image/svg+xml' }],
|
2023-08-14 08:22:08 +00:00
|
|
|
['meta', { name: 'theme-color', content: '#86EFAC' }],
|
2024-02-02 14:38:22 +00:00
|
|
|
['meta', { name: 'author', content: 'Lona Devs' }],
|
2023-06-25 09:56:05 +00:00
|
|
|
['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 }],
|
2024-02-02 14:38:22 +00:00
|
|
|
['meta', { name: 'twitter:site', content: '@lona_devs' }],
|
2023-06-25 09:56:05 +00:00
|
|
|
['meta', { name: 'twitter:url', content: ogUrl }],
|
|
|
|
],
|
2024-02-02 14:38:22 +00:00
|
|
|
title: "Lona Development",
|
|
|
|
description: "JSON based and written in PHP",
|
2023-06-11 19:11:44 +00:00
|
|
|
themeConfig: {
|
2023-06-25 09:58:21 +00:00
|
|
|
logo: '/favicon.svg',
|
2023-06-11 19:11:44 +00:00
|
|
|
search: {
|
|
|
|
provider: 'local'
|
|
|
|
},
|
|
|
|
|
|
|
|
nav: [
|
2024-02-02 14:38:22 +00:00
|
|
|
{ text: 'Home', link: 'https://lona-development.org/' },
|
|
|
|
{ text: 'Guide', link: '/guide/getting-started' }
|
2023-06-11 19:11:44 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
sidebar: [
|
|
|
|
{
|
|
|
|
text: 'Introduction',
|
|
|
|
items: [
|
2024-02-02 14:38:22 +00:00
|
|
|
{ text: 'Getting Started', link: '/guide/getting-started' }
|
2023-06-11 19:11:44 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
|
|
|
|
socialLinks: [
|
2023-08-12 09:54:12 +00:00
|
|
|
{ icon: 'discord', link: 'https://discord.gg/tBWVGQt8sP' },
|
|
|
|
{ icon: 'github', link: 'https://github.com/LonaDB/Server' }
|
2023-06-11 19:11:44 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
})
|