Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
Merge branch 'v4'
Browse files Browse the repository at this point in the history
  • Loading branch information
KaneFreeman committed Sep 9, 2024
2 parents fc044f7 + afd801a commit 1002760
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 43 deletions.
12 changes: 0 additions & 12 deletions packages/docs/src/components/layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -213,13 +212,6 @@ const Header = ({ mode, docsGroups, searchablePages, toggleColorMode }: HeaderPr
<IconButton href="https://github.com/StaticJsCMS/static-cms" color="inherit">
<GitHubIcon />
</IconButton>
<SponsorButton
sx={{
display: 'none',
marginLeft: '8px',
[theme.breakpoints.only('md')]: { display: 'inline-flex' },
}}
/>
</StyledIconsWrapper>
{items.map(item => {
let url = '#';
Expand All @@ -242,10 +234,6 @@ const Header = ({ mode, docsGroups, searchablePages, toggleColorMode }: HeaderPr
</StyledDesktopLink>
);
})}
{/*
<StyledDesktopLink component={Link} href="/blog">Blog</StyledDesktopLink>
*/}
<SponsorButton sx={{ [theme.breakpoints.down('lg')]: { display: 'none' } }} />
</StyledToolbar>
</StyledAppBar>
<NavigationDrawer
Expand Down
29 changes: 0 additions & 29 deletions packages/docs/src/components/layout/SponsorButton.tsx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -50,7 +49,6 @@ const NavigationDrawer = ({ items, mobileOpen, onMobileOpenToggle }: NavigationD
<StyledLogoWrapper key="drawer-nav-logo-wrapper">
<Logo key="drawer-nav-logo" inMenu />
</StyledLogoWrapper>
<SponsorButton sx={{ margin: '16px', marginTop: 0 }} />
<Divider key="drawer-nav-divider" sx={{ borderColor: 'rgba(255, 255, 255, 0.8)' }} />
<List key="drawer-nav-list" sx={{ flexGrow: 1 }}>
{items.map(item => (
Expand Down

0 comments on commit 1002760

Please sign in to comment.