add directory assets
This commit is contained in:
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
@@ -1,10 +1,9 @@
|
||||
import { useRef } from "react";
|
||||
import { Marker, useMapEvents } from "react-leaflet";
|
||||
|
||||
const prefix = process.env.NODE_ENV === "production" ? "/v3" : "";
|
||||
import LocationMarker from "@/assets/images/locationMarker.png";
|
||||
|
||||
const locationMarker = L.icon({
|
||||
iconUrl: prefix + "/images/locationMarker.png",
|
||||
iconUrl: LocationMarker.src,
|
||||
iconSize: [50, 50],
|
||||
iconAnchor: [25, 50],
|
||||
});
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
"use client";
|
||||
import { Stack, Typography } from "@mui/material";
|
||||
import Image from "next/image";
|
||||
import RmsLogo from "@/assets/images/rmsLogo.png";
|
||||
|
||||
const HeaderBottom = () => {
|
||||
return (
|
||||
@@ -14,7 +15,7 @@ const HeaderBottom = () => {
|
||||
alignItems={"center"}
|
||||
direction={"row"}
|
||||
>
|
||||
<Image alt="" priority src={"/images/rmsLogo.png"} width={65} height={71} />
|
||||
<Image alt="" priority src={RmsLogo.src} width={65} height={71} />
|
||||
<Stack alignItems={"center"} spacing={1}>
|
||||
<Typography variant="h5" sx={{ color: (theme) => theme.palette.primary2.contrastText }}>
|
||||
سامانه جامع راهداری
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { Stack } from "@mui/material";
|
||||
import Image from "next/image";
|
||||
import HeaderLogo from "@/assets/images/headerLogo.png";
|
||||
|
||||
const HeaderTop = () => {
|
||||
return (
|
||||
<Stack sx={{ p: 2 }}>
|
||||
<Image alt="" priority src={"/images/headerLogo.png"} width={190} height={44} />
|
||||
<Image alt="" priority src={HeaderLogo.src} width={190} height={44} />
|
||||
</Stack>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user