Skip to content

Commit

Permalink
Update images base path
Browse files Browse the repository at this point in the history
  • Loading branch information
manojLondhe committed Nov 26, 2024
1 parent 65765a3 commit 9e46c95
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/assets/styles/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

.main-bg {
min-height: 100vh;
background-image: url("../src/assets/images/backgroung.png");
background-image: url("../assets/images/backgroung.png");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
Expand Down
4 changes: 2 additions & 2 deletions src/components/common/layout/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ const Navbar: React.FC<{ isMenu?: boolean }> = ({ isMenu = true }) => {
navigate("/userprofile");
}}
>
<Image src="../src/assets/images/profile.png" />
<Image src="../assets/images/profile.png" />
<Text ml={4}>{t("NAVBAR_PROFILE")}</Text>
</MenuItem>
<MenuItem
bg="var(--menu-background)"
onClick={handleLogout}
p={4}
>
<Image ml={1} src="../src/assets/images/logout.png" />
<Image ml={1} src="../assets/images/logout.png" />

<Text ml={4}>{t("NAVBAR_LOGOUT")}</Text>
</MenuItem>
Expand Down
4 changes: 2 additions & 2 deletions src/components/common/layout/UploadDocuments.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function UploadDocuments() {
mt="6"
>
<Image
src="../../src/assets/images/file_upload.png"
src="../../assets/images/file_upload.png"
alt="Upload Documents"
mr="2"
/>
Expand All @@ -82,7 +82,7 @@ function UploadDocuments() {
mt="6"
>
<Image
src="../../src/assets/images/file_upload.png"
src="../../assets/images/file_upload.png"
alt="Upload Documents"
mr="2"
/>
Expand Down
2 changes: 1 addition & 1 deletion src/screens/auth/Splash.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const Login: React.FC = () => {
<Layout isNavbar={false} isBottombar={false}>
<Flex height="50%" justifyContent="flex-end" className="purple-bg">
<Image
src="../src/assets/images/frame.png"
src="../assets/images/frame.png"
alt="Login Image"
objectFit="contain"
transform="translateX(-50%)"
Expand Down

0 comments on commit 9e46c95

Please sign in to comment.