diff --git a/website/src/theme/DocSidebarItem/index.js b/website/src/theme/DocSidebarItem/index.js new file mode 100644 index 000000000..72c84e3fd --- /dev/null +++ b/website/src/theme/DocSidebarItem/index.js @@ -0,0 +1,18 @@ +import React from 'react'; +import DocSidebarItem from '@theme-original/DocSidebarItem'; +import CarbonAds from '@site/src/components/CarbonAds'; + +export default function DocSidebarItemWrapper(props) { + if (props.item.value === 'CarbonAds') { + return ( + <> + + + ); + } + return ( + <> + + + ); +}