update
This commit is contained in:
@@ -3,6 +3,9 @@ const isProd = process.env.NODE_ENV === 'production'
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
assetPrefix: isProd ? '/v3' : undefined,
|
||||
images: {
|
||||
path: isProd ? '/v3/_next/image' : undefined,
|
||||
}
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
||||
BIN
public/images/rmsLogo.png
Normal file
BIN
public/images/rmsLogo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
@@ -1 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 468.85 509.45"><defs><style>.cls-1{fill:#ed8a23;}.cls-2{fill:#4962ad;}</style></defs><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><polygon class="cls-1" points="122.85 98.5 122.85 154.2 133.75 143.8 192.85 183.7 192.85 98.3 122.85 98.5"/><polygon class="cls-1" points="212.05 56.5 211.35 193.7 241.55 213.2 285.05 180.5 285.55 55.7 212.05 56.5"/><polygon class="cls-1" points="304.45 0.8 304.85 167.5 374.45 114.9 374.35 0 304.45 0.8"/><path class="cls-1" d="M387.85,233.4A24,24,0,1,0,353,254.8a144.82,144.82,0,0,1-232.2,103.3,145.22,145.22,0,0,1-55.4-94.3l-8,6.7-12-14.3a163.44,163.44,0,0,0,56.3,110.9L98,371.4h0l-11.3,14.7A11.71,11.71,0,0,0,71,388.7L4.45,475a21.39,21.39,0,1,0,33.9,26.1l66.5-86.3a11.87,11.87,0,0,0-1-15.5l11.5-14.9h0l3.1-4.7a163.17,163.17,0,0,0,90.1,27.1h0a163.57,163.57,0,0,0,163.5-150.9A23.78,23.78,0,0,0,387.85,233.4Z"/><polygon class="cls-2" points="468.85 83.1 383.35 93.6 400.45 116.3 241.55 235 133.55 163.9 38.95 240.2 40.85 242.4 57.95 262.7 69.75 252.9 133.95 198.7 241.55 271 417.55 139 435.15 162.4 468.85 83.1"/></g></g></svg>
|
||||
|
Before Width: | Height: | Size: 1.1 KiB |
@@ -14,7 +14,7 @@ const HeaderBottom = () => {
|
||||
alignItems={"center"}
|
||||
direction={"row"}
|
||||
>
|
||||
<Image alt="" priority src={"/images/rmsLogo.svg"} width={65} height={71} />
|
||||
<Image alt="" priority src={"/images/rmsLogo.png"} width={65} height={71} />
|
||||
<Stack alignItems={"center"} spacing={1}>
|
||||
<Typography variant="h5" sx={{ color: (theme) => theme.palette.primary2.contrastText }}>
|
||||
سامانه جامع راهداری
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
import { AirlineSeatReclineNormal, Assessment, Repartition, Security, SpaceDashboard } from "@mui/icons-material";
|
||||
import { Security } from "@mui/icons-material";
|
||||
const prefix = process.env.NODE_ENV === 'production' ? '/v3' : ''
|
||||
|
||||
export const pageMenu = [
|
||||
{
|
||||
id: "dashboard",
|
||||
label: "پیشخوان",
|
||||
type: "page",
|
||||
route: "/dashboard",
|
||||
route: prefix + "/dashboard",
|
||||
icon: <Security sx={{ width: "inherit", height: "inherit" }} />,
|
||||
permissions: ["all"]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user