import Wrap from '@/components/wrap'
import {Children} from '@/lib/utils'
import Sidebar from './sidebar'
import HomePage from '@/components/home/page'

export default function DocsLayout(props: Children) {
  return (
    <HomePage path={[
      {label: '帮助中心', href: '/docs'},
    ]}>
      <Wrap className="flex gap-3">
        <Sidebar/>
        <div className="flex-1 bg-white  rounded-lg p-6 min-h-[420px]">
          {props.children}
        </div>
      </Wrap>
    </HomePage>
  )
}
