mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
things
This commit is contained in:
1 parent
9f41bab28a
commit
92e9073939
3 files changed
+70
-16
No files matched your search
@@ -1,12 +1,14 @@
|
||||
import { HamburgerMenuIcon, MagnifyingGlassIcon } from '@radix-ui/react-icons';
|
||||
import { Flex, IconButton, TextField } from '@radix-ui/themes';
|
||||
import { HamburgerMenuIcon } from '@radix-ui/react-icons';
|
||||
import { Flex, IconButton } from '@radix-ui/themes';
|
||||
import Link from 'next/link';
|
||||
import { useFullScreen } from '../../hooks/useFullScreen';
|
||||
import { BlitzkriegWormWide } from '../../icons/BlitzkriegWormWide';
|
||||
import { theme } from '../../stitches.config';
|
||||
import { EverythingSearch } from './components/EverythingSearch';
|
||||
|
||||
export default function Navbar() {
|
||||
const isFullScreen = useFullScreen();
|
||||
// const pathName = usePathname();
|
||||
|
||||
if (isFullScreen) return null;
|
||||
|
||||
@@ -44,14 +46,7 @@ export default function Navbar() {
|
||||
<BlitzkriegWormWide />
|
||||
</Link>
|
||||
|
||||
<TextField.Root
|
||||
placeholder="Search player, tanks, clans, anything..."
|
||||
style={{ flex: 1 }}
|
||||
>
|
||||
<TextField.Slot>
|
||||
<MagnifyingGlassIcon />
|
||||
</TextField.Slot>
|
||||
</TextField.Root>
|
||||
<EverythingSearch style={{ flex: 1 }} />
|
||||
|
||||
<IconButton variant="ghost">
|
||||
<HamburgerMenuIcon />
|
||||
|
||||
Reference in new issue
Block a user