mirror of
https://github.com/wavetermdev/docusaurus-og.git
synced 2026-08-05 13:46:35 -07:00
add Logos as a business unit.
This commit is contained in:
@@ -25,7 +25,7 @@ const config = {
|
||||
'@acid-info/logos-docusaurus-preset',
|
||||
/** @type {import('@acid-info/logos-docusaurus-preset').PluginOptions} */
|
||||
({
|
||||
businessUnit: 'Codex',
|
||||
businessUnit: 'Logos',
|
||||
theme: {
|
||||
name: 'default',
|
||||
options: {
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
import { BusinessUnits, SiteConfig } from '../types/index'
|
||||
import { codexSiteConfig } from './codex'
|
||||
import logosSiteConfig from './logos'
|
||||
import wakuSiteConfig from './waku'
|
||||
|
||||
export const siteConfigs: Record<BusinessUnits, SiteConfig> = {
|
||||
[BusinessUnits.Logos]: logosSiteConfig,
|
||||
[BusinessUnits.Codex]: codexSiteConfig,
|
||||
[BusinessUnits.Waku]: wakuSiteConfig,
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
import { SiteConfig } from '../index'
|
||||
import { BusinessUnits } from '../types'
|
||||
import baseSiteConfig from './base'
|
||||
|
||||
export const logosSiteConfig: SiteConfig = {
|
||||
...baseSiteConfig,
|
||||
title: 'Logos Network State',
|
||||
tagline:
|
||||
'Logos is a grassroots movement to provide trust-minimized, corruption resistant governing services and social institutions to underserved citizens.',
|
||||
url: 'https://logos.co',
|
||||
customFields: {
|
||||
businessUnits: BusinessUnits.Logos,
|
||||
},
|
||||
}
|
||||
|
||||
export default logosSiteConfig
|
||||
@@ -1,9 +1,11 @@
|
||||
import { ThemeConfig } from '@docusaurus/types'
|
||||
import { BusinessUnits } from '../types'
|
||||
import codexThemeConfig from './codex'
|
||||
import logosThemeConfig from './logos'
|
||||
import wakuThemeConfig from './waku'
|
||||
|
||||
export const themeConfigs: Record<BusinessUnits, ThemeConfig> = {
|
||||
[BusinessUnits.Logos]: logosThemeConfig,
|
||||
[BusinessUnits.Codex]: codexThemeConfig,
|
||||
[BusinessUnits.Waku]: wakuThemeConfig,
|
||||
}
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
import baseThemeConfig from './base'
|
||||
|
||||
export const logosThemeConfig: typeof baseThemeConfig = {
|
||||
...baseThemeConfig,
|
||||
navbar: {
|
||||
...baseThemeConfig.navbar,
|
||||
logo: {
|
||||
alt: 'Logos',
|
||||
src: 'theme/image/logo.svg',
|
||||
height: 26,
|
||||
},
|
||||
items: [
|
||||
{
|
||||
type: 'localeDropdown',
|
||||
position: 'right',
|
||||
},
|
||||
],
|
||||
},
|
||||
metadata: [
|
||||
{ name: 'keywords', content: 'Logos' },
|
||||
{
|
||||
name: 'description',
|
||||
content:
|
||||
'Logos is a grassroots movement to provide trust-minimized, corruption resistant governing services and social institutions to underserved citizens.',
|
||||
},
|
||||
{ name: 'image', content: 'theme/image/preview-image.png' },
|
||||
],
|
||||
footer: {
|
||||
...baseThemeConfig.footer,
|
||||
copyright: `Logos, ${new Date().getFullYear()}`,
|
||||
logo: {
|
||||
alt: 'Logos',
|
||||
src: 'theme/image/logo.svg',
|
||||
href: '/',
|
||||
width: 22,
|
||||
},
|
||||
links: [
|
||||
{
|
||||
title: 'Community',
|
||||
items: [],
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
|
||||
export default logosThemeConfig
|
||||
@@ -6,6 +6,7 @@ export enum ThemeNames {
|
||||
}
|
||||
|
||||
export enum BusinessUnits {
|
||||
Logos = 'Logos',
|
||||
Codex = 'Codex',
|
||||
Waku = 'Waku',
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ import { BusinessUnits, PluginOptions, ThemeNames } from './types'
|
||||
const schema = Joi.object<PluginOptions>({
|
||||
businessUnit: Joi.string()
|
||||
.valid(...Object.values(BusinessUnits))
|
||||
.required(),
|
||||
.default(BusinessUnits.Logos),
|
||||
|
||||
theme: Joi.object()
|
||||
.schema({
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
@@ -0,0 +1,5 @@
|
||||
<svg width="151" height="182" viewBox="0 0 151 182" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M150.78 181.217H0.396484V87.2813H150.638L150.78 181.217ZM75.4223 94.8172C62.5866 94.8307 49.9528 98.0537 38.6423 104.2C27.3319 110.346 17.6947 119.225 10.5863 130.049C9.6459 131.149 9.12824 132.555 9.12824 134.009C9.12824 135.464 9.6459 136.87 10.5863 137.969C17.7404 148.744 27.3959 157.575 38.7057 163.689C50.0155 169.803 62.634 173.013 75.4541 173.036C88.2742 173.06 100.904 169.897 112.236 163.825C123.568 157.753 133.255 148.957 140.448 138.209C141.474 137.048 142.041 135.544 142.041 133.985C142.041 132.427 141.474 130.923 140.448 129.761C133.275 118.981 123.589 110.158 112.247 104.071C100.906 97.9848 88.2577 94.8229 75.4223 94.8652V94.8172Z" fill="black"/>
|
||||
<path d="M75.8491 78.497C63.0955 78.4712 50.5382 75.3133 39.2541 69.2941C27.97 63.2748 18.2956 54.5739 11.0604 43.937C9.85407 42.6374 9.18244 40.9208 9.18244 39.137C9.18244 37.3533 9.85407 35.6367 11.0604 34.337C18.2916 23.7194 27.9724 15.0497 39.2623 9.08089C50.5523 3.11204 63.1102 0.024374 75.8457 0.0858616C88.5813 0.147349 101.11 3.35618 112.343 9.43377C123.576 15.5114 133.175 24.2739 140.306 34.9609C141.328 36.1147 141.894 37.6105 141.894 39.1609C141.894 40.7113 141.328 42.2071 140.306 43.3609C133.184 54.0752 123.594 62.8729 112.364 68.9944C101.134 75.1159 88.6017 78.3773 75.8491 78.497ZM103.907 39.6169C104.039 33.8941 102.484 28.2613 99.4401 23.4375C96.3967 18.6138 92.0029 14.8182 86.8198 12.535C81.6366 10.2518 75.8992 9.58463 70.34 10.6188C64.7808 11.653 59.652 14.3416 55.6084 18.3413C51.5648 22.341 48.7898 27.4704 47.6377 33.0746C46.4856 38.6788 47.0088 44.5036 49.1402 49.8053C51.2716 55.1071 54.9147 59.6454 59.6044 62.8407C64.2941 66.036 69.8176 67.7434 75.4698 67.745C82.8982 67.7471 90.0325 64.8052 95.3467 59.5486C100.661 54.2921 103.733 47.1381 103.907 39.6169Z" fill="black"/>
|
||||
<path d="M75.5634 162.352C70.052 162.258 64.6911 160.516 60.1544 157.345C55.6177 154.174 52.1076 149.716 50.0651 144.53C48.0226 139.345 47.5387 133.664 48.6744 128.201C49.8102 122.739 52.5148 117.738 56.4484 113.827C60.382 109.916 65.3692 107.27 70.7832 106.221C76.1973 105.172 81.7966 105.767 86.8778 107.931C91.9589 110.095 96.2951 113.732 99.3416 118.385C102.388 123.037 104.009 128.498 104 134.08C103.988 137.834 103.241 141.548 101.801 145.007C100.361 148.467 98.2573 151.602 95.6123 154.232C92.9672 156.861 89.8332 158.933 86.3916 160.327C82.9501 161.721 79.2695 162.41 75.5634 162.352Z" fill="black"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
Reference in New Issue
Block a user