set image path at deployed state
This commit is contained in:
parent
83c2f7fb0c
commit
4b988109f9
@ -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%"
|
||||
|
@ -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%"
|
||||
|
@ -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%"
|
||||
|
@ -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 /> },
|
||||
|
Loading…
x
Reference in New Issue
Block a user