Skip to content

Commit

Permalink
Merge pull request #4 from goblockchain/develop
Browse files Browse the repository at this point in the history
feat: add participants table
  • Loading branch information
samervalente authored Dec 5, 2023
2 parents 9bd2231 + 1af0362 commit 0097ebc
Show file tree
Hide file tree
Showing 13 changed files with 1,360 additions and 17 deletions.
12 changes: 5 additions & 7 deletions src/components/NavBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import { useIsNavSearchInputVisible } from '../../nft/hooks/useIsNavSearchInputV
import { Bag } from './Bag'
import Blur from './Blur'
import { ChainSelector } from './ChainSelector'
import { SearchBar } from './SearchBar'
import * as styles from './style.css'

const Nav = styled.nav`
Expand Down Expand Up @@ -90,6 +89,9 @@ export const PageTabs = () => {
<MenuItem href="/pools" dataTestId="pool-nav-link" isActive={isPoolActive}>
<Trans>Pools</Trans>
</MenuItem>
<MenuItem href="/participants" dataTestId="pool-nav-link" isActive={pathname.startsWith('/participants')}>
<Trans>Participantes</Trans>
</MenuItem>
</Box>
{/* <Box marginY="4">
<MenuDropdown />
Expand Down Expand Up @@ -139,14 +141,10 @@ const Navbar = ({ blur }: { blur: boolean }) => {
{...(isNavSearchInputVisible && {
display: 'flex',
})}
>
<SearchBar />
</Box>
></Box>
<Box className={styles.rightSideContainer}>
<Row gap="12">
<Box position="relative" display={isNavSearchInputVisible ? 'none' : { sm: 'flex' }}>
<SearchBar />
</Box>
<Box position="relative" display={isNavSearchInputVisible ? 'none' : { sm: 'flex' }}></Box>
{isNftPage && sellPageState !== ProfilePageStateType.LISTING && <Bag />}
{!isNftPage && (
<Box display={{ sm: 'none', lg: 'flex' }}>
Expand Down
Loading

0 comments on commit 0097ebc

Please sign in to comment.