-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.config.tsx
74 lines (71 loc) · 3.64 KB
/
theme.config.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
import React from 'react';
import { DocsThemeConfig } from 'nextra-theme-docs';
import logo from './public/assets/logo.svg';
const config: DocsThemeConfig = {
sidebar: {
defaultMenuCollapseLevel: 1,
autoCollapse: true,
},
logo: (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 122.74 30" width={150}>
<path
fill="currentColor"
style={{ opacity: 0.8 }}
d="M63.72,7.32v14.87h-2.98V12.52l-3.98,9.67h-2.26l-4.01-9.67v9.67h-2.98V7.32h3.39l4.73,11.06,4.73-11.06h3.37Z"
/>
<path
fill="currentColor"
style={{ opacity: 0.8 }}
d="M66.08,13.07c.48-.92,1.12-1.63,1.94-2.13s1.73-.75,2.74-.75c.88,0,1.65,.18,2.31,.53,.66,.36,1.19,.8,1.59,1.34v-1.68h3v11.8h-3v-1.73c-.38,.55-.91,1.01-1.59,1.37-.67,.36-1.45,.54-2.33,.54-.99,0-1.9-.26-2.72-.77s-1.46-1.23-1.94-2.16c-.48-.93-.71-2-.71-3.21s.24-2.25,.71-3.17Zm8.15,1.35c-.28-.52-.67-.92-1.15-1.19-.48-.28-1-.42-1.56-.42s-1.06,.14-1.53,.4c-.47,.27-.85,.66-1.14,1.18-.29,.52-.44,1.13-.44,1.84s.15,1.33,.44,1.86,.67,.94,1.15,1.23c.48,.28,.98,.43,1.52,.43s1.07-.14,1.56-.42c.48-.28,.87-.67,1.15-1.19,.28-.52,.43-1.14,.43-1.86s-.14-1.35-.43-1.86Z"
/>
<path
fill="currentColor"
style={{ opacity: 0.8 }}
d="M79.99,13.07c.48-.92,1.13-1.63,1.95-2.13s1.74-.75,2.75-.75c.77,0,1.5,.17,2.19,.5,.7,.33,1.25,.78,1.66,1.33V6.42h3.03v15.77h-3.03v-1.75c-.37,.58-.89,1.05-1.56,1.41-.67,.35-1.44,.53-2.32,.53-.99,0-1.9-.26-2.73-.77s-1.47-1.23-1.95-2.16c-.48-.93-.71-2-.71-3.21s.24-2.25,.71-3.17Zm8.15,1.35c-.28-.52-.67-.92-1.15-1.19-.48-.28-1-.42-1.56-.42s-1.06,.14-1.53,.4c-.47,.27-.85,.66-1.14,1.18-.29,.52-.44,1.13-.44,1.84s.15,1.33,.44,1.86,.67,.94,1.15,1.23c.48,.28,.98,.43,1.52,.43s1.07-.14,1.56-.42c.48-.28,.87-.67,1.15-1.19,.28-.52,.43-1.14,.43-1.86s-.14-1.35-.43-1.86Z"
/>
<path
fill="currentColor"
style={{ opacity: 0.8 }}
d="M96.13,21.62c-.91-.5-1.62-1.22-2.14-2.14-.52-.92-.78-1.99-.78-3.2s.27-2.27,.8-3.2,1.26-1.64,2.18-2.14,1.95-.76,3.09-.76,2.17,.25,3.09,.76c.92,.5,1.65,1.22,2.18,2.14s.8,1.99,.8,3.2-.27,2.27-.82,3.2c-.55,.92-1.29,1.64-2.22,2.14s-1.97,.76-3.12,.76-2.16-.25-3.07-.76Zm4.59-2.24c.48-.26,.86-.66,1.14-1.18,.28-.53,.43-1.16,.43-1.92,0-1.12-.29-1.98-.88-2.59-.59-.6-1.31-.91-2.16-.91s-1.57,.3-2.14,.91c-.58,.6-.86,1.47-.86,2.59s.28,1.99,.84,2.59c.56,.6,1.27,.91,2.12,.91,.54,0,1.05-.13,1.52-.39Z"
/>
<path
fill="currentColor"
style={{ opacity: 0.8 }}
d="M106.99,13.08c.5-.92,1.19-1.63,2.07-2.13,.88-.5,1.89-.76,3.03-.76,1.46,0,2.67,.37,3.63,1.1,.96,.73,1.6,1.76,1.93,3.08h-3.22c-.17-.51-.46-.91-.86-1.2-.4-.29-.91-.44-1.5-.44-.85,0-1.53,.31-2.02,.93-.5,.62-.75,1.5-.75,2.63s.25,1.99,.75,2.61c.5,.62,1.17,.93,2.02,.93,1.21,0,2-.54,2.37-1.62h3.22c-.33,1.28-.97,2.29-1.94,3.05-.97,.75-2.17,1.13-3.62,1.13-1.14,0-2.15-.25-3.03-.76-.88-.5-1.57-1.21-2.07-2.13s-.75-1.98-.75-3.21,.25-2.29,.75-3.21Z"
/>
<rect
x="7.18"
fill="#6057a1"
y="5.99"
width="17.04"
height="17.41"
transform="translate(-5.8 15.41) rotate(-45)"
/>
<rect
fill="#6057a1"
x="18.25"
y="6.11"
width="17.04"
height="17.41"
transform="translate(-2.64 23.27) rotate(-45)"
/>
<rect
fill="#4a417f"
x="16.57"
y="9.99"
width="9.33"
height="9.54"
transform="translate(-4.22 19.34) rotate(-45)"
/>
</svg>
),
project: {
link: 'https://github.com/digirati-co-uk/madoc-platform',
},
primaryHue: 252,
docsRepositoryBase: 'https://github.com/digirati-co-uk/madoc-docs',
footer: {
text: 'Madoc',
},
};
export default config;