import Head from 'next/head';
import * as React from 'react';
import * as SVG from '~/common/svg';
import * as Constants from '~/common/constants';
import { css } from '@emotion/react';
const STYLES_PAGE = css`
background-color: ${Constants.system.foreground};
`;
const STYLES_BODY = css`
max-width: 960px;
width: 100%;
margin: 0 auto 0 auto;
padding: 88px 24px 128px 276px;
`;
const STYLES_ICON_ELEMENT = css`
height: 40px;
width: 40px;
border-radius: 40px;
display: inline-flex;
align-items: center;
justify-content: center;
background-color: ${Constants.system.brand};
color: ${Constants.system.white};
user-select: none;
`;
const STYLES_SIDEBAR = css`
padding: 80px 24px 128px 24px;
position: fixed;
top: 0;
left: 0;
bottom: 0;
width: 252px;
background-color: ${Constants.system.foreground};
overflow-y: scroll;
::-webkit-scrollbar {
width: 4px;
}
::-webkit-scrollbar-track {
background: ${Constants.system.gray};
}
::-webkit-scrollbar-thumb {
background: ${Constants.system.darkGray};
}
::-webkit-scrollbar-thumb:hover {
background: ${Constants.system.brand};
}
`;
const STYLES_LINK = css`
font-family: 'inter-semi-bold';
color: ${Constants.system.pitchBlack};
text-decoration: none;
font-weight: 400;
display: block;
margin-top: 8px;
:hover {
color: ${Constants.system.brand};
}
`;
const STYLES_LINK_ACTIVE = css`
font-family: 'inter-semi-bold';
color: ${Constants.system.brand};
text-decoration: none;
font-weight: 400;
display: block;
margin-top: 8px;
`;
const STYLES_DESCRIPTION = css`
font-weight: 400;
margin-top: 4px;
display: block;
margin-bottom: 16px;
`;
const STYLES_LABEL = css`
font-family: 'inter-semi-bold';
display: block;
font-size: 11px;
text-transform: uppercase;
color: ${Constants.system.darkGray};
letter-spacing: 0.6px;
`;
const SidebarLink = (props) => {
console.log(props.url)
return (