File tree Expand file tree Collapse file tree 3 files changed +18
-17
lines changed Expand file tree Collapse file tree 3 files changed +18
-17
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ import type { WrapperProps } from '@docusaurus/types' ;
2
+ import { Carbon } from '@site/src/components/carbon' ;
3
+ import Footer from '@theme-original/Footer' ;
4
+ import type FooterType from '@theme/Footer' ;
5
+ import type { ReactNode } from 'react' ;
6
+
7
+ type Props = WrapperProps < typeof FooterType > ;
8
+
9
+ export default function FooterWrapper ( props : Props ) : ReactNode {
10
+ return (
11
+ < >
12
+ < div className = 'max-w-80 mx-auto lg:absolute lg:bottom-0 lg:right-5 -z-10' >
13
+ < Carbon />
14
+ </ div >
15
+ < Footer { ...props } />
16
+ </ >
17
+ ) ;
18
+ }
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ export default function TOCItemsWrapper(props: Props): ReactNode {
10
10
return (
11
11
< >
12
12
< TOCItems { ...props } />
13
- < Carbon />
14
13
</ >
15
14
) ;
16
15
}
You can’t perform that action at this time.
0 commit comments