From 652d3cff7d4cb027f0deb6a67e41170b6f2c918b Mon Sep 17 00:00:00 2001 From: Matchu Date: Sun, 8 Nov 2020 15:46:11 -0800 Subject: [PATCH] add trade link placeholders to item page --- src/app/ItemPage.js | 54 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 51 insertions(+), 3 deletions(-) diff --git a/src/app/ItemPage.js b/src/app/ItemPage.js index e6edab6..e664f2f 100644 --- a/src/app/ItemPage.js +++ b/src/app/ItemPage.js @@ -5,6 +5,7 @@ import { Badge, Button, Box, + HStack, IconButton, Skeleton, SkeletonText, @@ -42,7 +43,6 @@ import OutfitPreview from "./components/OutfitPreview"; import SpeciesColorPicker from "./components/SpeciesColorPicker"; import useCurrentUser from "./components/useCurrentUser"; import { useLocalStorage } from "./util"; -import WIPCallout from "./components/WIPCallout"; function ItemPage() { const { itemId } = useParams(); @@ -60,9 +60,11 @@ export function ItemPageContent({ itemId, isEmbedded }) { return ( - {isLoggedIn && } + + {isLoggedIn && } + + {!isEmbedded && } - Trade lists coming soon! ); } @@ -549,6 +551,52 @@ function ItemPageWantButton({ itemId, isChecked }) { ); } +function ItemPageTradeLinks({ itemId }) { + return ( + + + + Trading: + + + + + + ); +} + +function ItemPageTradeLink({ count, label, colorScheme }) { + return ( + + ); +} + function IconCheckbox({ icon, isChecked, ...props }) { return (