Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion apps/web/components/bottom-nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ import { useEffect, useState } from 'react';
* page opened most, behind "More".
*
* Everything that lost its tab is still a route, and Settings lists it.
* Import got its tab back: behind More, nobody could find it.
*/
const TABS = [
{ href: '/inbox', label: 'Inbox', icon: InboxIcon, badge: true },
{ href: '/approvals', label: 'Approve', icon: CheckIcon },
{ href: '/products', label: 'Products', icon: BoxIcon },
{ href: '/funnel', label: 'Results', icon: FunnelIcon },
{ href: '/import', label: 'Import', icon: UploadIcon },
{ href: '/settings', label: 'Settings', icon: GearIcon },
] as const;

Expand All @@ -36,7 +38,6 @@ const OWNED_BY: Record<string, string> = {
'/cadences': '/settings',
'/rules': '/settings',
'/research': '/settings',
'/import': '/settings',
'/signals': '/settings',
'/prospects': '/settings',
};
Expand Down Expand Up @@ -183,6 +184,15 @@ function BoxIcon() {
);
}

function UploadIcon() {
return (
<svg {...ICON_PROPS}>
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4" />
<path d="m17 8-5-5-5 5M12 3v12" />
</svg>
);
}

function GearIcon() {
return (
<svg {...ICON_PROPS}>
Expand Down
Loading