More refactoring, cleaned up icons, nav buttons, add messages.

This commit is contained in:
Mike Cao 2023-01-27 21:53:13 -08:00
parent 4b1013c8c6
commit 5f15ad0807
68 changed files with 391 additions and 790 deletions

View file

@ -5,8 +5,6 @@ import { useRouter } from 'next/router';
import Link from 'next/link';
import styles from './NavGroup.module.css';
const { ChevronDown } = Icons;
export default function NavGroup({
title,
items,
@ -30,7 +28,7 @@ export default function NavGroup({
<div className={styles.header} onClick={allowExpand ? handleExpand : undefined}>
<Text>{title}</Text>
<Icon size="sm" rotate={expanded ? 0 : -90}>
<ChevronDown />
<Icons.ChevronDown />
</Icon>
</div>
)}