add loading page
This commit is contained in:
7
src/app/(withAuth)/dashboard/azmayesh/loading.jsx
Normal file
7
src/app/(withAuth)/dashboard/azmayesh/loading.jsx
Normal file
@@ -0,0 +1,7 @@
|
||||
'use client'
|
||||
import PageLoading from "@/core/components/PageLoading"
|
||||
|
||||
const Loading = () => {
|
||||
return <PageLoading />
|
||||
}
|
||||
export default Loading
|
||||
7
src/app/(withAuth)/dashboard/azmayesh_type/loading.jsx
Normal file
7
src/app/(withAuth)/dashboard/azmayesh_type/loading.jsx
Normal file
@@ -0,0 +1,7 @@
|
||||
'use client'
|
||||
import PageLoading from "@/core/components/PageLoading"
|
||||
|
||||
const Loading = () => {
|
||||
return <PageLoading />
|
||||
}
|
||||
export default Loading
|
||||
7
src/app/(withAuth)/dashboard/loading.jsx
Normal file
7
src/app/(withAuth)/dashboard/loading.jsx
Normal file
@@ -0,0 +1,7 @@
|
||||
'use client'
|
||||
import PageLoading from "@/core/components/PageLoading"
|
||||
|
||||
const Loading = () => {
|
||||
return <PageLoading />
|
||||
}
|
||||
export default Loading
|
||||
@@ -0,0 +1,7 @@
|
||||
'use client'
|
||||
import PageLoading from "@/core/components/PageLoading"
|
||||
|
||||
const Loading = () => {
|
||||
return <PageLoading />
|
||||
}
|
||||
export default Loading
|
||||
@@ -0,0 +1,7 @@
|
||||
'use client'
|
||||
import PageLoading from "@/core/components/PageLoading"
|
||||
|
||||
const Loading = () => {
|
||||
return <PageLoading />
|
||||
}
|
||||
export default Loading
|
||||
@@ -1,6 +1,6 @@
|
||||
import favicon from "@/assets/images/favicon.svg";
|
||||
import { AuthProvider } from "@/lib/contexts/auth";
|
||||
import { TableSettingProvider } from "@/lib/contexts/tableSetting";
|
||||
import favicon from "@/assets/images/favicon.svg";
|
||||
|
||||
export const metadata = {
|
||||
title: "سامانه جامع راهداری",
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
'use client'
|
||||
import { Backdrop, Box, Stack, styled, Typography, useTheme } from "@mui/material";
|
||||
import SvgLoading from "@/core/components/svgs/SvgLoading";
|
||||
import SvgError from "@/core/components/svgs/SvgError";
|
||||
|
||||
10
src/core/components/PageLoading.jsx
Normal file
10
src/core/components/PageLoading.jsx
Normal file
@@ -0,0 +1,10 @@
|
||||
'use client'
|
||||
import { Paper } from "@mui/material"
|
||||
import LoadingHardPage from "./LoadingHardPage"
|
||||
|
||||
const PageLoading = () => {
|
||||
return <Paper elevation={0} sx={{ position: "relative", overflowX: "hidden", width: '100%', height: '100%' }}>
|
||||
<LoadingHardPage width={100} height={100} loading={true} sx={{ position: 'absolute' }} />
|
||||
</Paper>
|
||||
}
|
||||
export default PageLoading
|
||||
Reference in New Issue
Block a user