11import { useThemeConfig } from '@docusaurus/theme-common' ;
22import LinkItem from '@theme/Footer/LinkItem' ;
3+ import ColorModeToggle from '@theme/Navbar/ColorModeToggle' ;
34import clsx from 'clsx' ;
45import React from 'react' ;
56
@@ -8,7 +9,7 @@ import styles from './index.module.css';
89function FooterLinksColumn ( { column } ) {
910 return (
1011 < >
11- < div className = { styles . footerTitle } > { column . title } </ div >
12+ < div className = { styles . title } > { column . title } </ div >
1213 < ul className = { clsx ( styles . footerItem , 'clean-list' ) } >
1314 { column . items . map ( ( item , i ) => (
1415 < li key = { i } className = "footer__item" >
@@ -28,21 +29,24 @@ function Footer() {
2829 const { links, style } = footer ;
2930 return (
3031 < footer className = { clsx ( styles . footer , style ) } >
31- < div className = " container padding-horiz--lg" >
32- < div className = "row" style = { { justifyContent : 'space-between' } } >
32+ < div className = { styles . container } >
33+ < div className = { clsx ( 'row' , styles . top ) } >
3334 { links . map ( ( column , i ) => (
3435 < div key = { i } className = { `col col--2` } >
3536 < FooterLinksColumn { ...{ column } } />
3637 </ div >
3738 ) )
3839 }
3940 </ div >
40- < div className = " row padding-vert--md padding-top--lg" >
41- < div className = "col padding-vert--md col--6" >
41+ < div className = { clsx ( ' row' , styles . bottom ) } >
42+ < div className = "col col--6" >
4243 < a href = "https://apify.com" target = { '_blank' } rel = { 'dofollow noreferrer' } >
43- < span className = { styles . footerLogo } > </ span >
44+ < span className = { styles . logo } > </ span >
4445 </ a >
4546 </ div >
47+ < div className = "col col--6" >
48+ < ColorModeToggle className = { styles . toggle } />
49+ </ div >
4650 </ div >
4751 </ div >
4852 </ footer >
0 commit comments