Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 436498bef9 | |||
| 086b1202a4 | |||
| a81ccdc4d7 | |||
| 33abbbcd2b | |||
| 04844af733 |
Binary file not shown.
|
After Width: | Height: | Size: 71 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 67 KiB |
@@ -2,6 +2,8 @@ import React from "react";
|
|||||||
// import Lottie from "react-lottie";
|
// import Lottie from "react-lottie";
|
||||||
import { useNavigate } from "react-router-dom";
|
import { useNavigate } from "react-router-dom";
|
||||||
import * as animationData from "../../assets/images/Lotties/77618-website-404-error-animation.json";
|
import * as animationData from "../../assets/images/Lotties/77618-website-404-error-animation.json";
|
||||||
|
import { localImgLoad } from "../../lib";
|
||||||
|
// import BgError from '../../assets/images/wrench-page-notfound.jpg'
|
||||||
|
|
||||||
export default function FourZeroFour() {
|
export default function FourZeroFour() {
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
@@ -14,16 +16,21 @@ export default function FourZeroFour() {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
<div className="flex justify-center items-center w-full h-screen bg-[#232247]">
|
<div className={`my-custom-bg-class flex justify-center items-center w-full h-screen before:content-[''] before:absolute before:inset-0 before:bg-[#cdcdcd]/[.8]`}>
|
||||||
<div>
|
<div className="relative pt-32 max-w-3xl">
|
||||||
{/* <Lottie options={defaultOptions} width={600} height={600} /> */}
|
{/* <Lottie options={defaultOptions} width={600} height={600} /> */}
|
||||||
<div className="flex justify-center">
|
<div className="px-16 md:px-24 flex flex-col items-center justify-center gap-4">
|
||||||
|
<img src={localImgLoad('images/404.png')} className="w-72" alt='404 Image' />
|
||||||
|
<p className="mt-8 text-red-600 font-black text-4xl md:text-5xl tracking-wider text-center">Sorry!</p>
|
||||||
|
<h1 className="text-black text-4xl md:text-5xl font-black tracking-wide text-center leading-tight">The page can’t be found.</h1>
|
||||||
|
<p className="px-2 md:px-8 text-slate-700 text-base md:text-lg text-center">The page you're looking for isn't available. Use the go back button below</p>
|
||||||
<button
|
<button
|
||||||
onClick={() => navigate(-1)}
|
onClick={() => navigate(-1)}
|
||||||
type="button"
|
type="button"
|
||||||
className="btn-gradient text-white text-lg w-[150px] h-[50px] rounded-full"
|
className="px-4 md:px-8 border-2 border-[#2b70fa] rounded-lg text-[#007bff] text-base md:text-lg h-[48px] flex justify-center items-center gap-1"
|
||||||
>
|
>
|
||||||
Go Back
|
<span>Go Back</span>
|
||||||
|
<span className="pb-1">→</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -49,12 +49,12 @@ function RewardsTable() {
|
|||||||
return (
|
return (
|
||||||
<div className='flex flex-col justify-between min-h-[500px]'>
|
<div className='flex flex-col justify-between min-h-[500px]'>
|
||||||
{familyRewardHistory.loading ?
|
{familyRewardHistory.loading ?
|
||||||
<LoadingSpinner size='16' color='sky-blue' height='h-full' />
|
<LoadingSpinner size='16' color='sky-blue' height='h-[500px]' />
|
||||||
:
|
:
|
||||||
<table className="wallet-activity w-full table-auto border-collapse text-left">
|
<table className="wallet-activity w-full table-auto border-collapse text-left">
|
||||||
<thead className='border-b-2'>
|
<thead className='border-b-2'>
|
||||||
<tr className='text-slate-600'>
|
<tr className='text-slate-600'>
|
||||||
<th className="p-2">Description</th>
|
<th className="p-2"></th>
|
||||||
<th className="p-2">Amount</th>
|
<th className="p-2">Amount</th>
|
||||||
<th className="p-2">Date</th>
|
<th className="p-2">Date</th>
|
||||||
<th className="p-2">Confirmation</th>
|
<th className="p-2">Confirmation</th>
|
||||||
|
|||||||
@@ -282,8 +282,6 @@ export default function History() {
|
|||||||
{/* REWARD SECTION */}
|
{/* REWARD SECTION */}
|
||||||
{tab == 'reward' &&
|
{tab == 'reward' &&
|
||||||
<div className="wallet w-full border-t">
|
<div className="wallet w-full border-t">
|
||||||
<h1 className="p-2 text-xl font-bold text-dark-gray dark:text-white tracking-wide">Rewards</h1>
|
|
||||||
{/* <p className='text-base text-slate-500 dark:text-white'>Activity Report</p> */}
|
|
||||||
<RewardsTable />
|
<RewardsTable />
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -304,6 +304,12 @@ input[type="text"][dir="rtl"] {
|
|||||||
transform: rotate(360deg);
|
transform: rotate(360deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.my-custom-bg-class{
|
||||||
|
background: url("./assets/images/wrench-page-notfound.jpg") center/cover;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
/* TODO: =================================default end================================ */
|
/* TODO: =================================default end================================ */
|
||||||
/* TODO: =================================update password================================ */
|
/* TODO: =================================update password================================ */
|
||||||
.content-wrapper.thankyou-section {
|
.content-wrapper.thankyou-section {
|
||||||
|
|||||||
Reference in New Issue
Block a user