Move nav items into nav/

This commit is contained in:
Austin Chen 2022-03-17 00:50:45 -07:00
parent addc883440
commit 318da1bd6f
7 changed files with 13 additions and 13 deletions

View File

@ -1,8 +1,8 @@
import Link from 'next/link'
import clsx from 'clsx'
import { useUser } from '../hooks/use-user'
import { ENV_CONFIG } from '../../common/envs/constants'
import { useUser } from '../../hooks/use-user'
import { ENV_CONFIG } from '../../../common/envs/constants'
export function ManifoldLogo(props: {
className?: string

View File

@ -1,9 +1,9 @@
import clsx from 'clsx'
import Link from 'next/link'
import { useUser } from '../hooks/use-user'
import { Row } from './layout/row'
import { firebaseLogin, User } from '../lib/firebase/users'
import { useUser } from '../../hooks/use-user'
import { Row } from '../layout/row'
import { firebaseLogin, User } from '../../lib/firebase/users'
import { ManifoldLogo } from './manifold-logo'
import { ProfileMenu } from './profile-menu'
import {

View File

@ -1,9 +1,9 @@
import { firebaseLogout, User } from '../lib/firebase/users'
import { formatMoney } from '../../common/util/format'
import { Avatar } from './avatar'
import { Col } from './layout/col'
import { firebaseLogout, User } from '../../lib/firebase/users'
import { formatMoney } from '../../../common/util/format'
import { Avatar } from '../avatar'
import { Col } from '../layout/col'
import { MenuButton } from './menu'
import { IS_PRIVATE_MANIFOLD } from '../../common/envs/constants'
import { IS_PRIVATE_MANIFOLD } from '../../../common/envs/constants'
export function ProfileMenu(props: { user: User | undefined }) {
const { user } = props

View File

@ -1,5 +1,5 @@
import clsx from 'clsx'
import { NavBar } from './nav-bar'
import { NavBar } from './nav/nav-bar'
export function Page(props: {
wide?: boolean

View File

@ -10,7 +10,7 @@ import {
import { firebaseLogin } from '../lib/firebase/users'
import { ContractsGrid } from '../components/contracts-list'
import { Col } from '../components/layout/col'
import { NavBar } from '../components/nav-bar'
import { NavBar } from '../components/nav/nav-bar'
import Link from 'next/link'
import { Contract } from '../lib/firebase/contracts'

View File

@ -3,7 +3,7 @@ import { DatumValue } from '@nivo/core'
import { ResponsiveLine } from '@nivo/line'
import { Entry, makeEntries } from '../lib/simulator/entries'
import { NavBar } from '../components/nav-bar'
import { NavBar } from '../components/nav/nav-bar'
import { Col } from '../components/layout/col'
function TableBody(props: { entries: Entry[] }) {