Skip to content

Commit

Permalink
Merge pull request #640 from argentlabs/feat/nft-courtesy-links
Browse files Browse the repository at this point in the history
feat(nfts): add courtesy links to empty state
  • Loading branch information
delaaxe committed May 19, 2022
2 parents c36f6a8 + 522776d commit 9fe39b0
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions packages/extension/src/ui/features/accountNfts/AccountNfts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import styled from "styled-components"
import { ErrorBoundary } from "../../components/ErrorBoundary"
import { ReportGmailerrorredIcon } from "../../components/Icons/MuiIcons"
import { Spinner } from "../../components/Spinner"
import { P } from "../../components/Typography"
import { A, P } from "../../components/Typography"
import { routes } from "../../routes"
import { Account } from "../accounts/Account"
import { getNftPicture } from "./playoasis.service"
Expand All @@ -16,6 +16,10 @@ const Container = styled.div`
flex-direction: column;
padding-top: 16px;
margin: 0 16px 0 16px;
${P} {
text-align: center;
}
`

const Header = styled.h2`
Expand Down Expand Up @@ -68,7 +72,25 @@ const Nfts: FC<AccountNftsProps> = ({ account }) => {
return (
<div>
{nfts.length === 0 && (
<P style={{ textAlign: "center" }}>No collectibles to show</P>
<>
<P>No collectibles to show</P>
<P style={{ marginTop: 120 }}>
<small>
You can browse collectibles on
<A href="https://testnet.playoasis.xyz/" target="_blank">
PlayOasis
</A>
</small>
</P>
<P style={{ marginTop: 16 }}>
<small>
Or build your own 3D collectible on
<A href="https://briq.construction/" target="_blank">
briq
</A>
</small>
</P>
</>
)}
{nfts.map((nft) => (
<NftItem
Expand Down

0 comments on commit 9fe39b0

Please sign in to comment.