From a2c773b301ba7a7e3664cd2258fe0ebdf2203998 Mon Sep 17 00:00:00 2001 From: PhilReact Date: Sat, 23 Nov 2024 13:34:46 +0200 Subject: [PATCH] change logo --- index.html | 6 ++-- .../DbComponents/OngoingTransactions.tsx | 2 +- src/components/Grids/TradeOffers.tsx | 31 +++++++++++++----- src/components/Terms.tsx | 8 ++--- src/components/common/icons/qtradeLogo.png | Bin 0 -> 5739 bytes src/components/header/Header.tsx | 10 +++--- 6 files changed, 35 insertions(+), 22 deletions(-) create mode 100644 src/components/common/icons/qtradeLogo.png diff --git a/index.html b/index.html index 0ec4677..a31d64f 100644 --- a/index.html +++ b/index.html @@ -2,9 +2,7 @@ - + @@ -14,7 +12,7 @@ - Qort.Trade + Q-Trade
diff --git a/src/components/DbComponents/OngoingTransactions.tsx b/src/components/DbComponents/OngoingTransactions.tsx index 566393a..4430e64 100644 --- a/src/components/DbComponents/OngoingTransactions.tsx +++ b/src/components/DbComponents/OngoingTransactions.tsx @@ -5,7 +5,7 @@ import { useIndexedDBContext } from "../../contexts/indexedDBContext"; const fetchTradeInfo = async (qortalAtAddress) => { - const checkIfOfferingRes = await fetch(`http://127.0.0.1:12391/crosschain/trade/${qortalAtAddress}`) + const checkIfOfferingRes = await fetch(`/crosschain/trade/${qortalAtAddress}`) const data = await checkIfOfferingRes.json() return data }; diff --git a/src/components/Grids/TradeOffers.tsx b/src/components/Grids/TradeOffers.tsx index 03c4e52..bd9797f 100644 --- a/src/components/Grids/TradeOffers.tsx +++ b/src/components/Grids/TradeOffers.tsx @@ -362,7 +362,11 @@ export const TradeOffers: React.FC = ({ltcBalance}:any) => { // Update transactions in IndexedDB const result = await updateTransactionInDB(transactionData); - + setOpen(true) + setInfo({ + type: 'success', + message: "Submitted Order" + }) fetchOngoingTransactions() if(isUsingGateway){ setRecord(transactionData) @@ -370,11 +374,7 @@ export const TradeOffers: React.FC = ({ltcBalance}:any) => { message: `Keep a record of your order in case your trade gets stuck`, }) } - setOpen(true) - setInfo({ - type: 'success', - message: "Submitted Order" - }) + } } catch (error) { @@ -554,11 +554,24 @@ const handleClose = ( > {"Download record"} - + {messageInfo.message} - diff --git a/src/components/Terms.tsx b/src/components/Terms.tsx index d1e31a4..ddba254 100644 --- a/src/components/Terms.tsx +++ b/src/components/Terms.tsx @@ -55,10 +55,10 @@ export const Terms =() => { - The purpose of qort.trade is to make trading LTC for QORT as easy as possible. The maintainers of this site do not profit from its use—there are no additional fees for buying QORT through this site. There are two ways to place a buy order: + The purpose of q-trade is to make trading LTC for QORT as easy as possible. The maintainers of this site do not profit from its use—there are no additional fees for buying QORT through this site. There are two ways to place a buy order: 1. Use the gateway 2. Use your local node. - By using qort.trade, you agree to the following terms and conditions. + By using q-trade, you agree to the following terms and conditions. @@ -66,11 +66,11 @@ export const Terms =() => { - If you are uncomfortable using the gateway, we offer the option to use your local node to buy QORT. When logging into the extension, choose the local node configuration, and use the switch button on qort.trade to connect with your local node. + If you are uncomfortable using the gateway, we offer the option to use your local node to buy QORT. When logging into the UI, choose the local node configuration. - The maintainers of this site are not responsible for any lost LTC, QORT, or other cryptocurrencies that may result from using this site. This is a hobby project, and mistakes in the code may occur. Please proceed with caution. + The maintainers and devs of this site are not responsible for any lost LTC, QORT, or other cryptocurrencies that may result from using this site. This is a hobby project, and mistakes in the code may occur. Please proceed with caution. diff --git a/src/components/common/icons/qtradeLogo.png b/src/components/common/icons/qtradeLogo.png new file mode 100644 index 0000000000000000000000000000000000000000..2735d38a2431caf8caf679dec21882f31e1b7d98 GIT binary patch literal 5739 zcmV-x7L@6UP)3maP*sbB+uL%W-yrakBXVk|xSR_iF2Uh&w2pul zNeRYXT=wC*NGwW-%K(>;>C*{{!|@t{!V%zdjLR$84o`8}2ZzJ4nUJ-CORq)I$l?N* z`?&bva5!qGb{9r!H{}qQ2e@p{+1=TOXxFz`GmMU z!(;Zq;c%=cSjoHm)-QrAk|(&_WwEK_ymYLmCC*LT?}NkPSRcqmz~!`zXh6fH#H0v{ z$N1oII93Z*#6y`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jmS>1 z5!DJaqL|6+I0&R;MO+gQwnFTR5>&{Ts}<$KNRyVX^TmV_4qoTL>9fx#pQGh*XX$ti z-|N0r+=C5+n|aCd03#mpcmJugpZ5Q_WlDOXQQBd)?*PR^ zp5V4t-pU=_NltJMh#3!+I_n>P@JDYiJ@>8wk4ddhcHHA=6J3`n(LIbnzm;-e9FAHk zGb%g1;RBfMfk;iepJCmHc?RZ2~^`{iG9NKil;_Z$0l4*tuLR+DEhO%edjB6iU(O9 zk20>|9ylD1Lgoqxk?H^yTARocIj#^`J%Rj=J*G$SY{l)!kMSZyjC+J0jCa5H&eGYX z3c6-oC}3(^9wF$N-a~LW9Q8p>oVZ-b>s+idTeT{$%Y8T;8%IIqd$p=$vntRv^0hkg za5z>0i^!SG=6D?|B46`q&NZJo@o+d=1}ohYnNM#WDy7u1j$V${A^9FwK5&x5aU;RX z*Da`=7poGI62d{{D<3e);kfZg?H(M0B0vW4&N&daT-I=BTTF8NjncCWie1j>}@`F zz@PJC7-pcP51SrM-QjT5fYfeH8H=Pz$Rc?pU69n_*j%szzc01h(w1mYJmxMq9F9h5 zwQo0D0#vc7*J}Xv%@!VlPLm(t^4z&84o5qzbZ`h36q+ { > @@ -190,7 +190,9 @@ export const Header = ({ qortBalance, ltcBalance, mode, setMode }: any) => { - + Balance: {qortBalance} QORT |{" "} {ltcBalance === null ? "N/A" : ltcBalance} LTC