Improve documentation (#349)

* Improve documentation content
* Improve documentation style
This commit is contained in:
Félix Malfait
2023-06-21 16:23:31 -07:00
committed by GitHub
parent e679f45615
commit a65853dc2e
31 changed files with 15592 additions and 2194 deletions

View File

@ -0,0 +1,9 @@
import React from 'react';
import { TbMoon } from 'react-icons/tb';
import {useColorMode} from '@docusaurus/theme-common';
export default function IconDarkMode(props) {
const { colorMode } = useColorMode().colorMode;
return colorMode === 'dark' ? <TbMoon /> : <></>;
}

View File

@ -0,0 +1,5 @@
import React from 'react';
import { TbHome } from 'react-icons/tb';
export default function IconHome(props) {
return <TbHome size={14} />;
}

View File

@ -0,0 +1,9 @@
import React from 'react';
import { TbSun } from 'react-icons/tb';
import {useColorMode} from '@docusaurus/theme-common';
export default function IconLightMode(props) {
const { colorMode } = useColorMode().colorMode;
return colorMode === 'dark' ? <></>: <TbSun /> ;
}