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 = () => {
- Syria Exchange + Syria Exchange
@@ -141,22 +137,10 @@ const Header = () => { {curr1.map((item, index) => ( - + @@ -180,10 +164,16 @@ const Header = () => { - + - + @@ -194,7 +184,7 @@ const Header = () => { } @@ -205,7 +195,7 @@ const Header = () => { } @@ -216,7 +206,7 @@ const Header = () => { } @@ -227,7 +217,7 @@ const Header = () => { } @@ -247,8 +237,6 @@ const Header = () => { {lngs[lng].nativeName} ))} - {/* - */}
@@ -259,7 +247,7 @@ const Header = () => { diff --git a/components/Header111.js b/components/Header111.js index c47dc83..76f3b1b 100644 --- a/components/Header111.js +++ b/components/Header111.js @@ -1,14 +1,11 @@ import ListItem2 from './ListItem2' import { RiArrowUpSLine, RiArrowDownSLine } from 'react-icons/ri' -/* import sysUpdate from "../assets/system-update.png"; */ -/* import Paragraph from "./Paragraph"; */ -/* import HeaderRefreshIcon from "./HeaderRefreshIcon"; */ -import { Dropdown, Button } from 'react-bootstrap' +import { Dropdown } from 'react-bootstrap' import { useEffect, useState } from 'react' import Link from 'next/link' import ListItemSocial from './ListItemSocial' import { useTranslation } from 'react-i18next' -import { Navbar, Nav, NavDropdown } from 'react-bootstrap' +import { Navbar, Nav } from 'react-bootstrap' import { useRouter } from 'next/router' import Skeleton from 'react-loading-skeleton' @@ -86,13 +83,6 @@ const Header = () => { getCityCoins() }, [i18n]) - // if (interCoins === undefined) { - // return null; - // } - // if (cityCoins === undefined) { - // return null; - // } - const city_curr = cityCoins?.city_coins?.map((item) => { for (let [key, value] of Object.entries(item)) { return [key, value] @@ -106,11 +96,10 @@ const Header = () => { } return curr1 }) - /* const refreshPage = (e) => { - window.router.reload(false); - }; */ + let textAlign = i18n.dir() === 'ltr' ? 'text-left' : '' let textAlignName = i18n.dir() === 'ltr' ? 'headerCurrName ' : '' + return (