import type { HTMLAttributes } from 'react'; import { Trans } from '@lingui/macro'; import { Braces, CreditCard, Globe2Icon, Lock, User, Users, Webhook } from 'lucide-react'; import { Link, useLocation } from 'react-router'; import { cn } from '@documenso/ui/lib/utils'; import { Button } from '@documenso/ui/primitives/button'; export type MobileNavProps = HTMLAttributes; export const MobileNav = ({ className, ...props }: MobileNavProps) => { const { pathname } = useLocation(); const isBillingEnabled = false; // Todo getFlag('app_billing'); const isPublicProfileEnabled = true; // Todo getFlag('app_public_profile'); return (
{isPublicProfileEnabled && ( )} {isBillingEnabled && ( )}
); };