feat(show-type): global movie/series toggle, type-aware pages and search, ?type=tv in URL
This commit is contained in:
1 parent
5b41dbca10
commit
0824090c6d
21 files changed
+415
-174
No files matched your search
@@ -1,10 +1,8 @@
|
||||
import { FC } from 'react';
|
||||
import Link from 'next/link';
|
||||
|
||||
import { Badge } from '@/components/ui/badge';
|
||||
import { TITLE } from '@/env';
|
||||
import { cn } from '@/lib/utils';
|
||||
|
||||
import Brand from './components/Brand';
|
||||
import { DesktopNavigation, MobileNavigation } from './components/Navigation';
|
||||
import ToggleSearch from './components/Search';
|
||||
import ToggleTheme from './components/ThemeToggle';
|
||||
@@ -23,9 +21,7 @@ const Header: FC<Props> = ({ className }) => (
|
||||
>
|
||||
<div className='container'>
|
||||
<div className='flex items-center justify-between gap-2 xs:flex-nowrap'>
|
||||
<Link shallow href='/'>
|
||||
<Badge className='cursor-pointer whitespace-nowrap text-[15px] font-normal leading-[18px]'>{TITLE}</Badge>
|
||||
</Link>
|
||||
<Brand />
|
||||
<DesktopNavigation />
|
||||
<div className='flex items-center gap-2'>
|
||||
<ToggleSearch />
|
||||
|
||||
Reference in new issue
Block a user