+
Marketplace
@@ -20,6 +23,9 @@ function MarketPlace() {
justifyContent="space-evenly"
gap={2}
backgroundColor="black"
+ style={{
+ padding: '16px'
+ }}
>
{nav === 1 ? : nav === 2 ? : }
-
+
)
}
-const MarketPlaceCSS = styled.div({
- '.nav': {
- display: 'flex',
- backgroundColor: 'black',
- color: 'white',
- '.nav-items-1': {
- flex: 1,
- display: 'flex',
- alignItems: 'center',
- justifyContent: 'space-between',
- img: {
- marginLeft: '100px',
- '@media(max-width: 950px)': {
- marginLeft: '20px',
- },
- },
- '@media(max-width: 520px)': {
- justifyContent: 'flex-end',
- img: {
- display: 'none',
- },
- },
- },
- '.nav-items-2': {
- display: 'flex',
- alignItems: 'center',
- },
- '.nav-items-3': {
- flex: 1,
- display: 'flex',
- alignItems: 'center',
- },
- '.nav-items-1, .nav-items-2, .nav-items-3': {
- div: {
- padding: '20px 100px',
- fontWeight: '700',
- fontSize: '22px',
- '@media(max-width: 1020px)': {
- padding: '20px 50px',
- },
- '@media(max-width: 640px)': {
- padding: '20px 10px',
- },
- '@media(max-width: 520px)': {
- fontSize: '18px',
- padding: '15px 10px',
- },
- },
- '.select': {
- color: '#FFB966',
- },
- },
- },
-})
-
export default MarketPlace
From 4c81d4a98ee7be9b7ef9231db2c689685978154b Mon Sep 17 00:00:00 2001
From: Nam2000 <18521124@gm.uit.edu.vn>
Date: Thu, 14 Jul 2022 21:14:44 +0700
Subject: [PATCH 3/3] add code
---
components/marketplace/Item.tsx | 1 +
components/marketplace/Market.tsx | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/components/marketplace/Item.tsx b/components/marketplace/Item.tsx
index 8dba8be..cb652e1 100644
--- a/components/marketplace/Item.tsx
+++ b/components/marketplace/Item.tsx
@@ -73,6 +73,7 @@ function Item({
mt={2}
minW={110}
mr={1}
+ color='black'
>