import {
Box,
List,
ListItem,
ListItemButton,
ListItemIcon,
ListItemText,
Divider,
Drawer,
Toolbar,
Typography,
Link,
} from '@mui/material'
import { JSX } from 'react'
import Image from 'next/image'
import ExploreIcon from '@mui/icons-material/Explore'
import PhotoLibraryIcon from '@mui/icons-material/PhotoLibrary'
import AppsIcon from '@mui/icons-material/Apps'
import NextLink from 'next/link'
import { useRouter } from 'next/router'
export interface NavLink {
title: string
icon?: JSX.Element
href: string
}
export function CapDrawer({ width, open, onClose }: { width: number; open: boolean; onClose: () => void }) {
const router = useRouter()
const functionLinks: NavLink[] = [
{
title: 'Explore',
icon: ,
href: '/posts',
},
{
title: 'Gallery',
icon: ,
href: '/attachments',
},
{
title: 'Matrix',
icon: ,
href: '/matrix',
},
]
const additionalLinks: NavLink[] = [
{
title: 'Terms & Conditions',
href: '/terms',
},
]
return (
Solsynth LLC
Capital
{functionLinks.map((l) => (
{l.icon}
))}
{additionalLinks.map((l) => (
{l.title}
))}
)
}