diff --git a/assets/about-us.jpg b/assets/about-us.jpg deleted file mode 100644 index 3211351..0000000 Binary files a/assets/about-us.jpg and /dev/null differ diff --git a/assets/advertise-with-us.jpg b/assets/advertise-with-us.jpg deleted file mode 100644 index 3406afe..0000000 Binary files a/assets/advertise-with-us.jpg and /dev/null differ diff --git a/assets/getApi.jpg b/assets/getApi.jpg deleted file mode 100644 index 6165edc..0000000 Binary files a/assets/getApi.jpg and /dev/null differ diff --git a/assets/privacy-policy.jpg b/assets/privacy-policy.jpg deleted file mode 100644 index 1826ea8..0000000 Binary files a/assets/privacy-policy.jpg and /dev/null differ diff --git a/assets/social-icons/facebook.png b/assets/social-icons/facebook.png deleted file mode 100644 index 6f057c5..0000000 Binary files a/assets/social-icons/facebook.png and /dev/null differ diff --git a/assets/social-icons/instagram.png b/assets/social-icons/instagram.png deleted file mode 100644 index 7eeae26..0000000 Binary files a/assets/social-icons/instagram.png and /dev/null differ diff --git a/assets/social-icons/messenger.png b/assets/social-icons/messenger.png deleted file mode 100644 index 4e0d329..0000000 Binary files a/assets/social-icons/messenger.png and /dev/null differ diff --git a/assets/social-icons/telegram.png b/assets/social-icons/telegram.png deleted file mode 100644 index ce7c2c9..0000000 Binary files a/assets/social-icons/telegram.png and /dev/null differ diff --git a/assets/social-icons/twitter.png b/assets/social-icons/twitter.png deleted file mode 100644 index 0cf3206..0000000 Binary files a/assets/social-icons/twitter.png and /dev/null differ diff --git a/assets/social-icons/whatsapp.png b/assets/social-icons/whatsapp.png deleted file mode 100644 index 00db12e..0000000 Binary files a/assets/social-icons/whatsapp.png and /dev/null differ diff --git a/assets/system-update.png b/assets/system-update.png deleted file mode 100644 index 302c9a9..0000000 Binary files a/assets/system-update.png and /dev/null differ diff --git a/assets/user-agreement.jpg b/assets/user-agreement.jpg deleted file mode 100644 index 8ee40a6..0000000 Binary files a/assets/user-agreement.jpg and /dev/null differ diff --git a/components/Header.js b/components/Header.js index 48ddbd9..719cf25 100644 --- a/components/Header.js +++ b/components/Header.js @@ -1,16 +1,12 @@ import ListItem from './ListItem' import ListItem2 from './ListItem2' import { RiArrowUpSLine, RiArrowDownSLine } from 'react-icons/ri' -import sysUpdate from '../assets/system-update.png' -import logo from './logo.svg' import Paragraph from './Paragraph' import HeaderRefreshIcon from './HeaderRefreshIcon' import { Dropdown, Button } from 'react-bootstrap' import { useEffect, useState } from 'react' import Link from 'next/link' import ListItemSocial from './ListItemSocial' -import googleApp from './footer/google-play-badge.png' -import AppleApp from './footer/apple-store-badge.png' import { useTranslation } from 'react-i18next' const lngs = { @@ -114,7 +110,7 @@ const Header = () => {
loading...
) : ( curr1.map((item, index) => ( - // < - // to={`/international-coin/${curr1[index][0]}`} - // to={{ - // pathname: `/international-coin/${index}`, - // state: { - // item: curr1[index], - // arName: - // curr1[index][0] === iter_curr_array[index][1] - // ? i18n.dir() === "ltr" - // ? iter_curr_array[index][2] - // : iter_curr_array[index][3] - // : "", - // lastUpdated: interCoins?.last_update - // }, - // }} - // onClick={() => setShowNav(false)} - // key={index} - // >
{i18n.dir() === 'rtl'
diff --git a/components/currIcons/AED.png b/components/currIcons/AED.png
deleted file mode 100644
index 7339237..0000000
Binary files a/components/currIcons/AED.png and /dev/null differ
diff --git a/components/currIcons/AUD.png b/components/currIcons/AUD.png
deleted file mode 100644
index 98a589e..0000000
Binary files a/components/currIcons/AUD.png and /dev/null differ
diff --git a/components/currIcons/BHD .png b/components/currIcons/BHD .png
deleted file mode 100644
index 7f02798..0000000
Binary files a/components/currIcons/BHD .png and /dev/null differ
diff --git a/components/currIcons/BHD.png b/components/currIcons/BHD.png
deleted file mode 100644
index 8f45071..0000000
Binary files a/components/currIcons/BHD.png and /dev/null differ
diff --git a/components/currIcons/BRL.png b/components/currIcons/BRL.png
deleted file mode 100644
index d49ab42..0000000
Binary files a/components/currIcons/BRL.png and /dev/null differ
diff --git a/components/currIcons/CAD.png b/components/currIcons/CAD.png
deleted file mode 100644
index 81e8745..0000000
Binary files a/components/currIcons/CAD.png and /dev/null differ
diff --git a/components/currIcons/CHF.png b/components/currIcons/CHF.png
deleted file mode 100644
index 03d9277..0000000
Binary files a/components/currIcons/CHF.png and /dev/null differ
diff --git a/components/currIcons/CNY.png b/components/currIcons/CNY.png
deleted file mode 100644
index 9f80254..0000000
Binary files a/components/currIcons/CNY.png and /dev/null differ
diff --git a/components/currIcons/COP.png b/components/currIcons/COP.png
deleted file mode 100644
index 02945b0..0000000
Binary files a/components/currIcons/COP.png and /dev/null differ
diff --git a/components/currIcons/DJF.png b/components/currIcons/DJF.png
deleted file mode 100644
index 73c3c3f..0000000
Binary files a/components/currIcons/DJF.png and /dev/null differ
diff --git a/components/currIcons/DKK.png b/components/currIcons/DKK.png
deleted file mode 100644
index d09314a..0000000
Binary files a/components/currIcons/DKK.png and /dev/null differ
diff --git a/components/currIcons/DZD.png b/components/currIcons/DZD.png
deleted file mode 100644
index b395048..0000000
Binary files a/components/currIcons/DZD.png and /dev/null differ
diff --git a/components/currIcons/EGP.png b/components/currIcons/EGP.png
deleted file mode 100644
index c9ec0d6..0000000
Binary files a/components/currIcons/EGP.png and /dev/null differ
diff --git a/components/currIcons/EUR.png b/components/currIcons/EUR.png
deleted file mode 100644
index 138eea0..0000000
Binary files a/components/currIcons/EUR.png and /dev/null differ
diff --git a/components/currIcons/GBP.png b/components/currIcons/GBP.png
deleted file mode 100644
index 05b2d13..0000000
Binary files a/components/currIcons/GBP.png and /dev/null differ
diff --git a/components/currIcons/IDR.png b/components/currIcons/IDR.png
deleted file mode 100644
index a3b493a..0000000
Binary files a/components/currIcons/IDR.png and /dev/null differ
diff --git a/components/currIcons/IQD.png b/components/currIcons/IQD.png
deleted file mode 100644
index c8a041e..0000000
Binary files a/components/currIcons/IQD.png and /dev/null differ
diff --git a/components/currIcons/IRR.png b/components/currIcons/IRR.png
deleted file mode 100644
index 767da6b..0000000
Binary files a/components/currIcons/IRR.png and /dev/null differ
diff --git a/components/currIcons/JOD.png b/components/currIcons/JOD.png
deleted file mode 100644
index 4ba9f93..0000000
Binary files a/components/currIcons/JOD.png and /dev/null differ
diff --git a/components/currIcons/JPY.png b/components/currIcons/JPY.png
deleted file mode 100644
index 1709a63..0000000
Binary files a/components/currIcons/JPY.png and /dev/null differ
diff --git a/components/currIcons/KWD.png b/components/currIcons/KWD.png
deleted file mode 100644
index 28c5ef3..0000000
Binary files a/components/currIcons/KWD.png and /dev/null differ
diff --git a/components/currIcons/LBP.png b/components/currIcons/LBP.png
deleted file mode 100644
index 38dc3c2..0000000
Binary files a/components/currIcons/LBP.png and /dev/null differ
diff --git a/components/currIcons/LYD.png b/components/currIcons/LYD.png
deleted file mode 100644
index 319394d..0000000
Binary files a/components/currIcons/LYD.png and /dev/null differ
diff --git a/components/currIcons/MAD.png b/components/currIcons/MAD.png
deleted file mode 100644
index 2e38415..0000000
Binary files a/components/currIcons/MAD.png and /dev/null differ
diff --git a/components/currIcons/MRU.png b/components/currIcons/MRU.png
deleted file mode 100644
index aebbd11..0000000
Binary files a/components/currIcons/MRU.png and /dev/null differ
diff --git a/components/currIcons/MYR.png b/components/currIcons/MYR.png
deleted file mode 100644
index 0e44456..0000000
Binary files a/components/currIcons/MYR.png and /dev/null differ
diff --git a/components/currIcons/NOK.png b/components/currIcons/NOK.png
deleted file mode 100644
index 22affcf..0000000
Binary files a/components/currIcons/NOK.png and /dev/null differ
diff --git a/components/currIcons/NZD.png b/components/currIcons/NZD.png
deleted file mode 100644
index 93e09d3..0000000
Binary files a/components/currIcons/NZD.png and /dev/null differ
diff --git a/components/currIcons/OMR.png b/components/currIcons/OMR.png
deleted file mode 100644
index 3b3e707..0000000
Binary files a/components/currIcons/OMR.png and /dev/null differ
diff --git a/components/currIcons/QAR.png b/components/currIcons/QAR.png
deleted file mode 100644
index 21f69aa..0000000
Binary files a/components/currIcons/QAR.png and /dev/null differ
diff --git a/components/currIcons/RUB.png b/components/currIcons/RUB.png
deleted file mode 100644
index e7f7f66..0000000
Binary files a/components/currIcons/RUB.png and /dev/null differ
diff --git a/components/currIcons/SAR.png b/components/currIcons/SAR.png
deleted file mode 100644
index 48035ef..0000000
Binary files a/components/currIcons/SAR.png and /dev/null differ
diff --git a/components/currIcons/SDG.png b/components/currIcons/SDG.png
deleted file mode 100644
index c0c2961..0000000
Binary files a/components/currIcons/SDG.png and /dev/null differ
diff --git a/components/currIcons/SEK.png b/components/currIcons/SEK.png
deleted file mode 100644
index c86720e..0000000
Binary files a/components/currIcons/SEK.png and /dev/null differ
diff --git a/components/currIcons/SGD.png b/components/currIcons/SGD.png
deleted file mode 100644
index 58b45cf..0000000
Binary files a/components/currIcons/SGD.png and /dev/null differ
diff --git a/components/currIcons/SYP.png b/components/currIcons/SYP.png
deleted file mode 100644
index 9b5f2de..0000000
Binary files a/components/currIcons/SYP.png and /dev/null differ
diff --git a/components/currIcons/TND.png b/components/currIcons/TND.png
deleted file mode 100644
index 83f60f1..0000000
Binary files a/components/currIcons/TND.png and /dev/null differ
diff --git a/components/currIcons/TRY.png b/components/currIcons/TRY.png
deleted file mode 100644
index ec65336..0000000
Binary files a/components/currIcons/TRY.png and /dev/null differ
diff --git a/components/currIcons/USD.png b/components/currIcons/USD.png
deleted file mode 100644
index faf521d..0000000
Binary files a/components/currIcons/USD.png and /dev/null differ
diff --git a/components/currIcons/VES.png b/components/currIcons/VES.png
deleted file mode 100644
index 9b76c82..0000000
Binary files a/components/currIcons/VES.png and /dev/null differ
diff --git a/components/currIcons/XAF.png b/components/currIcons/XAF.png
deleted file mode 100644
index 85b426a..0000000
Binary files a/components/currIcons/XAF.png and /dev/null differ
diff --git a/components/currIcons/YER.png b/components/currIcons/YER.png
deleted file mode 100644
index 4245594..0000000
Binary files a/components/currIcons/YER.png and /dev/null differ
diff --git a/components/currIcons/ZAR.png b/components/currIcons/ZAR.png
deleted file mode 100644
index 213b321..0000000
Binary files a/components/currIcons/ZAR.png and /dev/null differ
diff --git a/components/currency-converter/CurrencyConverter.js b/components/currency-converter/CurrencyConverter.js
index e9c9476..5d35408 100644
--- a/components/currency-converter/CurrencyConverter.js
+++ b/components/currency-converter/CurrencyConverter.js
@@ -1,5 +1,4 @@
import Toast from 'react-bootstrap/Toast'
-
import { useTranslation } from 'react-i18next'
import useSWR from 'swr'
import { Dropdown, DropdownButton } from 'react-bootstrap'
@@ -65,8 +64,6 @@ const CurrencyConverter = ({ sectionClass }) => {
currName: i18n.dir() === 'ltr' ? 'USA Dollad' : 'دولار امريكي',
})
- /* const [currBuy, setCurrBuy] = useState(""); */
-
const [valueToTransfer, setValueToTransfer, valueToTransferRef] = useState('')
const [result, setResult, resultRef] = useState('')
@@ -75,11 +72,9 @@ const CurrencyConverter = ({ sectionClass }) => {
for (let [key, value] of Object.entries(item)) {
return [key, value]
}
- /* return curr1; */
})
const handleChange = (event) => {
- /* setCurrBuy(""); */
setConvertFrom({
currAbbreviation: event.slice(0, 3),
currName: event.slice(4),
@@ -100,7 +95,6 @@ const CurrencyConverter = ({ sectionClass }) => {
}
const handleChangeTo = (event) => {
- /* setCurrBuy(""); */
setConvertTo({
currAbbreviation: event.slice(0, 3),
currName: event.slice(4),
@@ -129,7 +123,6 @@ const CurrencyConverter = ({ sectionClass }) => {
item[1].map((currBuy) => {
if (currBuy.curr_abbreviation === convertTo.currAbbreviation) {
vv = currBuy.curr_sell
- /* setCurrBuy(currBuy.curr_buy); */
}
})
}
@@ -146,10 +139,6 @@ const CurrencyConverter = ({ sectionClass }) => {
return num1 * num2
}
- /* let resulMultiply = multiply(valueToTransfer, num2);
- setResult(resulMultiply); */
-
- /* list of options */
const options = [
{
currName: i18n.dir() === 'ltr' ? 'Syrian Pound' : 'ليرة سورية',
@@ -184,7 +173,6 @@ const CurrencyConverter = ({ sectionClass }) => {
convertToRef.current.currAbbreviation
) {
vv = currBuy.curr_sell
- /* setCurrBuy(currBuy.curr_buy); */
}
})
}
@@ -235,7 +223,6 @@ const CurrencyConverter = ({ sectionClass }) => {
id='dropdown-menu-align-right'
onSelect={handleChange}
disabled={!coins}
- /* className="converterDropdown" */
>
{options.map((option, index) => (