set image path at deployed state

This commit is contained in:
pramod mahajan 2025-08-26 11:59:45 +05:30
parent 83c2f7fb0c
commit 4b988109f9
4 changed files with 5 additions and 6 deletions

View File

@ -1,6 +1,5 @@
import React from "react";
import LoginPage from "./LoginPage";
const MainLogin = () => {
return (
<>
@ -8,7 +7,7 @@ const MainLogin = () => {
<div className="d-none d-lg-flex col-lg-7 col-xl-8 align-items-center p-5">
<div className="w-100 d-flex justify-content-center">
<img
src="../../../public/img/illustrations/worker_03.png"
src="/img/illustrations/worker_03.png"
className="img-fluid"
alt="Login image"
width="70%"

View File

@ -8,7 +8,7 @@ const MainLoginWithOTPPage = () => {
<div className="d-none d-lg-flex col-lg-7 col-xl-8 align-items-center p-5">
<div className="w-100 d-flex justify-content-center">
<img
src="../../../public/img/illustrations/worker_03.png"
src="/img/illustrations/worker_03.png"
className="img-fluid"
alt="Login image"
width="70%"

View File

@ -8,7 +8,7 @@ const MainResetPasswordPage = () => {
<div className="d-none d-lg-flex col-lg-7 col-xl-8 align-items-center p-5">
<div className="w-100 d-flex justify-content-center">
<img
src="../../../public/img/illustrations/worker_03.png"
src="/img/illustrations/worker_03.png"
className="img-fluid"
alt="Login image"
width="70%"

View File

@ -46,7 +46,7 @@ import MainResetPasswordPage from "../pages/authentication/MainResetPasswordPage
const router = createBrowserRouter(
[
{ path: "/", element: <LandingPage /> },
// { path: "/", element: <LandingPage /> },
{
element: <AuthLayout />,
children: [
@ -66,7 +66,7 @@ const router = createBrowserRouter(
{
element: <HomeLayout />,
children: [
{ path: "/dashboard", element: <Dashboard /> },
{ path: "/", element: <Dashboard /> },
{ path: "/projects", element: <ProjectList /> },
{ path: "/projects/details", element: <ProjectDetails /> },
{ path: "/project/manage/:projectId", element: <ManageProject /> },