Skip to content

Commit

Permalink
feat: wp
Browse files Browse the repository at this point in the history
  • Loading branch information
BLuEScioN committed Jan 29, 2025
1 parent 494464b commit 51fba38
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/_components/NewNavBar/MobileNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function MobileNav({
overflow="scroll"
>
<Flex justifyContent={'space-between'} alignItems={'center'} height={10}>
<Logo color="surfaceOpposite" />
<Logo color="surfaceOpposite" size={10} />
<IconButton onClick={close} aria-label={'Close menu'}>
<Icon h={6} w={6} color="surfaceOpposite">
<X />
Expand Down
6 changes: 5 additions & 1 deletion src/app/_components/NewNavBar/NavBar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use client';

import { Flex } from '@chakra-ui/react';
import { Input } from '@/ui/Input';
import { Box, Flex } from '@chakra-ui/react';

import { TokenPrice } from '../../../common/types/tokenPrice';
import { FeePopover } from './FeePopover';
Expand All @@ -15,6 +16,9 @@ export function NavBar({ tokenPrice }: { tokenPrice: TokenPrice }) {
<Logo size={10} />
<PagesSlidingMenu width={50} />
</Flex>
<Box flexGrow={1} flexShrink={1} maxWidth="474px">
<Input placeholder="Search" bg="surfaceSecondary" />
</Box>
<Flex gap={4}>
<FeePopover />
<SettingsPopover />
Expand Down
2 changes: 1 addition & 1 deletion src/app/_components/NewNavBar/SettingsPopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const SettingsPopover = () => {
id="settings-popover"
positioning={{
placement: 'bottom-end',
gutter: 0,
gutter: 4,
}}
open={open}
onOpenChange={e => setOpen(e.open)}
Expand Down

0 comments on commit 51fba38

Please sign in to comment.