import { Box, Stack } from "@chakra-ui/react"
import Card from "components/card"
import { useRouter } from "next/router"
import * as React from "react"
import { Route } from "src/types/route"
import SidebarLink from "./sidebar-link"
export function SidebarContent(props) {
const { routes, pathname, contentRef } = props
return (
<>
{routes.map((route:Route) => {
if (route.disabled) {return null}
return
{route.title}
})}
>
)
}
const Sidebar = ({ routes, ...props }) => {
const { pathname } = useRouter()
const ref = React.useRef(null)
return (
)
}
export default Sidebar