From 9b238b60dfdd7cc0cf1223f2f91320d0f99f3a6a Mon Sep 17 00:00:00 2001 From: Thammarong Glomjai Date: Fri, 15 Nov 2024 04:07:37 +0700 Subject: [PATCH] refector: update ui code --- src/assets/bitcoin-btc-logo.svg | 15 ++ src/assets/icon_lightning.svg | 16 ++ src/assets/solana-sol-logo.svg | 28 +++ src/assets/sui-sui-logo.svg | 15 ++ src/components/Layout/Header/Header.tsx | 2 +- src/components/WalletStatus.tsx | 1 - .../elements/Container/Container.tsx | 6 +- src/main.tsx | 1 - src/pages/Swap.tsx | 201 +++++++++++++++++- src/pages/Transaction.tsx | 17 +- 10 files changed, 277 insertions(+), 25 deletions(-) create mode 100644 src/assets/bitcoin-btc-logo.svg create mode 100644 src/assets/icon_lightning.svg create mode 100644 src/assets/solana-sol-logo.svg create mode 100644 src/assets/sui-sui-logo.svg diff --git a/src/assets/bitcoin-btc-logo.svg b/src/assets/bitcoin-btc-logo.svg new file mode 100644 index 0000000..2b75c99 --- /dev/null +++ b/src/assets/bitcoin-btc-logo.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + diff --git a/src/assets/icon_lightning.svg b/src/assets/icon_lightning.svg new file mode 100644 index 0000000..7809da9 --- /dev/null +++ b/src/assets/icon_lightning.svg @@ -0,0 +1,16 @@ + + + 编组 31 + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/assets/solana-sol-logo.svg b/src/assets/solana-sol-logo.svg new file mode 100644 index 0000000..bd349af --- /dev/null +++ b/src/assets/solana-sol-logo.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/src/assets/sui-sui-logo.svg b/src/assets/sui-sui-logo.svg new file mode 100644 index 0000000..d0e0833 --- /dev/null +++ b/src/assets/sui-sui-logo.svg @@ -0,0 +1,15 @@ + + + + + + diff --git a/src/components/Layout/Header/Header.tsx b/src/components/Layout/Header/Header.tsx index fcd5edb..216b3ec 100644 --- a/src/components/Layout/Header/Header.tsx +++ b/src/components/Layout/Header/Header.tsx @@ -14,7 +14,7 @@ export const Header = ({ rightWidget, menuItems }: Props) => { return (