import clsx from 'clsx' import { Anchor } from 'components/Anchor' import { useWallet } from 'contexts/wallet' import { useRouter } from 'next/router' // import BrandText from 'public/brand/brand-text.svg' import { footerLinks, socialsLinks } from 'utils/links' import { SidebarLayout } from './SidebarLayout' import { WalletLoader } from './WalletLoader' const routes = [ { text: 'Create Collection', href: `/collections/create/` }, { text: 'Collections', href: `/collections/` }, { text: 'Contract Dashboards', href: `/contracts/` }, ] export const Sidebar = () => { const router = useRouter() const wallet = useWallet() return ( {/* Stargaze brand as home button */} [e.preventDefault(), router.push('/brand')]}> Brand Text {/* wallet button */} {/* main navigation routes */} {routes.map(({ text, href }) => ( {text} ))}
{/* Stargaze network status */}
Network: {wallet.network}
{/* footer reference links */}
    {footerLinks.map(({ href, text }) => (
  • {text}
  • ))}
{/* footer attribution */}
Stargaze Studio {process.env.APP_VERSION}
Made by{' '} deus labs
{/* footer social links */}
{socialsLinks.map(({ Icon, href, text }) => ( ))}
) }