logos.co/docusaurus.config.js

114 lines
2.7 KiB
JavaScript
Raw Normal View History

2023-06-01 10:58:21 +00:00
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
require('dotenv').config()
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'Logos',
url: 'https://logos.co/',
baseUrl: '/',
markdown: {
mermaid: true,
},
// Even if you don't use internalization, you can use this field to set useful
// metadata like html lang. For example, if your site is Chinese, you may want
// to replace "en" with "zh-Hans".
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
presets: [
[
'@acid-info/logos-docusaurus-preset',
/** @type {import('@acid-info/logos-docusaurus-preset').PluginOptions} */
({
businessUnit: 'Logos',
theme: {
name: 'default',
options: {
customCss: [require.resolve('./src/css/custom.scss')],
},
},
docs: {
2024-05-14 14:49:57 +00:00
id: 'root-pages',
routeBasePath: '/',
path: 'docs',
2023-10-10 13:51:28 +00:00
sidebarPath: './sidebars.js',
breadcrumbs: false,
2023-06-01 10:58:21 +00:00
},
og: {},
2023-06-01 10:58:21 +00:00
}),
],
2024-02-13 20:00:00 +00:00
[
'@acid-info/docusaurus-fathom',
{
2024-02-14 11:44:24 +00:00
siteId: 'GSUEA',
2024-02-14 11:47:39 +00:00
scriptUrl: 'https://fathom.bi.status.im/tracker.js',
2024-02-13 20:00:00 +00:00
},
],
2023-06-01 10:58:21 +00:00
],
themeConfig:
/** @type {import('@acid-info/logos-docusaurus-preset').ThemeConfig} */
2023-06-02 19:29:21 +00:00
({
2023-11-28 13:13:47 +00:00
colorMode: {
disableSwitch: false,
respectPrefersColorScheme: true,
},
2023-06-02 19:29:21 +00:00
footer: {
2024-05-03 11:48:45 +00:00
copyright: 'Logos',
2023-06-02 19:29:21 +00:00
links: [
{
2023-06-09 15:52:37 +00:00
items: [
2023-07-18 09:16:48 +00:00
{
2023-10-24 15:36:21 +00:00
href: 'https://twitter.com/@logos_network',
2023-07-18 09:16:48 +00:00
label: 'Twitter',
},
2024-05-03 11:46:37 +00:00
{
href: 'https://discord.gg/logosnetwork',
label: 'Discord',
},
2023-07-26 09:23:38 +00:00
{
href: 'https://lenster.xyz/u/logos-state',
label: 'Lens',
},
2024-05-14 14:49:57 +00:00
{
href: '/events',
label: 'Events',
},
2023-07-18 09:16:48 +00:00
{
href: 'https://github.com/logos-co',
label: 'Github',
},
2023-07-26 09:23:38 +00:00
],
},
{
items: [
{
2023-11-17 14:08:10 +00:00
href: 'https://boards.greenhouse.io/logos',
2023-07-26 09:23:38 +00:00
label: 'Work with us',
},
{
href: 'https://guide.logos.co/',
label: 'Brand Guidelines',
},
2023-06-09 15:52:37 +00:00
{
href: '/terms',
label: 'Terms & conditions',
2023-07-26 09:23:38 +00:00
},
2024-02-02 12:38:46 +00:00
{
href: '/privacy-policy',
label: 'Privacy Policy',
},
2023-06-09 15:52:37 +00:00
],
2023-06-02 19:29:21 +00:00
},
],
},
}),
2023-06-01 10:58:21 +00:00
}
module.exports = config