import { Row, Dialog, DialogTrigger, Button, Icon, Modal, NavMenu, NavMenuItem, IconLabel, Text, Grid, } from '@umami/react-zen'; import { Globe, Grid2x2, LinkIcon, Menu } from '@/components/icons'; import { useMessages, useNavigation } from '@/components/hooks'; import Link from 'next/link'; import { WebsiteNav } from '@/app/(main)/websites/[websiteId]/WebsiteNav'; import { Logo } from '@/components/svg'; import { NavButton } from '@/components/input/NavButton'; export function MobileNav() { const { formatMessage, labels } = useMessages(); const { websiteId } = useNavigation(); const links = [ { id: 'websites', label: formatMessage(labels.websites), path: '/websites', icon: , }, { id: 'links', label: formatMessage(labels.links), path: '/links', icon: , }, { id: 'pixels', label: formatMessage(labels.pixels), path: '/pixels', icon: , }, ]; return ( {links.map(link => { return ( ); })} {websiteId && } } style={{ width: 'auto' }}> umami ); }