From 7549cf6a8967b43da5e14d95cf7ba4ab408eacd3 Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Mon, 31 Jan 2022 17:02:17 -0800 Subject: [PATCH] Show a bottom navbar on mobile devices --- web/components/nav-bar.tsx | 91 +++++++++++++++++++++++++++++++------- web/components/page.tsx | 2 +- 2 files changed, 75 insertions(+), 18 deletions(-) diff --git a/web/components/nav-bar.tsx b/web/components/nav-bar.tsx index af0e1ad4..10319073 100644 --- a/web/components/nav-bar.tsx +++ b/web/components/nav-bar.tsx @@ -6,6 +6,12 @@ import { Row } from './layout/row' import { firebaseLogin, User } from '../lib/firebase/users' import { ManifoldLogo } from './manifold-logo' import { ProfileMenu } from './profile-menu' +import { + CollectionIcon, + HomeIcon, + SearchIcon, + UserGroupIcon, +} from '@heroicons/react/outline' export function NavBar(props: { darkBackground?: boolean @@ -22,25 +28,76 @@ export function NavBar(props: { const themeClasses = clsx(darkBackground && 'text-white', hoverClasses) return ( -