-
Notifications
You must be signed in to change notification settings - Fork 6
/
theme.config.jsx
71 lines (71 loc) · 6.08 KB
/
theme.config.jsx
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
export default {
docsRepositoryBase: 'https://github.com/ravynsoft/wiki/blob/main', // docsRepository: '',
logo: (
<>
<span
className="mr-2 font-extrabold"
style={{ width: "120px", paddingTop: "5px" , paddingRight: "15px" }}
>
<svg viewBox="0 0 73 19">
<path class="cls-1" fill="currentColor" d="M6.236 5V7.61H5.354C3.662 7.61 2.816 8.438 2.816 10.094V14H0.044V5.018H2.654L2.798 6.35C3.218 5.366 4.01 4.874 5.174 4.874C5.534 4.874 5.888 4.916 6.236 5ZM10.0042 14.234C9.05619 14.234 8.30019 13.976 7.73619 13.46C7.18419 12.944 6.90819 12.242 6.90819 11.354C6.90819 10.526 7.19019 9.866 7.75419 9.374C8.33019 8.882 9.15819 8.594 10.2382 8.51L12.7582 8.312V8.168C12.7582 7.268 12.2482 6.818 11.2282 6.818C10.0282 6.818 9.42819 7.238 9.42819 8.078H7.12419C7.12419 7.058 7.50819 6.242 8.27619 5.63C9.05619 5.018 10.0882 4.712 11.3722 4.712C12.6802 4.712 13.6882 5.066 14.3962 5.774C15.1042 6.47 15.4582 7.46 15.4582 8.744V14H13.0102L12.8302 12.812C12.6862 13.22 12.3442 13.562 11.8042 13.838C11.2762 14.102 10.6762 14.234 10.0042 14.234ZM10.9762 12.182C11.5282 12.182 11.9662 12.05 12.2902 11.786C12.6142 11.522 12.7762 11.138 12.7762 10.634V10.148L11.3722 10.274C10.7722 10.322 10.3462 10.424 10.0942 10.58C9.85419 10.724 9.73419 10.94 9.73419 11.228C9.73419 11.864 10.1482 12.182 10.9762 12.182ZM19.6508 14L16.1408 5H19.1288L20.2268 8.15C20.7428 9.674 21.0368 10.628 21.1088 11.012C21.2168 10.46 21.5348 9.506 22.0628 8.15L23.2688 5H26.1488L22.3868 14H19.6508ZM26.5701 18.32V15.998H28.1001C28.5681 15.998 28.9221 15.908 29.1621 15.728C29.4021 15.548 29.6121 15.218 29.7921 14.738L29.9541 14.306L26.3361 5H29.3061L31.2681 10.778L33.4461 5H36.3261L31.7541 15.962C31.3821 16.874 30.9261 17.534 30.3861 17.942C29.8581 18.362 29.1981 18.572 28.4061 18.572C27.7461 18.572 27.1341 18.488 26.5701 18.32ZM40.2398 14H37.4678V5H40.0778L40.2578 5.936C40.8458 5.12 41.7638 4.712 43.0118 4.712C44.0798 4.712 44.9078 5.042 45.4958 5.702C46.0958 6.35 46.3958 7.262 46.3958 8.438V14H43.6238V9.104C43.6238 8.54 43.4798 8.09 43.1918 7.754C42.9038 7.406 42.5198 7.232 42.0398 7.232C41.4878 7.232 41.0498 7.4 40.7258 7.736C40.4018 8.06 40.2398 8.504 40.2398 9.068V14ZM59.2198 2.354C60.4318 3.626 61.0378 5.282 61.0378 7.322C61.0378 9.362 60.4258 11.024 59.2018 12.308C57.9898 13.58 56.4178 14.216 54.4858 14.216C52.5658 14.216 50.9998 13.58 49.7878 12.308C48.5878 11.036 47.9878 9.38 47.9878 7.34C47.9878 5.3 48.5938 3.644 49.8058 2.372C51.0178 1.088 52.5838 0.446 54.5038 0.446C56.4358 0.446 58.0078 1.082 59.2198 2.354ZM57.9598 7.322C57.9598 6.05 57.6538 5.054 57.0418 4.334C56.4298 3.614 55.5898 3.254 54.5218 3.254C53.4418 3.254 52.5958 3.614 51.9838 4.334C51.3718 5.054 51.0658 6.05 51.0658 7.322C51.0658 8.594 51.3718 9.596 51.9838 10.328C52.5958 11.048 53.4418 11.408 54.5218 11.408C55.5898 11.408 56.4298 11.042 57.0418 10.31C57.6538 9.578 57.9598 8.582 57.9598 7.322ZM62.3316 4.55C62.3316 3.35 62.7876 2.366 63.6996 1.598C64.6236 0.818 65.7996 0.428 67.2276 0.428C68.6556 0.428 69.7896 0.8 70.6296 1.544C71.4696 2.276 71.8896 3.272 71.8896 4.532H68.9916C68.9916 4.064 68.8296 3.698 68.5056 3.434C68.1816 3.158 67.7436 3.02 67.1916 3.02C66.5916 3.02 66.1176 3.146 65.7696 3.398C65.4216 3.65 65.2476 3.998 65.2476 4.442C65.2476 4.838 65.3556 5.15 65.5716 5.378C65.7876 5.594 66.1296 5.75 66.5976 5.846L68.5956 6.26C69.7956 6.5 70.6776 6.92 71.2416 7.52C71.8176 8.12 72.1056 8.942 72.1056 9.986C72.1056 11.27 71.6436 12.302 70.7196 13.082C69.7956 13.85 68.5656 14.234 67.0296 14.234C65.5416 14.234 64.3536 13.862 63.4656 13.118C62.5776 12.374 62.1336 11.378 62.1336 10.13H65.0316C65.0316 10.622 65.2056 11 65.5536 11.264C65.9016 11.516 66.3996 11.642 67.0476 11.642C67.7076 11.642 68.2296 11.522 68.6136 11.282C68.9976 11.03 69.1896 10.694 69.1896 10.274C69.1896 9.902 69.0936 9.614 68.9016 9.41C68.7216 9.206 68.4096 9.062 67.9656 8.978L65.9316 8.564C63.5316 8.072 62.3316 6.734 62.3316 4.55Z"/>
</svg>
</span>
</>
),
sidebar: {
titleComponent({ title, type }) {
if (type === 'separator') {
return <span className="cursor-default">{title}</span>
}
return <>{title}</>
},
defaultMenuCollapseLevel: 1,
toggleButton: true,
},
project: {
link: 'https://github.com/ravynsoft/wiki',
},
footer: {
text: (
<span>
Copyright © 2021-2023, RavynSoft™. All rights reserved.
</span>
)
},
head: ({ title, meta }) => {
return (
<>
{/* Favicons, meta */}
<link
rel="apple-touch-icon"
sizes="180x180"
href="/favicon/apple-touch-icon.png"
/>
<link rel="icon" type="image/png" href="/favicon/favicon.png" />
<link rel="manifest" href="/favicon/manifest.json" />
<meta name="Description" content="Explore the ravynOS Wiki for comprehensive details, uncovering all you need to know about ravynOS—an operating system combining the finesse of macOS with the freedom of FreeBSD." />
<meta property="og:image" content="/favicon/open_graph_logo.png" />
<meta property="og:description" content="Explore the ravynOS Wiki for comprehensive details, uncovering all you need to know about ravynOS—an operating system combining the finesse of macOS with the freedom of FreeBSD." />
<meta property="og:url" content="https://wiki.ravynos.com/" />
<meta property="og:locale" content="en_US" />
<meta property="og:site_name" content="ravynOS Wiki" />
<meta property="og:type" content="website" />
<meta name="twitter:site" content="@ravynsoft" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:description" content="Explore the ravynOS Wiki for comprehensive details, uncovering all you need to know about ravynOS—an operating system combining the finesse of macOS with the freedom of FreeBSD." />
<meta
name="og:title"
content={
title + " – ravynOS Wiki"
}
/>
<meta name="apple-mobile-web-app-title" content="ravynOS Wiki" />
</>
);
},
useNextSeoProps() {
return {
titleTemplate: '%s – ravynOS Wiki'
}
},
};