fix: titles
This commit is contained in:
1 parent
c7dd7eff19
commit
3615d5538d
6 files changed
+13
-12
No files matched your search
@@ -3,5 +3,5 @@ export const paths = [
|
||||
{ path: '/popular', title: 'Popular' },
|
||||
{ path: '/top', title: 'Top rated' },
|
||||
{ path: '/favorites', title: 'Favorites' },
|
||||
{ path: '/watch-list', title: 'Watch list' }
|
||||
{ path: '/watchlist', title: 'Watchlist' }
|
||||
];
|
||||
@@ -8,6 +8,7 @@ import { usePathname } from 'next/navigation';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { DropdownMenu, DropdownMenuContent, DropdownMenuTrigger } from '@/components/ui/dropdown-menu';
|
||||
import Nav from '@/components/ui/nav';
|
||||
import { cn } from '@/lib/utils';
|
||||
|
||||
import { paths } from './constants';
|
||||
|
||||
@@ -22,7 +23,7 @@ export const MobileNavigation = () => {
|
||||
<Menu size={19} />
|
||||
</Button>
|
||||
</DropdownMenuTrigger>
|
||||
<DropdownMenuContent className='flex w-44 flex-col gap-2 p-2'>
|
||||
<DropdownMenuContent className='flex w-44 flex-col gap-2 rounded-none rounded-bl-lg border-none p-2'>
|
||||
{paths.map(({ path, title }) => (
|
||||
<DropdownMenuItem key={path} asChild>
|
||||
<Link href={path} prefetch={path !== '/'}>
|
||||
|
||||
Reference in new issue
Block a user