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 { useRef } from "react";
|
||||||
import { Marker, useMapEvents } from "react-leaflet";
|
import { Marker, useMapEvents } from "react-leaflet";
|
||||||
|
import LocationMarker from "@/assets/images/locationMarker.png";
|
||||||
const prefix = process.env.NODE_ENV === "production" ? "/v3" : "";
|
|
||||||
|
|
||||||
const locationMarker = L.icon({
|
const locationMarker = L.icon({
|
||||||
iconUrl: prefix + "/images/locationMarker.png",
|
iconUrl: LocationMarker.src,
|
||||||
iconSize: [50, 50],
|
iconSize: [50, 50],
|
||||||
iconAnchor: [25, 50],
|
iconAnchor: [25, 50],
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
"use client";
|
"use client";
|
||||||
import { Stack, Typography } from "@mui/material";
|
import { Stack, Typography } from "@mui/material";
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
|
import RmsLogo from "@/assets/images/rmsLogo.png";
|
||||||
|
|
||||||
const HeaderBottom = () => {
|
const HeaderBottom = () => {
|
||||||
return (
|
return (
|
||||||
@@ -14,7 +15,7 @@ const HeaderBottom = () => {
|
|||||||
alignItems={"center"}
|
alignItems={"center"}
|
||||||
direction={"row"}
|
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}>
|
<Stack alignItems={"center"} spacing={1}>
|
||||||
<Typography variant="h5" sx={{ color: (theme) => theme.palette.primary2.contrastText }}>
|
<Typography variant="h5" sx={{ color: (theme) => theme.palette.primary2.contrastText }}>
|
||||||
سامانه جامع راهداری
|
سامانه جامع راهداری
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
import { Stack } from "@mui/material";
|
import { Stack } from "@mui/material";
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
|
import HeaderLogo from "@/assets/images/headerLogo.png";
|
||||||
|
|
||||||
const HeaderTop = () => {
|
const HeaderTop = () => {
|
||||||
return (
|
return (
|
||||||
<Stack sx={{ p: 2 }}>
|
<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>
|
</Stack>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user