diff --git a/src/content/drawer/logoButton.tsx b/src/content/drawer/logoButton.tsx index 4d7fdff..6972f2f 100644 --- a/src/content/drawer/logoButton.tsx +++ b/src/content/drawer/logoButton.tsx @@ -4,7 +4,7 @@ const LogoButton = () => { return (
Logo diff --git a/src/welcome/Profile/Explore.tsx b/src/welcome/Profile/Explore.tsx index 25cf228..3b928a1 100644 --- a/src/welcome/Profile/Explore.tsx +++ b/src/welcome/Profile/Explore.tsx @@ -49,8 +49,8 @@ const Up = () => ( const Explore = () => { const list = Array(7).fill(''); const { openProfile } = useProfileModal((state) => ({ ...state })); - console.log(mockData); const newList = [...topList]; + const timeList = [...topList]; const [value, setValue] = React.useState('1'); @@ -210,39 +210,41 @@ const Explore = () => { }} > { {item.nickname}
- {item.type} + {item.type}
{ onClick={openProfile} src={item.avatar} alt="" - className="w-[30px] rounded-full cursor-pointer" + className="w-[44px] rounded-full cursor-pointer" />
@@ -175,7 +175,7 @@ const Reward = () => { onClick={openProfile} src={reward[0].avatar} alt="" - className="w-[30px] rounded-full cursor-pointer" + className="w-[44px] rounded-full cursor-pointer" />
diff --git a/src/welcome/Wallet/BuyModal.tsx b/src/welcome/Wallet/BuyModal.tsx index 859e007..cc11ee0 100644 --- a/src/welcome/Wallet/BuyModal.tsx +++ b/src/welcome/Wallet/BuyModal.tsx @@ -23,6 +23,24 @@ const Icon = () => ( ); +const Icon1 = () => ( + + + + + + + + + + + + + + + +); + const Left = () => ( {
Transaction Fee
- - 5.002 + + 0.002
Est. Gas Fee
- - 0.014 + + 0.001
@@ -123,15 +141,15 @@ const BuyModal = () => {
You Pay(Including Fees)
- + 0.052
Wallet Balance
- - 20.2928 + + 30.24
diff --git a/src/welcome/Wallet/InviteFriends.tsx b/src/welcome/Wallet/InviteFriends.tsx index aa06b20..86ec991 100644 --- a/src/welcome/Wallet/InviteFriends.tsx +++ b/src/welcome/Wallet/InviteFriends.tsx @@ -32,17 +32,17 @@ const rows = [ { time: 'Jan 05 2024, 14:32', user: 'Cody Fisher', - value: 12.87, + value: 2, }, { time: 'Apr 06 2023, 20:13', user: 'Cody Fisher', - value: 10.03, + value: 2, }, { time: 'Jan 12 2023, 13:42', user: 'Cody Fisher', - value: 15.12, + value: 2, }, ]; @@ -79,7 +79,7 @@ const InviteFriends = () => {
Invite Points - 10.05 + 10
diff --git a/src/welcome/Wallet/Profile.tsx b/src/welcome/Wallet/Profile.tsx index 9269e18..c48b411 100644 --- a/src/welcome/Wallet/Profile.tsx +++ b/src/welcome/Wallet/Profile.tsx @@ -94,6 +94,73 @@ const ProfileModal = () => { ), }, ]; + + const ranking = [ + { + data: ( +
+ + Devon Lane +
+ ), + post: 'Autonomous Worlds Ecosystem', + rank: 17, + value: ( +
+ + 1.002 +
+ ), + }, + { + data: ( +
+ + Betty Moore +
+ ), + post: 'Autonomous Worlds Ecosystem', + rank: 23, + value: ( +
+ + 2.012 +
+ ), + }, + { + data: ( +
+ + William Miller +
+ ), + post: 'Autonomous Worlds Ecosystem', + rank: 45, + value: ( +
+ + 7.126 +
+ ), + }, + ]; + const { open, closeProfile } = useProfileModal((state) => ({ ...state })); const [key, setKey] = useState(0); const list = [ @@ -158,32 +225,94 @@ const ProfileModal = () => { ))} - - - - - Holder - Hold shares - Shares Value - - - - {rows.map((row, i) => ( - - - {row.holder} - - {row.shares} - {row.value} + {key === 0 && ( + +
+ + + Holder + Hold shares + Shares Value + + + + {rows.map((row, i) => ( + + + {row.holder} + + {row.shares} + {row.value} + + ))} + +
+
+ )} + + {key === 1 && ( + + + + + Creator + Hold shares + Shares Value + + + + {rows.map((row, i) => ( + + + {row.holder} + + {row.shares} + {row.value} + + ))} + +
+
+ )} + + {key === 2 && ( + + + + + Data + Post + Rank + Reward - ))} - -
-
+ + + {ranking.map((row, i) => ( + + + {row.data} + + {row.post} + #{row.rank} + {row.value} + + ))} + + + + )} diff --git a/src/welcome/Wallet/SellModal.tsx b/src/welcome/Wallet/SellModal.tsx index c268ad4..6f02ae9 100644 --- a/src/welcome/Wallet/SellModal.tsx +++ b/src/welcome/Wallet/SellModal.tsx @@ -23,6 +23,24 @@ const Icon = () => ( ); +const Icon1 = () => ( + + + + + + + + + + + + + + + +); + const Left = () => ( {
Transaction Fee
- - 4.14 + + 0.002
Est. Gas Fee
- - 0.163 + + 0.001
@@ -130,15 +148,15 @@ const SellModal = () => {
You Pay(Including Fees)
- + 0.052
Wallet Balance
- - 20.2928 + + 30.24
@@ -160,7 +178,7 @@ const SellModal = () => { contained: '!py-[10px] !px-[38px] !w-[170px]', }} > - Buy + Sell diff --git a/src/welcome/Wallet/WithDraw.tsx b/src/welcome/Wallet/WithDraw.tsx index a1d3984..ea75003 100644 --- a/src/welcome/Wallet/WithDraw.tsx +++ b/src/welcome/Wallet/WithDraw.tsx @@ -94,7 +94,7 @@ const WithDraw = () => { Wallet Balance:
- 0.02 + 30.24
diff --git a/src/welcome/Wallet/index.tsx b/src/welcome/Wallet/index.tsx index e026c54..22bb0b3 100644 --- a/src/welcome/Wallet/index.tsx +++ b/src/welcome/Wallet/index.tsx @@ -193,7 +193,7 @@ const Wallet = (props: { handleButtonClick?: () => void }) => {
- 390 + 30.24
diff --git a/src/welcome/index.tsx b/src/welcome/index.tsx index 7a7eca3..a1570f1 100644 --- a/src/welcome/index.tsx +++ b/src/welcome/index.tsx @@ -8,7 +8,7 @@ import '../tailwind.css'; createRoot(document.getElementById('root') as HTMLElement).render( - {/* */} - + + {/* */} );