docs: added "Customers Overview" documentation (#2083)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2022-08-23 17:22:57 +03:00
1 parent b87b83c7d3
commit 136a98ea07
5 files changed
+79 -6

No files matched your search

+11
View File
@@ -516,6 +516,17 @@ module.exports = {
}
]
},
{
type: "category",
collapsed: false,
label: "Customers",
items: [
{
type: "doc",
id: "user-guide/customers/index"
}
]
},
],
servicesSidebar: [
{
+5 -4
View File
@@ -1,11 +1,12 @@
import React from 'react';
import {useColorMode} from '@docusaurus/theme-common';
import ThemedImage from '@theme/ThemedImage';
export default function UiIcon ({ lightIcon, darkIcon = '', alt = '' }) {
const {colorMode} = useColorMode();
const icon = colorMode === 'dark' && darkIcon ? darkIcon : lightIcon;
return (
<img src={icon} className="ui-icon" alt={alt} />
<ThemedImage alt={alt} sources={{
light: lightIcon,
dark: darkIcon || lightIcon
}} className="ui-icon" />
)
}