diff --git a/packages/docs/src/components/layout/Header.tsx b/packages/docs/src/components/layout/Header.tsx index bee22bfb7..815f55fe5 100644 --- a/packages/docs/src/components/layout/Header.tsx +++ b/packages/docs/src/components/layout/Header.tsx @@ -14,7 +14,6 @@ import releases from '../../lib/releases'; import Logo from './Logo'; import NavigationDrawer from './mobile-drawer/NavigationDrawer'; import Search from './search/Search'; -import SponsorButton from './SponsorButton'; import type { PaletteMode } from '@mui/material'; import type { ButtonTypeMap } from '@mui/material/Button'; @@ -213,13 +212,6 @@ const Header = ({ mode, docsGroups, searchablePages, toggleColorMode }: HeaderPr - {items.map(item => { let url = '#'; @@ -242,10 +234,6 @@ const Header = ({ mode, docsGroups, searchablePages, toggleColorMode }: HeaderPr ); })} - {/* - Blog - */} - ; -} - -const SponsorButton = ({ sx }: SponsorButtonProps) => { - const theme = useTheme(); - - return ( - - ); -}; - -export default SponsorButton; diff --git a/packages/docs/src/components/layout/mobile-drawer/NavigationDrawer.tsx b/packages/docs/src/components/layout/mobile-drawer/NavigationDrawer.tsx index a76c6cc4c..3038aca76 100644 --- a/packages/docs/src/components/layout/mobile-drawer/NavigationDrawer.tsx +++ b/packages/docs/src/components/layout/mobile-drawer/NavigationDrawer.tsx @@ -5,7 +5,6 @@ import SwipeableDrawer from '@mui/material/SwipeableDrawer'; import { useMemo } from 'react'; import Logo from '../Logo'; -import SponsorButton from '../SponsorButton'; import MobileNavItem from './MobileNavItem'; import type { MenuItem } from '../../../interface'; @@ -50,7 +49,6 @@ const NavigationDrawer = ({ items, mobileOpen, onMobileOpenToggle }: NavigationD - {items.map(item => (