assembly.logos.co/docusaurus.config.js

117 lines
2.8 KiB
JavaScript

// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
require('dotenv').config()
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'assembly.logos.co',
url: 'https://assembly.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} */
({
customSiteConfig: true,
businessUnit: 'Logos',
theme: {
name: 'default',
options: {
customCss: [require.resolve('./src/css/custom.scss')],
},
},
docs: {
id: 'root-pages',
routeBasePath: '/',
path: 'root-pages',
},
og: {},
}),
],
],
plugins: [],
themeConfig:
/** @type {import('@acid-info/logos-docusaurus-preset').ThemeConfig} */
({
colorMode: {
disableSwitch: false,
respectPrefersColorScheme: true,
},
navbar: {
items: [],
},
footer: {
copyright: 'Logos',
links: [
{
items: [
{
href: 'https://twitter.com/@logos_network',
label: 'Twitter',
},
{
href: 'https://lenster.xyz/u/logos-state',
label: 'Lens',
},
{
href:
'https://astral.ninja/npub1ljkmma77fqr79f8wp28hx68lwkymmqztrsyaepdadujz252fak2sxxw4sl',
label: 'Nostr',
},
{
href: 'https://github.com/logos-co',
label: 'Github',
},
],
},
{
items: [
{
href: 'https://boards.greenhouse.io/logos',
label: 'Work with us',
},
{
href: 'https://guide.logos.co/',
label: 'Brand Guidelines',
},
{
href: '/terms',
label: 'Terms & conditions',
},
{
href: '/privacy-policy',
label: 'Privacy Policy',
},
],
},
],
},
}),
stylesheets: [
{
href: 'https://cdn.jsdelivr.net/npm/katex@0.13.24/dist/katex.min.css',
type: 'text/css',
integrity:
'sha384-odtC+0UGzzFL/6PNoE8rX/SPcQDXBJ+uRepguP4QkPCm2LBxH3FA3y+fKSiJ+AmM',
crossorigin: 'anonymous',
},
],
}
module.exports = config