fix(dev): Remove theme picker from sidebar
This commit is contained in:
parent
dc9073f7fc
commit
9131f736b2
1 changed files with 1 additions and 2 deletions
|
@ -2,7 +2,6 @@ import { useRouter } from 'next/router'
|
||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
// Shared components
|
// Shared components
|
||||||
import Aside from 'shared/components/navigation/aside'
|
import Aside from 'shared/components/navigation/aside'
|
||||||
import ThemePicker from 'shared/components/theme-picker'
|
|
||||||
import Breadcrumbs from 'shared/components/breadcrumbs.js'
|
import Breadcrumbs from 'shared/components/breadcrumbs.js'
|
||||||
import { getCrumbs } from 'shared/utils'
|
import { getCrumbs } from 'shared/utils'
|
||||||
|
|
||||||
|
@ -15,7 +14,7 @@ const DefaultLayout = ({ app, title=false, crumbs=false, children=[] }) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="m-auto flex flex-row justify-center">
|
<div className="m-auto flex flex-row justify-center">
|
||||||
<Aside app={app} slug={slug} before={<ThemePicker app={app} className="block sm:hidden"/>}/>
|
<Aside app={app} slug={slug}/>
|
||||||
<section className="py-28 md:py-36 max-w-7xl px-6 xl:pl-8 2xl:pl-16">
|
<section className="py-28 md:py-36 max-w-7xl px-6 xl:pl-8 2xl:pl-16">
|
||||||
<div>
|
<div>
|
||||||
{title && (
|
{title && (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue