diff --git a/app/dashboard/not-found.js b/app/dashboard/not-found.js
new file mode 100644
index 0000000..dede76b
--- /dev/null
+++ b/app/dashboard/not-found.js
@@ -0,0 +1,12 @@
+import Layout from '@/components/layout'
+import NotFoundPage from '@/components/notFound'
+
+function NotFound() {
+ return (
+
+
+
+ )
+}
+
+export default NotFound
\ No newline at end of file
diff --git a/app/not-found.js b/app/not-found.js
new file mode 100644
index 0000000..dede76b
--- /dev/null
+++ b/app/not-found.js
@@ -0,0 +1,12 @@
+import Layout from '@/components/layout'
+import NotFoundPage from '@/components/notFound'
+
+function NotFound() {
+ return (
+
+
+
+ )
+}
+
+export default NotFound
\ No newline at end of file
diff --git a/components/dashboard/userAccount/ContentTabs.js b/components/dashboard/userAccount/ContentTabs.js
index edc0294..1f03491 100644
--- a/components/dashboard/userAccount/ContentTabs.js
+++ b/components/dashboard/userAccount/ContentTabs.js
@@ -12,6 +12,7 @@ import Transactions from "./tabs/transactions";
import IsTurnsDetails from "./tabs/turns/isTurnsDetails";
import ArrowRightD from "@/components/icons/ArrowRightD";
import { Button } from "@mui/material";
+import NotfoundDashboard from "./NotfoundDashboard";
const listTab = ['حساب کاربری', 'نوبت های من', 'تراکنش های من', 'نظرات من', 'پیام ها'];
@@ -23,7 +24,7 @@ function ContentTabs({ user, value, setValue, isOpenSide, setIsOpenSide }) {
useEffect(() => {
setTimeout(() => {
- setLoading(true);
+ setLoading(false);
}, 2000);
}, []);
@@ -33,7 +34,8 @@ function ContentTabs({ user, value, setValue, isOpenSide, setIsOpenSide }) {
,
,
,
-
+ ,
+
];
return (
diff --git a/components/dashboard/userAccount/NotfoundDashboard.js b/components/dashboard/userAccount/NotfoundDashboard.js
new file mode 100644
index 0000000..62370a1
--- /dev/null
+++ b/components/dashboard/userAccount/NotfoundDashboard.js
@@ -0,0 +1,35 @@
+import NumberNotFound from "@/components/icons/NumberNotFound"
+import { Button } from "@mui/material"
+import Image from "next/image"
+
+function NotfoundDashboard() {
+ return (
+
+
+
+
+
+
+
صفحه مورد نظر یافت نشد!
+
متاسفانه صفحه ای که به دنبال آن هستید وجود ندارد یا پاک شده است.
+
+
+
+ )
+}
+
+export default NotfoundDashboard
\ No newline at end of file
diff --git a/components/dashboard/userAccount/UserAccount.js b/components/dashboard/userAccount/UserAccount.js
index 1404da4..6f9c24a 100644
--- a/components/dashboard/userAccount/UserAccount.js
+++ b/components/dashboard/userAccount/UserAccount.js
@@ -1,17 +1,24 @@
import ContentTabs from "./ContentTabs"
import Head from "./Head"
+import NotfoundDashboard from "./NotfoundDashboard"
function UserAccountPage({ user, value, setValue, isOpenSide, setIsOpenSide }) {
return (
-
-
+ {value === 5 ? (
+
+ ) : (
+ <>
+