forked from tqtezos/minter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* removed preview text for UI purposes (tqtezos#262) Removed preview * update README (tqtezos#268) PR points to Minter SDK for contracts and updates some of the README * Carbon savings message on creation of NFT (tqtezos#264) * added CO2 em. message * Modified copy * Add video metadata types to file upload page. Fixes tqtezos#238 (tqtezos#251) * feat: Update fa2_tzip16_compate_multi_nft_asset.ts with (tqtezos/minter-sdk#62) code * feat: Update git hash in bootstrap-contracts-config.ts * Add badge to display network when not on mainnet. * Add badge to display network when not on mainnet. * Link contract to explorer GUI. Fixes tqtezos#242 * Initial work on marketplace * fix formatting * Loading spinner for collections * Remove "marketplace" header * Better icons * Only show active sale items * added OM favicon replacement (tqtezos#283) * shield auto-updates (tqtezos#284) * updated shield code * Make grid responsive (tqtezos#249) * Batch "list for sale" transactions. Fixes tqtezos#287 * feat: Update header to reflect new designs * feat: Move logo to common assets, add responsive header logo * Adding basic netlify redirect config (tqtezos#290) * revert marketplace contract to correct version * restart bcd api in sandbox on failure * This should be replace: false, or else the back button will not go back to marketplace * v0.4.3 (tqtezos#278) * removed preview text for UI purposes (tqtezos#262) * update README (tqtezos#268) PR points to Minter SDK for contracts and updates some of the README * Carbon savings message on creation of NFT (tqtezos#264) * Add video metadata types to file upload page. Fixes tqtezos#238 (tqtezos#251) * feat: Update fa2_tzip16_compate_multi_nft_asset.ts with (tqtezos/minter-sdk#62) code * feat: Update git hash in bootstrap-contracts-config.ts * Add type to Nft metadata accordingly to TZIP-21 * Reskin asset detail page Changes appointed in the PR * Allow the addition to root level of metadata * Change sell button to be seen only by the owner * Add custom scrollbar * Optimized for big images * Add zoom feature * Zoom * remove description text for resp. (tqtezos#291) * Add mobile navigation and collections dropdown (tqtezos#292) * feat: Add mobile navigation * feat: Add collections dropdown * fix: Cleanup responsive featured marketplace token styles * fix: Remove unused variables * fix: Don't show certain desktop nav items when wallet disconnected * feat: Show connect wallet in settings dropdown if disconnected * Fix zoom * Aligned div * Fix mobile fullscreen * spelling error fix Co-authored-by: Gregory Rocco <gregoryrocco1226@gmail.com> Co-authored-by: jacobarluck <jacobarluck@users.noreply.github.com> Co-authored-by: Joshua Dechant <josh@codecrafting.org> Co-authored-by: Gregório Granado Magalhães <greg.magalhaes@gmail.com>
- Loading branch information
Showing
34 changed files
with
14,293 additions
and
317 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ services: | |
- mq | ||
ports: | ||
- 42000:14000 | ||
restart: on-failure | ||
logging: | ||
options: | ||
max-size: 10m | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[[redirects]] | ||
from = "/*" | ||
to = "/index.html" | ||
status = 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 66 additions & 0 deletions
66
src/components/Collections/Catalog/CollectionsDropdown.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
import React from 'react'; | ||
import { | ||
Box, | ||
Button, | ||
Flex, | ||
Menu, | ||
MenuButton, | ||
MenuList, | ||
MenuOptionGroup, | ||
MenuItemOption, | ||
Text | ||
} from '@chakra-ui/react'; | ||
import { useSelector, useDispatch } from '../../../reducer'; | ||
import { selectCollection } from '../../../reducer/slices/collections'; | ||
import { ChevronDown } from 'react-feather'; | ||
|
||
export default function CollectionsDropdown() { | ||
const state = useSelector(s => s.collections); | ||
const dispatch = useDispatch(); | ||
|
||
return ( | ||
<Menu> | ||
<MenuButton as={Button} border="1px solid" borderColor="brand.gray"> | ||
<Flex align="center"> | ||
<Box mr={3}> | ||
<ChevronDown /> | ||
</Box> | ||
Collections | ||
</Flex> | ||
</MenuButton> | ||
<MenuList> | ||
<MenuOptionGroup | ||
type="radio" | ||
defaultValue={state.selectedCollection || ''} | ||
> | ||
<Text ml={4} my={2} fontWeight="600"> | ||
Featured | ||
</Text> | ||
<MenuItemOption | ||
key={state.globalCollection} | ||
selected={state.globalCollection === state.selectedCollection} | ||
value={state.globalCollection} | ||
onSelect={() => dispatch(selectCollection(state.globalCollection))} | ||
> | ||
{state.collections[state.globalCollection].metadata.name} | ||
</MenuItemOption> | ||
<Text ml={4} my={2} fontWeight="600"> | ||
Your Collections | ||
</Text> | ||
{Object.keys(state.collections) | ||
.filter(address => address !== state.globalCollection) | ||
.map(address => ( | ||
<MenuItemOption | ||
key={address} | ||
value={address} | ||
selected={address === state.selectedCollection} | ||
onClick={() => dispatch(selectCollection(address))} | ||
> | ||
{state.collections[address].metadata.name} | ||
</MenuItemOption> | ||
))} | ||
</MenuOptionGroup> | ||
</MenuList> | ||
</Menu> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.