This commit is contained in:
YasinShaikh123
2024-06-24 18:50:19 +05:30
8 changed files with 17 additions and 22 deletions

View File

@@ -17,6 +17,7 @@ import { Link } from "react-router-dom";
import { IoMdDownload } from "react-icons/io";
import * as XLSX from "xlsx";
import { useGetNewsLetterEmailQuery } from "../Services/api.service";
import profile from "../assets/proavatar.webp"
const HeaderMain = ({ link, btnTitle, title, icon, logOutHandler, slideDirecttion }) => {
@@ -65,7 +66,7 @@ const HeaderMain = ({ link, btnTitle, title, icon, logOutHandler, slideDirecttio
<Avatar
size="sm"
name="Dan Abrahmov"
src="https://bit.ly/dan-abramov"
src={profile}
/>
<Box
color={"gray.800"}

View File

@@ -159,7 +159,7 @@ const DashboardLayout = () => {
{slideFromRight ? null : (
<aside
className="h-100 position-relative sideBar pe-1"
className="h-100 position-relative sideBar pe-1"
// onMouseOver={() => setIsDrawerOpen(true)}
// onMouseLeave={() => setIsDrawerOpen(false)}
style={{
@@ -316,8 +316,8 @@ const DashboardLayout = () => {
<Text
as={"span"}
key={index}
className="web-text-xxsmall fw-600 mt-1 text-secondary fw-bold"
padding={0}
className="web-text-xxsmall fw-600 text-secondary fw-bold"
>
{title}
</Text>

View File

@@ -110,11 +110,11 @@ const Sponser = () => {
// />
item?.status ? (
<Badge variant={"outline"} colorScheme="green">
<Badge bg={'transparent'} color="green.500">
Passed
</Badge>
) : (
<Badge variant={"outline"} colorScheme="red">
<Badge bg={'transparent'} color="red.500">
Not passes
</Badge>
),

View File

@@ -9,10 +9,13 @@ const NoInternetScreen = () => {
justifyContent={'center'}
alignItems={'center'}
flexDirection={'column'}
position={"relative"}
gap={5}
>
<Image src={noInternet} w={300} />
{/* <Text color={'blue.800'} as={'span'} className='fw-bold'>No Internet !</Text> */}
<Text color={'gray.500'} fontSize={'sm'} fontWeight={'500'} position={'absolute'} bottom={0} left={'47%'}>Tanami v1.0</Text>
</Box>
)

View File

@@ -2,7 +2,7 @@ import { Box, Image, Text } from '@chakra-ui/react'
import React from 'react'
import noInternet from "../assets/Error.svg"
const UnderConstruction = () => {
const UnderConstruction = ({title}) => {
return (
<Box
w={'100vw'}
@@ -16,7 +16,7 @@ const UnderConstruction = () => {
>
<Box w={300} className='d-flex justify-content-start align-items-center flex-column gap-2'>
<Image src={noInternet} w={300} />
<Text color={'purple.900'} as={'span'} className='fw-bold'>Comming soon...</Text>
<Text color={'purple.900'} as={'span'} className='fw-bold'>{title} Comming soon...</Text>
</Box>
</Box>
)

View File

@@ -21,7 +21,7 @@ import { LuContact } from "react-icons/lu";
export const nav = [
{
title: "MAIN MENU",
title: "MASTER MENU",
type: "title",
},
{
@@ -68,12 +68,12 @@ export const nav = [
submenu: [
{
title: "Investor Details",
path: "/View Investor Transactions",
path: "/Investor Details",
icon:TbListDetails
},
{
title: "Investor Transactions",
path: "/View IO",
path: "/Investor Transactions",
icon:TbTransactionDollar
},
],
@@ -180,16 +180,6 @@ export const nav = [
// path: "/logout",
// Icon: HiOutlineNewspaper,
// },
// {
// title: "SPONSER",
// type: "title",
// },
// {
// title: "Single Link",
// type: "single",
// path: "/",
// Icon: HiOutlineNewspaper,
// },
];

View File

@@ -3,6 +3,7 @@ import Investment from "../Pages/Investment/Investment";
import ExchangeRate from "../Pages/Master/ExchangeRate/ExchangeRate";
import AddSponser from "../Pages/Master/Sponser/AddSponser";
import Sponser from "../Pages/Master/Sponser/Sponsers";
import UnderConstruction from "../Pages/UnderConstruction";
export const RouteLink = [
// =============[ Tanami ]================
@@ -12,5 +13,5 @@ export const RouteLink = [
{ path: "/exchange-rate", Component: ExchangeRate },
{ path: "/exchange-rate", Component: UnderConstruction },
];

BIN
src/assets/proavatar.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB