From 31fe4eea543b0d4e40ff8cb81f6123ef6f288069 Mon Sep 17 00:00:00 2001 From: Prayag <52105313+prayagd@users.noreply.github.com> Date: Wed, 15 Jan 2025 11:06:32 +0530 Subject: [PATCH 1/9] Navbar item updated --- src/components/Navbar/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Navbar/index.tsx b/src/components/Navbar/index.tsx index bdd27fbb..8e0b97e1 100644 --- a/src/components/Navbar/index.tsx +++ b/src/components/Navbar/index.tsx @@ -9,7 +9,7 @@ import { NetworkSelector } from '../NetworkSelector'; import { useNetwork } from '../../contexts/network'; const links = [ - { title: 'Offramp', href: '/' }, + { title: 'Sell Crypto', href: '/' }, { title: 'How it works', href: 'https://www.vortexfinance.co/#lowest-code' }, { title: 'Community', href: 'https://www.vortexfinance.co/#call-to-action' }, ]; From f3fcb9e6089fc646c4fdd43d4e89c076eeb36216 Mon Sep 17 00:00:00 2001 From: Prayag <52105313+prayagd@users.noreply.github.com> Date: Wed, 15 Jan 2025 11:09:23 +0530 Subject: [PATCH 2/9] updated the title and from dropdown --- src/pages/swap/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/swap/index.tsx b/src/pages/swap/index.tsx index 2c7daf4c..2bbf5942 100644 --- a/src/pages/swap/index.tsx +++ b/src/pages/swap/index.tsx @@ -385,8 +385,8 @@ export const SwapPage = () => { className="max-w-2xl px-4 py-4 mx-4 my-8 rounded-lg shadow-custom md:mx-auto md:w-2/3 lg:w-3/5 xl:w-1/2" onSubmit={onSwapConfirm} > -

Withdraw

- +

Sell Crypto

+

{getCurrentErrorMessage()}

From a19e5f27c3bf48fe7a69ef7aa7844e565f94ac74 Mon Sep 17 00:00:00 2001 From: Prayag <52105313+prayagd@users.noreply.github.com> Date: Wed, 15 Jan 2025 11:11:14 +0530 Subject: [PATCH 3/9] arrow removed --- src/pages/swap/index.tsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/pages/swap/index.tsx b/src/pages/swap/index.tsx index 2bbf5942..f020d048 100644 --- a/src/pages/swap/index.tsx +++ b/src/pages/swap/index.tsx @@ -1,4 +1,4 @@ -import { ArrowDownIcon } from '@heroicons/react/20/solid'; + import Big from 'big.js'; import { useEffect, useMemo, useRef, useState, useCallback } from 'preact/hooks'; import { ApiPromise } from '@polkadot/api'; @@ -61,11 +61,7 @@ import { TrustedBy } from '../../components/TrustedBy'; import { WhyVortex } from '../../components/WhyVortex'; import { usePolkadotWalletState } from '../../contexts/polkadotWallet'; -const Arrow = () => ( -
- -
-); + export const SwapPage = () => { const formRef = useRef(null); @@ -387,7 +383,6 @@ export const SwapPage = () => { >

Sell Crypto

-

{getCurrentErrorMessage()}

Date: Wed, 15 Jan 2025 11:33:49 +0530 Subject: [PATCH 4/9] added margin --- src/pages/swap/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/swap/index.tsx b/src/pages/swap/index.tsx index f020d048..b46586f1 100644 --- a/src/pages/swap/index.tsx +++ b/src/pages/swap/index.tsx @@ -383,6 +383,7 @@ export const SwapPage = () => { >

Sell Crypto

+

{getCurrentErrorMessage()}

Date: Wed, 15 Jan 2025 16:27:52 +0100 Subject: [PATCH 5/9] update initialization error message --- src/pages/swap/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/swap/index.tsx b/src/pages/swap/index.tsx index 2c7daf4c..0731923f 100644 --- a/src/pages/swap/index.tsx +++ b/src/pages/swap/index.tsx @@ -98,7 +98,8 @@ export const SwapPage = () => { // Maybe go into a state of UI errors?? const setInitializeFailed = useCallback((message?: string | null) => { setInitializeFailedMessage( - message ?? "We're stuck in the digital equivalent of rush hour traffic. Hang tight, we'll get moving again!", + message ?? + "We're experiencing a digital traffic jam. Please hold tight while we clear the road and get things moving again!", ); }, []); From bb8c69f1265ceacf846505535634e7e54ff0c4b5 Mon Sep 17 00:00:00 2001 From: Prayag <52105313+prayagd@users.noreply.github.com> Date: Thu, 16 Jan 2025 11:01:19 +0530 Subject: [PATCH 6/9] change margin Co-authored-by: Marcel Ebert --- src/pages/swap/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/swap/index.tsx b/src/pages/swap/index.tsx index b46586f1..04c78bbf 100644 --- a/src/pages/swap/index.tsx +++ b/src/pages/swap/index.tsx @@ -383,7 +383,7 @@ export const SwapPage = () => { >

Sell Crypto

-
+

{getCurrentErrorMessage()}

Date: Thu, 16 Jan 2025 11:01:48 +0530 Subject: [PATCH 7/9] from dropdown change Co-authored-by: Marcel Ebert --- src/pages/swap/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/swap/index.tsx b/src/pages/swap/index.tsx index 04c78bbf..7f8f2226 100644 --- a/src/pages/swap/index.tsx +++ b/src/pages/swap/index.tsx @@ -382,7 +382,7 @@ export const SwapPage = () => { onSubmit={onSwapConfirm} >

Sell Crypto

- +

{getCurrentErrorMessage()}

From 34911abea13758e6777f8a101989e346ed05c58c Mon Sep 17 00:00:00 2001 From: Marcel Ebert Date: Thu, 16 Jan 2025 14:17:12 +0100 Subject: [PATCH 8/9] Revert "Add `notranslate` meta tag to prevent browser translation" --- index.html | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 1ec38ed4..2eaa699a 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - + @@ -7,7 +7,6 @@ Vortex -