import { css } from '@emotion/react'; import { spacing, theme, SnackLogo, ChangelogIcon, DiscordIcon, MessageIcon, iconSize, } from '@expo/styleguide'; import { useRouter } from 'next/router'; import { SidebarSingleEntry } from './SidebarSingleEntry'; import { ArchiveIcon } from './icons/Archive'; import { getPageSection } from '~/common/routes'; import { customIconContainerStyle } from '~/ui/components/Sidebar/icons/styles'; export const SidebarFooter = () => { const { pathname } = useRouter(); return (
(
)} isActive={getPageSection(pathname) === 'archive'} />
); }; const sidebarFooterContainer = css({ display: 'flex', flexDirection: 'column', padding: spacing[4], borderTop: `1px solid ${theme.border.default}`, background: theme.background.default, });