From 522776d5d45adea393292eaad5302af5d725ac0f Mon Sep 17 00:00:00 2001 From: Axel Delamarre <1091900+delaaxe@users.noreply.github.com> Date: Wed, 18 May 2022 21:07:18 +0200 Subject: [PATCH] feat(nfts): add courtesy links to empty state --- .../ui/features/accountNfts/AccountNfts.tsx | 26 +++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/packages/extension/src/ui/features/accountNfts/AccountNfts.tsx b/packages/extension/src/ui/features/accountNfts/AccountNfts.tsx index 616128bf9..d472d5453 100644 --- a/packages/extension/src/ui/features/accountNfts/AccountNfts.tsx +++ b/packages/extension/src/ui/features/accountNfts/AccountNfts.tsx @@ -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" @@ -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` @@ -68,7 +72,25 @@ const Nfts: FC = ({ account }) => { return (
{nfts.length === 0 && ( -

No collectibles to show

+ <> +

No collectibles to show

+

+ + You can browse collectibles on + + PlayOasis + + +

+

+ + Or build your own 3D collectible on + + briq + + +

+ )} {nfts.map((nft) => (