From 1cfd5c556400c96ea165798489ef3cc8c9e8fc96 Mon Sep 17 00:00:00 2001 From: Karunakar Antham Date: Tue, 3 Oct 2023 11:20:13 +0200 Subject: [PATCH] wip --- package-lock.json | 13 ++++---- src/components/Grid/ComplexGrid.tsx | 2 +- .../application/chat/UserAvatar.tsx | 2 +- .../application/chat/UserDetails.tsx | 8 ++--- .../application/contact/UserDetails.tsx | 2 +- .../application/contact/UserEdit.tsx | 4 +-- .../customer/Product/ProductAdd.tsx | 8 ++--- .../application/e-commerce/Checkout/Cart.tsx | 2 +- .../e-commerce/Checkout/CartEmpty.tsx | 4 +-- .../e-commerce/Checkout/CouponCode.tsx | 2 +- .../e-commerce/Checkout/OrderComplete.tsx | 2 +- .../e-commerce/Checkout/Payment.tsx | 2 +- .../e-commerce/Checkout/PaymentCard.tsx | 4 +-- .../e-commerce/Checkout/PaymentOptions.ts | 6 ++-- .../ProductDetails/ProductImages.tsx | 18 +++++------ .../e-commerce/Products/ProductEmpty.tsx | 4 +-- .../application/kanban/Backlogs/AddItem.tsx | 2 +- .../application/kanban/Backlogs/AddStory.tsx | 2 +- .../application/kanban/Backlogs/EditStory.tsx | 2 +- .../kanban/Backlogs/StoryComment.tsx | 2 +- .../application/kanban/Board/EditItem.tsx | 2 +- .../application/kanban/Board/ItemComment.tsx | 2 +- .../application/kanban/Board/Items.tsx | 2 +- .../application/mail/MailDetails.tsx | 2 +- src/components/application/mail/MailEmpty.tsx | 4 +-- src/components/application/mail/MailList.tsx | 2 +- .../authentication/auth-forms/AuthLogin.tsx | 2 +- .../auth-forms/AuthRegister.tsx | 2 +- .../authentication/login/FirebaseLogin | 2 +- .../authentication/register/FirebaseRegister | 2 +- src/components/contact-us/ContactCard.tsx | 2 +- .../Analytics/LatestCustomerTableCard.tsx | 10 +++--- .../dashboard/Default/EarningCard.tsx | 2 +- src/components/landingpage/Demos.tsx | 6 ++-- src/components/landingpage/Footer.tsx | 2 +- src/components/landingpage/Header.tsx | 6 ++-- src/components/landingpage/Layouts.tsx | 10 +++--- src/components/landingpage/Slider.tsx | 8 ++--- src/components/landingpage/Subscribe.tsx | 2 +- .../ComingSoon/ComingSoon1/Slider.tsx | 6 ++-- .../ui-component/cards/AttachmentCard.tsx | 2 +- .../ui-component/cards/BackgroundPattern1.tsx | 4 +-- .../ui-component/cards/BackgroundPattern2.tsx | 4 +-- .../ui-component/cards/ContactCard.tsx | 2 +- .../ui-component/cards/ContactList.tsx | 2 +- .../ui-component/cards/FriendRequestCard.tsx | 2 +- .../ui-component/cards/FriendsCard.tsx | 2 +- .../ui-component/cards/GalleryCard.tsx | 2 +- .../cards/Post/Comment/Reply/index.tsx | 2 +- .../ui-component/cards/Post/Comment/index.tsx | 2 +- .../ui-component/cards/Post/index.tsx | 2 +- .../ui-component/cards/ProductCard.tsx | 2 +- .../ui-component/cards/ProductReview.tsx | 2 +- .../ui-component/cards/UserDetailsCard.tsx | 2 +- .../ui-component/cards/UserProfileCard.tsx | 2 +- .../ui-component/cards/UserSimpleCard.tsx | 2 +- .../advance/UIDialog/SimpleDialog.tsx | 2 +- .../account-profile/Profile1/Profile.tsx | 2 +- .../account-profile/Profile2/UserProfile.tsx | 2 +- .../account-profile/Profile3/Billing.tsx | 6 ++-- .../account-profile/Profile3/Profile.tsx | 2 +- src/components/users/list/Style1/UserList.tsx | 2 +- src/components/users/list/Style2/UserList.tsx | 10 +++--- src/components/widget/Data/ActiveTickets.tsx | 8 ++--- .../widget/Data/LatestCustomers.tsx | 10 +++--- src/components/widget/Data/LatestOrder.tsx | 8 ++--- src/components/widget/Data/LatestPosts.tsx | 4 +-- src/components/widget/Data/NewCustomers.tsx | 10 +++--- src/components/widget/Data/ProjectTable.tsx | 8 ++--- src/components/widget/Data/TeamMembers.tsx | 8 ++--- src/components/widget/Data/UserActivity.tsx | 6 ++-- .../NotificationSection/NotificationList.tsx | 2 +- .../Header/ProfileSection/index.tsx | 2 +- src/pages/404.tsx | 10 +++--- src/pages/500.tsx | 10 +++--- src/pages/api/comments/add.ts | 6 ++-- src/pages/api/comments/list/like.ts | 6 ++-- src/pages/api/posts/editComment.ts | 6 ++-- src/pages/api/posts/list.ts | 6 ++-- src/pages/api/posts/list/like.ts | 6 ++-- src/pages/api/replies/add.ts | 6 ++-- src/pages/api/replies/list/like.ts | 6 ++-- src/pages/api/user-list/s2/list.ts | 6 ++-- src/pages/app/chat.tsx | 2 +- src/pages/app/contact/c-card.tsx | 2 +- src/pages/app/contact/c-list.tsx | 2 +- src/pages/app/e-commerce/product-list.tsx | 2 +- src/pages/app/user/social-profile/[tab].tsx | 4 +-- .../pages/authentication/auth1/check-mail.tsx | 2 +- .../auth1/code-verification.tsx | 4 +-- .../authentication/auth1/forgot-password.tsx | 2 +- .../pages/authentication/auth1/login.tsx | 4 +-- .../pages/authentication/auth1/register.tsx | 4 +-- .../authentication/auth1/reset-password.tsx | 4 +-- .../pages/authentication/auth2/check-mail.tsx | 2 +- .../auth2/code-verification.tsx | 2 +- .../authentication/auth2/forgot-password.tsx | 2 +- .../pages/authentication/auth2/login.tsx | 2 +- .../pages/authentication/auth2/register.tsx | 2 +- .../authentication/auth2/reset-password.tsx | 2 +- src/pages/pages/contact-us/index.tsx | 2 +- src/pages/pages/faqs/index.tsx | 4 +-- .../maintenance/coming-soon/coming-soon1.tsx | 32 +++++++++---------- .../maintenance/coming-soon/coming-soon2.tsx | 10 +++--- src/pages/pages/maintenance/error.tsx | 10 +++--- .../maintenance/under-construction/index.tsx | 8 ++--- src/pages/pages/privacy-policy/index.tsx | 2 +- src/pages/ui-element/basic/avatar.tsx | 12 +++---- src/pages/ui-element/basic/cards.tsx | 6 ++-- src/pages/ui-element/basic/chip.tsx | 2 +- src/pages/utils/util-animation.tsx | 2 +- yarn.lock | 19 +++++++---- 112 files changed, 261 insertions(+), 255 deletions(-) diff --git a/package-lock.json b/package-lock.json index dc54539..4315052 100644 --- a/package-lock.json +++ b/package-lock.json @@ -92,6 +92,7 @@ "@types/draft-js": "^0.11.9", "@types/emoji-mart": "^3.0.9", "@types/jsonwebtoken": "^8.5.8", + "@types/lodash": "^4.14.199", "@types/node": "17.0.21", "@types/react": "17.0.39", "@types/react-beautiful-dnd": "^13.1.2", @@ -4397,9 +4398,9 @@ } }, "node_modules/@types/lodash": { - "version": "4.14.180", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.180.tgz", - "integrity": "sha512-XOKXa1KIxtNXgASAnwj7cnttJxS4fksBRywK/9LzRV5YxrF80BXZIGeQSuoESQ/VkUj30Ae0+YcuHc15wJCB2g==" + "version": "4.14.199", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.199.tgz", + "integrity": "sha512-Vrjz5N5Ia4SEzWWgIVwnHNEnb1UE1XMkvY5DGXrAeOGE9imk0hgTHh5GyDjLDJi9OTCn9oo9dXH1uToK1VRfrg==" }, "node_modules/@types/long": { "version": "4.0.1", @@ -20216,9 +20217,9 @@ } }, "@types/lodash": { - "version": "4.14.180", - "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.180.tgz", - "integrity": "sha512-XOKXa1KIxtNXgASAnwj7cnttJxS4fksBRywK/9LzRV5YxrF80BXZIGeQSuoESQ/VkUj30Ae0+YcuHc15wJCB2g==" + "version": "4.14.199", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.199.tgz", + "integrity": "sha512-Vrjz5N5Ia4SEzWWgIVwnHNEnb1UE1XMkvY5DGXrAeOGE9imk0hgTHh5GyDjLDJi9OTCn9oo9dXH1uToK1VRfrg==" }, "@types/long": { "version": "4.0.1", diff --git a/src/components/Grid/ComplexGrid.tsx b/src/components/Grid/ComplexGrid.tsx index 63c49d6..0247a1e 100644 --- a/src/components/Grid/ComplexGrid.tsx +++ b/src/components/Grid/ComplexGrid.tsx @@ -7,7 +7,7 @@ import { ButtonBase, Grid, Typography } from '@mui/material'; import SubCard from 'ui-component/cards/SubCard'; // assets -const banner = '/berry-dashboard/assets/images/profile/profile-back-10.png'; +const banner = '/assets/images/profile/profile-back-10.png'; // styled constant const Img = styled(Image)({ diff --git a/src/components/application/chat/UserAvatar.tsx b/src/components/application/chat/UserAvatar.tsx index 27c6457..4df9c18 100644 --- a/src/components/application/chat/UserAvatar.tsx +++ b/src/components/application/chat/UserAvatar.tsx @@ -6,7 +6,7 @@ import AvatarStatus from './AvatarStatus'; import { UserProfile } from 'types/user-profile'; // assets -const avatarImage = '/berry-dashboard/assets/images/users'; +const avatarImage = '/assets/images/users'; // ==============================|| CHAT USER AVATAR WITH STATUS ICON ||============================== // diff --git a/src/components/application/chat/UserDetails.tsx b/src/components/application/chat/UserDetails.tsx index 09510f3..6aabbf2 100644 --- a/src/components/application/chat/UserDetails.tsx +++ b/src/components/application/chat/UserDetails.tsx @@ -13,11 +13,11 @@ import PinDropTwoToneIcon from '@mui/icons-material/PinDropTwoTone'; import PhoneTwoToneIcon from '@mui/icons-material/PhoneTwoTone'; import EmailTwoToneIcon from '@mui/icons-material/EmailTwoTone'; -const images1 = '/berry-dashboard/assets/images/pages/img-catalog1.png'; -const images2 = '/berry-dashboard/assets/images/pages/img-catalog2.png'; -const images3 = '/berry-dashboard/assets/images/pages/img-catalog3.png'; +const images1 = '/assets/images/pages/img-catalog1.png'; +const images2 = '/assets/images/pages/img-catalog2.png'; +const images3 = '/assets/images/pages/img-catalog3.png'; -const avatarImage = '/berry-dashboard/assets/images/users'; +const avatarImage = '/assets/images/users'; // ==============================|| USER PROFILE / DETAILS ||============================== // diff --git a/src/components/application/contact/UserDetails.tsx b/src/components/application/contact/UserDetails.tsx index 8df431e..013b3db 100644 --- a/src/components/application/contact/UserDetails.tsx +++ b/src/components/application/contact/UserDetails.tsx @@ -21,7 +21,7 @@ import InfoTwoToneIcon from '@mui/icons-material/InfoTwoTone'; import ChatBubbleTwoToneIcon from '@mui/icons-material/ChatBubbleTwoTone'; import NotInterestedTwoToneIcon from '@mui/icons-material/NotInterestedTwoTone'; -const avatarImage = '/berry-dashboard/assets/images/users'; +const avatarImage = '/assets/images/users'; // sticky details card interface ElevationScrollProps { diff --git a/src/components/application/contact/UserEdit.tsx b/src/components/application/contact/UserEdit.tsx index fb20039..0608009 100644 --- a/src/components/application/contact/UserEdit.tsx +++ b/src/components/application/contact/UserEdit.tsx @@ -24,7 +24,7 @@ import PerfectScrollbar from 'react-perfect-scrollbar'; // project imports import SubCard from 'ui-component/cards/SubCard'; import { gridSpacing } from 'store/constant'; -const User1 = '/berry-dashboard/assets/images/users/avatar-1.png'; +const User1 = '/assets/images/users/avatar-1.png'; import { UserProfile } from 'types/user-profile'; // assets @@ -37,7 +37,7 @@ import UploadTwoToneIcon from '@mui/icons-material/UploadTwoTone'; import ControlPointIcon from '@mui/icons-material/ControlPoint'; import TodayTwoToneIcon from '@mui/icons-material/TodayTwoTone'; -const avatarImage = '/berry-dashboard/assets/images/users'; +const avatarImage = '/assets/images/users'; const jobTypes = [ { label: 'Work', id: 1 }, diff --git a/src/components/application/customer/Product/ProductAdd.tsx b/src/components/application/customer/Product/ProductAdd.tsx index bf39920..b78066d 100644 --- a/src/components/application/customer/Product/ProductAdd.tsx +++ b/src/components/application/customer/Product/ProductAdd.tsx @@ -33,10 +33,10 @@ import AnimateButton from 'ui-component/extended/AnimateButton'; import CloudUploadIcon from '@mui/icons-material/CloudUpload'; import CloseIcon from '@mui/icons-material/Close'; -const Product1 = '/berry-dashboard/assets/images/widget/prod1.jpg'; -const Product2 = '/berry-dashboard/assets/images/widget/prod2.jpg'; -const Product3 = '/berry-dashboard/assets/images/widget/prod3.jpg'; -const Product4 = '/berry-dashboard/assets/images/widget/prod4.jpg'; +const Product1 = '/assets/images/widget/prod1.jpg'; +const Product2 = '/assets/images/widget/prod2.jpg'; +const Product3 = '/assets/images/widget/prod3.jpg'; +const Product4 = '/assets/images/widget/prod4.jpg'; // styles const ImageWrapper = styled('div')(({ theme }) => ({ diff --git a/src/components/application/e-commerce/Checkout/Cart.tsx b/src/components/application/e-commerce/Checkout/Cart.tsx index 7a8c6d6..d4b848d 100644 --- a/src/components/application/e-commerce/Checkout/Cart.tsx +++ b/src/components/application/e-commerce/Checkout/Cart.tsx @@ -37,7 +37,7 @@ import RemoveIcon from '@mui/icons-material/Remove'; import DeleteTwoToneIcon from '@mui/icons-material/DeleteTwoTone'; import KeyboardBackspaceIcon from '@mui/icons-material/KeyboardBackspace'; -const prodImage = '/berry-dashboard/assets/images/e-commerce'; +const prodImage = '/assets/images/e-commerce'; // product color select function getColor(color: string) { diff --git a/src/components/application/e-commerce/Checkout/CartEmpty.tsx b/src/components/application/e-commerce/Checkout/CartEmpty.tsx index fb35535..025762a 100644 --- a/src/components/application/e-commerce/Checkout/CartEmpty.tsx +++ b/src/components/application/e-commerce/Checkout/CartEmpty.tsx @@ -6,8 +6,8 @@ import { CardMedia, Grid, Typography, useMediaQuery } from '@mui/material'; import { gridSpacing } from 'store/constant'; // assets -const imageEmpty = '/berry-dashboard/assets/images/e-commerce/empty.svg'; -const imageDarkEmpty = '/berry-dashboard/assets/images/e-commerce/empty-dark.svg'; +const imageEmpty = '/assets/images/e-commerce/empty.svg'; +const imageDarkEmpty = '/assets/images/e-commerce/empty-dark.svg'; // ==============================|| CHECKOUT CART - NO/EMPTY CART ITEMS ||============================== // diff --git a/src/components/application/e-commerce/Checkout/CouponCode.tsx b/src/components/application/e-commerce/Checkout/CouponCode.tsx index 8b95fff..44a7108 100644 --- a/src/components/application/e-commerce/Checkout/CouponCode.tsx +++ b/src/components/application/e-commerce/Checkout/CouponCode.tsx @@ -17,7 +17,7 @@ import { gridSpacing } from 'store/constant'; // assets import HighlightOffTwoToneIcon from '@mui/icons-material/HighlightOffTwoTone'; import { IconGift, IconTrophy } from '@tabler/icons'; -const discount = '/berry-dashboard/assets/images/e-commerce/discount.png'; +const discount = '/assets/images/e-commerce/discount.png'; const Transition = forwardRef((props: ZoomProps, ref) => ); diff --git a/src/components/application/e-commerce/Checkout/OrderComplete.tsx b/src/components/application/e-commerce/Checkout/OrderComplete.tsx index 1d50a5e..36dfac2 100644 --- a/src/components/application/e-commerce/Checkout/OrderComplete.tsx +++ b/src/components/application/e-commerce/Checkout/OrderComplete.tsx @@ -15,7 +15,7 @@ import { Chance } from 'chance'; // assets import KeyboardBackspaceIcon from '@mui/icons-material/KeyboardBackspace'; -const completed = '/berry-dashboard/assets/images/e-commerce/completed.png'; +const completed = '/assets/images/e-commerce/completed.png'; const chance = new Chance(); diff --git a/src/components/application/e-commerce/Checkout/Payment.tsx b/src/components/application/e-commerce/Checkout/Payment.tsx index ae166eb..0272b20 100644 --- a/src/components/application/e-commerce/Checkout/Payment.tsx +++ b/src/components/application/e-commerce/Checkout/Payment.tsx @@ -43,7 +43,7 @@ import { CartCheckoutStateProps } from 'types/cart'; import { PaymentOptionsProps } from 'types/e-commerce'; import { setPaymentCard, setPaymentMethod } from 'store/slices/cart'; -const prodImage = '/berry-dashboard/assets/images/e-commerce'; +const prodImage = '/assets/images/e-commerce'; // product color select function getColor(color: string) { diff --git a/src/components/application/e-commerce/Checkout/PaymentCard.tsx b/src/components/application/e-commerce/Checkout/PaymentCard.tsx index 439823d..5c72451 100644 --- a/src/components/application/e-commerce/Checkout/PaymentCard.tsx +++ b/src/components/application/e-commerce/Checkout/PaymentCard.tsx @@ -7,8 +7,8 @@ import SubCard from 'ui-component/cards/SubCard'; import { gridSpacing } from 'store/constant'; // assets -const visa = '/berry-dashboard/assets/images/e-commerce/visa.png'; -const mastercard = '/berry-dashboard/assets/images/e-commerce/mastercard.png'; +const visa = '/assets/images/e-commerce/visa.png'; +const mastercard = '/assets/images/e-commerce/mastercard.png'; import CheckIcon from '@mui/icons-material/Check'; // ==============================|| CHECKOUT PAYMENT - CARD METHOD ||============================== // diff --git a/src/components/application/e-commerce/Checkout/PaymentOptions.ts b/src/components/application/e-commerce/Checkout/PaymentOptions.ts index 1771bc4..6af79d2 100644 --- a/src/components/application/e-commerce/Checkout/PaymentOptions.ts +++ b/src/components/application/e-commerce/Checkout/PaymentOptions.ts @@ -2,9 +2,9 @@ import { PaymentOptionsProps } from 'types/e-commerce'; // assets -const paypal = '/berry-dashboard/assets/images/e-commerce/paypal.png'; -const card = '/berry-dashboard/assets/images/e-commerce/card.png'; -const cod = '/berry-dashboard/assets/images/e-commerce/cod.png'; +const paypal = '/assets/images/e-commerce/paypal.png'; +const card = '/assets/images/e-commerce/card.png'; +const cod = '/assets/images/e-commerce/cod.png'; // ==============================|| CHECKOUT - PAYMENT OPTIONS ||============================== // diff --git a/src/components/application/e-commerce/ProductDetails/ProductImages.tsx b/src/components/application/e-commerce/ProductDetails/ProductImages.tsx index 72390f2..d2932fa 100644 --- a/src/components/application/e-commerce/ProductDetails/ProductImages.tsx +++ b/src/components/application/e-commerce/ProductDetails/ProductImages.tsx @@ -15,17 +15,17 @@ import Slider from 'react-slick'; import Carousel, { Modal, ModalGateway } from 'react-images'; // assets -const prod1 = '/berry-dashboard/assets/images/e-commerce/prod-1.jpg'; -const prod2 = '/berry-dashboard/assets/images/e-commerce/prod-2.jpg'; -const prod3 = '/berry-dashboard/assets/images/e-commerce/prod-3.jpg'; -const prod4 = '/berry-dashboard/assets/images/e-commerce/prod-4.jpg'; -const prod5 = '/berry-dashboard/assets/images/e-commerce/prod-5.jpg'; -const prod6 = '/berry-dashboard/assets/images/e-commerce/prod-6.jpg'; -const prod7 = '/berry-dashboard/assets/images/e-commerce/prod-7.jpg'; -const prod8 = '/berry-dashboard/assets/images/e-commerce/prod-8.jpg'; +const prod1 = '/assets/images/e-commerce/prod-1.jpg'; +const prod2 = '/assets/images/e-commerce/prod-2.jpg'; +const prod3 = '/assets/images/e-commerce/prod-3.jpg'; +const prod4 = '/assets/images/e-commerce/prod-4.jpg'; +const prod5 = '/assets/images/e-commerce/prod-5.jpg'; +const prod6 = '/assets/images/e-commerce/prod-6.jpg'; +const prod7 = '/assets/images/e-commerce/prod-7.jpg'; +const prod8 = '/assets/images/e-commerce/prod-8.jpg'; import useConfig from '../../../../hooks/useConfig'; -const prodImage = '/berry-dashboard/assets/images/e-commerce'; +const prodImage = '/assets/images/e-commerce'; // ==============================|| PRODUCT DETAILS - IMAGES ||============================== // diff --git a/src/components/application/e-commerce/Products/ProductEmpty.tsx b/src/components/application/e-commerce/Products/ProductEmpty.tsx index f639794..8ef00a5 100644 --- a/src/components/application/e-commerce/Products/ProductEmpty.tsx +++ b/src/components/application/e-commerce/Products/ProductEmpty.tsx @@ -6,8 +6,8 @@ import { Box, CardMedia, Grid, Typography } from '@mui/material'; import { gridSpacing } from 'store/constant'; // assets -const imageEmpty = '/berry-dashboard/assets/images/e-commerce/empty.svg'; -const imageDarkEmpty = '/berry-dashboard/assets/images/e-commerce/empty-dark.svg'; +const imageEmpty = '/assets/images/e-commerce/empty.svg'; +const imageDarkEmpty = '/assets/images/e-commerce/empty-dark.svg'; // ==============================|| NO/EMPTY Product ||============================== // diff --git a/src/components/application/kanban/Backlogs/AddItem.tsx b/src/components/application/kanban/Backlogs/AddItem.tsx index f95ede5..68ca1f9 100644 --- a/src/components/application/kanban/Backlogs/AddItem.tsx +++ b/src/components/application/kanban/Backlogs/AddItem.tsx @@ -39,7 +39,7 @@ interface Props { } const chance = new Chance(); -const avatarImage = '/berry-dashboard/assets/images/users'; +const avatarImage = '/assets/images/users'; const validationSchema = yup.object({ title: yup.string().required('Task title is required'), dueDate: yup.date() diff --git a/src/components/application/kanban/Backlogs/AddStory.tsx b/src/components/application/kanban/Backlogs/AddStory.tsx index 07f9874..d794a8c 100644 --- a/src/components/application/kanban/Backlogs/AddStory.tsx +++ b/src/components/application/kanban/Backlogs/AddStory.tsx @@ -40,7 +40,7 @@ interface Props { } const chance = new Chance(); -const avatarImage = '/berry-dashboard/assets/images/users'; +const avatarImage = '/assets/images/users'; const validationSchema = yup.object({ title: yup.string().required('User story title is required'), dueDate: yup.date() diff --git a/src/components/application/kanban/Backlogs/EditStory.tsx b/src/components/application/kanban/Backlogs/EditStory.tsx index efd1eee..c1a7d69 100644 --- a/src/components/application/kanban/Backlogs/EditStory.tsx +++ b/src/components/application/kanban/Backlogs/EditStory.tsx @@ -50,7 +50,7 @@ interface Props { handleDrawerOpen: () => void; } -const avatarImage = '/berry-dashboard/assets/images/users'; +const avatarImage = '/assets/images/users'; const validationSchema = yup.object({ title: yup.string().required('User story title is required'), dueDate: yup.date() diff --git a/src/components/application/kanban/Backlogs/StoryComment.tsx b/src/components/application/kanban/Backlogs/StoryComment.tsx index cf57217..a469c5a 100644 --- a/src/components/application/kanban/Backlogs/StoryComment.tsx +++ b/src/components/application/kanban/Backlogs/StoryComment.tsx @@ -16,7 +16,7 @@ interface Props { profile: KanbanProfile; } -const avatarImage = '/berry-dashboard/assets/images/users'; +const avatarImage = '/assets/images/users'; // ==============================|| KANBAN BACKLOGS - STORY COMMENT ||============================== // diff --git a/src/components/application/kanban/Board/EditItem.tsx b/src/components/application/kanban/Board/EditItem.tsx index 81aa727..e5c582a 100644 --- a/src/components/application/kanban/Board/EditItem.tsx +++ b/src/components/application/kanban/Board/EditItem.tsx @@ -40,7 +40,7 @@ interface Props { handleDrawerOpen: () => void; } -const avatarImage = '/berry-dashboard/assets/images/users'; +const avatarImage = '/assets/images/users'; const validationSchema = yup.object({ title: yup.string().required('Task title is required'), dueDate: yup.date() diff --git a/src/components/application/kanban/Board/ItemComment.tsx b/src/components/application/kanban/Board/ItemComment.tsx index 8067bf9..dfb90a3 100644 --- a/src/components/application/kanban/Board/ItemComment.tsx +++ b/src/components/application/kanban/Board/ItemComment.tsx @@ -16,7 +16,7 @@ interface Props { profile: KanbanProfile; } -const avatarImage = '/berry-dashboard/assets/images/users'; +const avatarImage = '/assets/images/users'; // ==============================|| KANBAN BOARD - ITEM COMMENT ||============================== // diff --git a/src/components/application/kanban/Board/Items.tsx b/src/components/application/kanban/Board/Items.tsx index 9632046..6c06cad 100644 --- a/src/components/application/kanban/Board/Items.tsx +++ b/src/components/application/kanban/Board/Items.tsx @@ -27,7 +27,7 @@ interface Props { index: number; } -const backImage = '/berry-dashboard/assets/images/profile'; +const backImage = '/assets/images/profile'; // item drag wrapper const getDragWrapper = ( diff --git a/src/components/application/mail/MailDetails.tsx b/src/components/application/mail/MailDetails.tsx index 8dd5c48..e32f30d 100644 --- a/src/components/application/mail/MailDetails.tsx +++ b/src/components/application/mail/MailDetails.tsx @@ -36,7 +36,7 @@ import ReplyTwoToneIcon from '@mui/icons-material/ReplyTwoTone'; import ForwardTwoToneIcon from '@mui/icons-material/ForwardTwoTone'; import { MailDetailsProps } from 'types/mail'; -const avatarImage = '/berry-dashboard/assets/images/profile'; +const avatarImage = '/assets/images/profile'; // ==============================|| MAIL DETAILS ||============================== // diff --git a/src/components/application/mail/MailEmpty.tsx b/src/components/application/mail/MailEmpty.tsx index b4d2c28..9ea4c21 100644 --- a/src/components/application/mail/MailEmpty.tsx +++ b/src/components/application/mail/MailEmpty.tsx @@ -4,8 +4,8 @@ import { CardMedia, Stack, Typography } from '@mui/material'; // project imports import { gridSpacing } from 'store/constant'; -const imageEmpty = '/berry-dashboard/assets/images/maintenance/empty.svg'; -const imageDarkEmpty = '/berry-dashboard/assets/images/maintenance/empty-dark.svg'; +const imageEmpty = '/assets/images/maintenance/empty.svg'; +const imageDarkEmpty = '/assets/images/maintenance/empty-dark.svg'; // ==============================|| NO/EMPTY MAIL ||============================== // diff --git a/src/components/application/mail/MailList.tsx b/src/components/application/mail/MailList.tsx index 3f135c6..c5f9ca8 100644 --- a/src/components/application/mail/MailList.tsx +++ b/src/components/application/mail/MailList.tsx @@ -42,7 +42,7 @@ import DeleteTwoToneIcon from '@mui/icons-material/DeleteTwoTone'; import VisibilityOffTwoToneIcon from '@mui/icons-material/VisibilityOffTwoTone'; import { MailListProps, MailListHeaderProps } from 'types/mail'; -const avatarImage = '/berry-dashboard/assets/images/profile'; +const avatarImage = '/assets/images/profile'; // ==============================|| TABLE HEADER TOOLBAR ||============================== // diff --git a/src/components/authentication/auth-forms/AuthLogin.tsx b/src/components/authentication/auth-forms/AuthLogin.tsx index 7d8d77d..2a045bd 100644 --- a/src/components/authentication/auth-forms/AuthLogin.tsx +++ b/src/components/authentication/auth-forms/AuthLogin.tsx @@ -36,7 +36,7 @@ import AnimateButton from 'ui-component/extended/AnimateButton'; import Visibility from '@mui/icons-material/Visibility'; import VisibilityOff from '@mui/icons-material/VisibilityOff'; -const Google = '/berry-dashboard/assets/images/icons/social-google.svg'; +const Google = '/assets/images/icons/social-google.svg'; // ============================|| FIREBASE - LOGIN ||============================ // diff --git a/src/components/authentication/auth-forms/AuthRegister.tsx b/src/components/authentication/auth-forms/AuthRegister.tsx index afb071f..951389a 100644 --- a/src/components/authentication/auth-forms/AuthRegister.tsx +++ b/src/components/authentication/auth-forms/AuthRegister.tsx @@ -36,7 +36,7 @@ import { strengthColor, strengthIndicator } from 'utils/password-strength'; import Visibility from '@mui/icons-material/Visibility'; import VisibilityOff from '@mui/icons-material/VisibilityOff'; import { StringColorProps } from 'types'; -const Google = '/berry-dashboard/assets/images/icons/social-google.svg'; +const Google = '/assets/images/icons/social-google.svg'; // ===========================|| FIREBASE - REGISTER ||=========================== // const FirebaseRegister = ({ ...others }) => { diff --git a/src/components/authentication/login/FirebaseLogin b/src/components/authentication/login/FirebaseLogin index fbbb4a2..4f925c7 100644 --- a/src/components/authentication/login/FirebaseLogin +++ b/src/components/authentication/login/FirebaseLogin @@ -36,7 +36,7 @@ import AnimateButton from 'ui-component/extended/AnimateButton'; import Visibility from '@mui/icons-material/Visibility'; import VisibilityOff from '@mui/icons-material/VisibilityOff'; -const Google = '/berry-dashboard/assets/images/icons/social-google.svg'; +const Google = '/assets/images/icons/social-google.svg'; // ============================|| FIREBASE - LOGIN ||============================ // diff --git a/src/components/authentication/register/FirebaseRegister b/src/components/authentication/register/FirebaseRegister index 15d1233..0692bb8 100644 --- a/src/components/authentication/register/FirebaseRegister +++ b/src/components/authentication/register/FirebaseRegister @@ -36,7 +36,7 @@ import { strengthColor, strengthIndicator } from 'utils/password-strength'; import Visibility from '@mui/icons-material/Visibility'; import VisibilityOff from '@mui/icons-material/VisibilityOff'; import { StringColorProps } from 'types'; -const Google = '/berry-dashboard/assets/images/icons/social-google.svg'; +const Google = '/assets/images/icons/social-google.svg'; // ===========================|| FIREBASE - REGISTER ||=========================== // const FirebaseRegister = ({ ...others }) => { diff --git a/src/components/contact-us/ContactCard.tsx b/src/components/contact-us/ContactCard.tsx index e6f5816..95b4338 100644 --- a/src/components/contact-us/ContactCard.tsx +++ b/src/components/contact-us/ContactCard.tsx @@ -27,7 +27,7 @@ import AnimateButton from 'ui-component/extended/AnimateButton'; import { gridSpacing } from 'store/constant'; // assets -const mailImg = '/berry-dashboard/assets/images/landing/img-contact-mail.svg'; +const mailImg = '/assets/images/landing/img-contact-mail.svg'; // select options const currencies = [ diff --git a/src/components/dashboard/Analytics/LatestCustomerTableCard.tsx b/src/components/dashboard/Analytics/LatestCustomerTableCard.tsx index ee21cd1..7414a95 100644 --- a/src/components/dashboard/Analytics/LatestCustomerTableCard.tsx +++ b/src/components/dashboard/Analytics/LatestCustomerTableCard.tsx @@ -8,11 +8,11 @@ import PerfectScrollbar from 'react-perfect-scrollbar'; import MainCard from 'ui-component/cards/MainCard'; // assets -const Flag1 = '/berry-dashboard/assets/images/widget/AUSTRALIA.jpg'; -const Flag2 = '/berry-dashboard/assets/images/widget/BRAZIL.jpg'; -const Flag3 = '/berry-dashboard/assets/images/widget/GERMANY.jpg'; -const Flag4 = '/berry-dashboard/assets/images/widget/UK.jpg'; -const Flag5 = '/berry-dashboard/assets/images/widget/USA.jpg'; +const Flag1 = '/assets/images/widget/AUSTRALIA.jpg'; +const Flag2 = '/assets/images/widget/BRAZIL.jpg'; +const Flag3 = '/assets/images/widget/GERMANY.jpg'; +const Flag4 = '/assets/images/widget/UK.jpg'; +const Flag5 = '/assets/images/widget/USA.jpg'; // table data function createData(image: string, subject: string, dept: string, date: Date | string) { diff --git a/src/components/dashboard/Default/EarningCard.tsx b/src/components/dashboard/Default/EarningCard.tsx index 63252ab..8077281 100644 --- a/src/components/dashboard/Default/EarningCard.tsx +++ b/src/components/dashboard/Default/EarningCard.tsx @@ -9,7 +9,7 @@ import MainCard from 'ui-component/cards/MainCard'; import SkeletonEarningCard from 'ui-component/cards/Skeleton/EarningCard'; // assets -const EarningIcon = '/berry-dashboard/assets/images/icons/earning.svg'; +const EarningIcon = '/assets/images/icons/earning.svg'; import MoreHorizIcon from '@mui/icons-material/MoreHoriz'; import ArrowUpwardIcon from '@mui/icons-material/ArrowUpward'; import GetAppTwoToneIcon from '@mui/icons-material/GetAppOutlined'; diff --git a/src/components/landingpage/Demos.tsx b/src/components/landingpage/Demos.tsx index 74618fc..2624e14 100644 --- a/src/components/landingpage/Demos.tsx +++ b/src/components/landingpage/Demos.tsx @@ -45,7 +45,7 @@ const DemosPage = () => ( sx={{ width: '100%', height: { xs: '220px', sm: '250px', md: '300px' }, position: 'relative' }} > Berry Dashboard ( href="/app/user/social-profile/posts" > Berry Social App ( sx={{ width: '100%', height: { xs: '220px', sm: '250px', md: '300px' }, position: 'relative' }} > Berry Mail App ({ diff --git a/src/components/landingpage/Header.tsx b/src/components/landingpage/Header.tsx index f87739e..a2bbe40 100644 --- a/src/components/landingpage/Header.tsx +++ b/src/components/landingpage/Header.tsx @@ -188,7 +188,7 @@ const HeaderPage = () => { - + { delay: 0.2 }} > - + { delay: 0.4 }} > - + diff --git a/src/components/landingpage/Layouts.tsx b/src/components/landingpage/Layouts.tsx index a917d42..1aafc54 100644 --- a/src/components/landingpage/Layouts.tsx +++ b/src/components/landingpage/Layouts.tsx @@ -8,11 +8,11 @@ import Slider from './Slider'; import { gridSpacing } from 'store/constant'; // assets -const imgLayout1 = '/berry-dashboard/assets/images/landing/demo-dark.png'; -const imgLayout2 = '/berry-dashboard/assets/images/landing/demo-rtl.png'; -const imgLayout3 = '/berry-dashboard/assets/images/landing/demo-multi.png'; -const imgLayoutGrid = '/berry-dashboard/assets/images/landing/img-lay-grid.png'; -const imgLayoutDarkGrid = '/berry-dashboard/assets/images/landing/img-bg-grid-dark.svg'; +const imgLayout1 = '/assets/images/landing/demo-dark.png'; +const imgLayout2 = '/assets/images/landing/demo-rtl.png'; +const imgLayout3 = '/assets/images/landing/demo-multi.png'; +const imgLayoutGrid = '/assets/images/landing/img-lay-grid.png'; +const imgLayoutDarkGrid = '/assets/images/landing/img-bg-grid-dark.svg'; // styles const LayoutImageWrapper = styled(Box)(({ theme }) => ({ diff --git a/src/components/landingpage/Slider.tsx b/src/components/landingpage/Slider.tsx index 3fb17a6..dab58e1 100644 --- a/src/components/landingpage/Slider.tsx +++ b/src/components/landingpage/Slider.tsx @@ -17,10 +17,10 @@ const LayoutImage = styled('img')({ height: '100%', animation: '5s wings ease-in-out infinite' }); -const imgLayout1 = '/berry-dashboard/assets/images/landing/demo-dark.png'; -const imgLayout2 = '/berry-dashboard/assets/images/landing/demo-rtl.png'; -const imgLayout3 = '/berry-dashboard/assets/images/landing/demo-multi.png'; -const imgLayoutGrid = '/berry-dashboard/assets/images/landing/img-lay-grid.png'; +const imgLayout1 = '/assets/images/landing/demo-dark.png'; +const imgLayout2 = '/assets/images/landing/demo-rtl.png'; +const imgLayout3 = '/assets/images/landing/demo-multi.png'; +const imgLayoutGrid = '/assets/images/landing/img-lay-grid.png'; // =============================|| SLIDER ITEMS ||============================= // const Item = ({ item }: { item: { bg: string; image: string; title: string; content: string } }) => ( diff --git a/src/components/landingpage/Subscribe.tsx b/src/components/landingpage/Subscribe.tsx index ad89fa6..c6475aa 100644 --- a/src/components/landingpage/Subscribe.tsx +++ b/src/components/landingpage/Subscribe.tsx @@ -7,7 +7,7 @@ import MailerSubscriber from '../maintenance/ComingSoon/ComingSoon1/MailerSubscr import { gridSpacing } from 'store/constant'; // assets -const imgMail = '/berry-dashboard/assets/images/landing/img-groupmail.png'; +const imgMail = '/assets/images/landing/img-groupmail.png'; // styles const SubscribeWrapper = styled('div')(({ theme }) => { diff --git a/src/components/maintenance/ComingSoon/ComingSoon1/Slider.tsx b/src/components/maintenance/ComingSoon/ComingSoon1/Slider.tsx index afe4baf..3facdbc 100644 --- a/src/components/maintenance/ComingSoon/ComingSoon1/Slider.tsx +++ b/src/components/maintenance/ComingSoon/ComingSoon1/Slider.tsx @@ -5,9 +5,9 @@ import { CardMedia, Grid } from '@mui/material'; import Slider from 'react-slick'; // assets -const imageSlider1 = '/berry-dashboard/assets/images/maintenance/img-slider-layout1.png'; -const imageSlider2 = '/berry-dashboard/assets/images/maintenance/img-slider-layout2.png'; -const imageSlider3 = '/berry-dashboard/assets/images/maintenance/img-slider-layout3.png'; +const imageSlider1 = '/assets/images/maintenance/img-slider-layout1.png'; +const imageSlider2 = '/assets/images/maintenance/img-slider-layout2.png'; +const imageSlider3 = '/assets/images/maintenance/img-slider-layout3.png'; // ================================|| SLIDER - ITEMS ||================================ // diff --git a/src/components/ui-component/cards/AttachmentCard.tsx b/src/components/ui-component/cards/AttachmentCard.tsx index 21ad81a..a32d8fd 100644 --- a/src/components/ui-component/cards/AttachmentCard.tsx +++ b/src/components/ui-component/cards/AttachmentCard.tsx @@ -6,7 +6,7 @@ import { gridSpacing } from 'store/constant'; // assets import DownloadForOfflineTwoToneIcon from '@mui/icons-material/DownloadForOfflineTwoTone'; -const backImage = '/berry-dashboard/assets/images/profile'; +const backImage = '/assets/images/profile'; // ==============================|| ATTACHMENT CARD ||============================== // diff --git a/src/components/ui-component/cards/BackgroundPattern1.tsx b/src/components/ui-component/cards/BackgroundPattern1.tsx index bf612e2..bb0408b 100644 --- a/src/components/ui-component/cards/BackgroundPattern1.tsx +++ b/src/components/ui-component/cards/BackgroundPattern1.tsx @@ -5,8 +5,8 @@ import { useTheme } from '@mui/material/styles'; import { Box } from '@mui/material'; // assets -const AuthPattern = '/berry-dashboard/assets/images/auth/auth-pattern.svg'; -const AuthPatternDark = '/berry-dashboard/assets/images/auth/auth-pattern-dark.svg'; +const AuthPattern = '/assets/images/auth/auth-pattern.svg'; +const AuthPatternDark = '/assets/images/auth/auth-pattern-dark.svg'; // ===========================|| BACKGROUND GRID PATTERN 1 ||=========================== // diff --git a/src/components/ui-component/cards/BackgroundPattern2.tsx b/src/components/ui-component/cards/BackgroundPattern2.tsx index dc5931d..ddaeff0 100644 --- a/src/components/ui-component/cards/BackgroundPattern2.tsx +++ b/src/components/ui-component/cards/BackgroundPattern2.tsx @@ -5,8 +5,8 @@ import { useTheme } from '@mui/material/styles'; import { Box } from '@mui/material'; // assets -const AuthPattern = '/berry-dashboard/assets/images/auth/img-a2-grid.svg'; -const AuthPatternDark = '/berry-dashboard/assets/images/auth/img-a2-grid-dark.svg'; +const AuthPattern = '/assets/images/auth/img-a2-grid.svg'; +const AuthPatternDark = '/assets/images/auth/img-a2-grid-dark.svg'; // ===========================|| BACKGROUND GRID PATTERN 2 ||=========================== // diff --git a/src/components/ui-component/cards/ContactCard.tsx b/src/components/ui-component/cards/ContactCard.tsx index 5b51fac..d41577e 100644 --- a/src/components/ui-component/cards/ContactCard.tsx +++ b/src/components/ui-component/cards/ContactCard.tsx @@ -14,7 +14,7 @@ import MoreHorizOutlinedIcon from '@mui/icons-material/MoreHorizOutlined'; import ChatBubbleTwoToneIcon from '@mui/icons-material/ChatBubbleTwoTone'; import PhoneTwoToneIcon from '@mui/icons-material/PhoneTwoTone'; -const avatarImage = '/berry-dashboard/assets/images/users'; +const avatarImage = '/assets/images/users'; // ==============================|| USER CONTACT CARD ||============================== // diff --git a/src/components/ui-component/cards/ContactList.tsx b/src/components/ui-component/cards/ContactList.tsx index f94a0da..b7b081c 100644 --- a/src/components/ui-component/cards/ContactList.tsx +++ b/src/components/ui-component/cards/ContactList.tsx @@ -11,7 +11,7 @@ import { UserProfile } from 'types/user-profile'; import ChatBubbleTwoToneIcon from '@mui/icons-material/ChatBubbleTwoTone'; import PhoneTwoToneIcon from '@mui/icons-material/PhoneTwoTone'; -const avatarImage = '/berry-dashboard/assets/images/users'; +const avatarImage = '/assets/images/users'; // styles const ListWrapper = styled('div')(({ theme }) => ({ diff --git a/src/components/ui-component/cards/FriendRequestCard.tsx b/src/components/ui-component/cards/FriendRequestCard.tsx index 99141b8..e24cbff 100644 --- a/src/components/ui-component/cards/FriendRequestCard.tsx +++ b/src/components/ui-component/cards/FriendRequestCard.tsx @@ -16,7 +16,7 @@ import GroupTwoToneIcon from '@mui/icons-material/GroupTwoTone'; // types import { FriendRequestCardProps } from 'types/user'; -const avatarImage = '/berry-dashboard/assets/images/profile'; +const avatarImage = '/assets/images/profile'; // ==============================|| SOCIAL PROFILE - FRIEND REQUEST CARD ||============================== // diff --git a/src/components/ui-component/cards/FriendsCard.tsx b/src/components/ui-component/cards/FriendsCard.tsx index 5fa3d7b..884380b 100644 --- a/src/components/ui-component/cards/FriendsCard.tsx +++ b/src/components/ui-component/cards/FriendsCard.tsx @@ -20,7 +20,7 @@ import GroupTwoToneIcon from '@mui/icons-material/GroupTwoTone'; // types import { FriendsCardProps } from 'types/user'; -const avatarImage = '/berry-dashboard/assets/images/profile'; +const avatarImage = '/assets/images/profile'; // ==============================|| SOCIAL PROFILE - FRIENDS CARD ||============================== // diff --git a/src/components/ui-component/cards/GalleryCard.tsx b/src/components/ui-component/cards/GalleryCard.tsx index 0af459c..aacec9e 100644 --- a/src/components/ui-component/cards/GalleryCard.tsx +++ b/src/components/ui-component/cards/GalleryCard.tsx @@ -13,7 +13,7 @@ import { GenericCardProps } from 'types'; import MoreVertTwoToneIcon from '@mui/icons-material/MoreVertTwoTone'; import EventTwoToneIcon from '@mui/icons-material/EventTwoTone'; -const backImage = '/berry-dashboard/assets/images/profile'; +const backImage = '/assets/images/profile'; // ==============================|| SOCIAL PROFILE - GALLERY CARD ||============================== // diff --git a/src/components/ui-component/cards/Post/Comment/Reply/index.tsx b/src/components/ui-component/cards/Post/Comment/Reply/index.tsx index c5db628..59c05b1 100644 --- a/src/components/ui-component/cards/Post/Comment/Reply/index.tsx +++ b/src/components/ui-component/cards/Post/Comment/Reply/index.tsx @@ -14,7 +14,7 @@ import MoreVertTwoToneIcon from '@mui/icons-material/MoreVertTwoTone'; import ThumbUpAltTwoToneIcon from '@mui/icons-material/ThumbUpAltTwoTone'; import ReplyTwoToneIcon from '@mui/icons-material/ReplyTwoTone'; -const avatarImage = '/berry-dashboard/assets/images/profile/'; +const avatarImage = '/assets/images/profile/'; interface ReplyProps { commentId: string; diff --git a/src/components/ui-component/cards/Post/Comment/index.tsx b/src/components/ui-component/cards/Post/Comment/index.tsx index c32bc2a..24c5dd8 100644 --- a/src/components/ui-component/cards/Post/Comment/index.tsx +++ b/src/components/ui-component/cards/Post/Comment/index.tsx @@ -39,7 +39,7 @@ import ReplyTwoToneIcon from '@mui/icons-material/ReplyTwoTone'; import AttachmentRoundedIcon from '@mui/icons-material/AttachmentRounded'; import { FormInputProps } from 'types'; -const avatarImage = '/berry-dashboard/assets/images/profile/'; +const avatarImage = '/assets/images/profile/'; const validationSchema = yup.object().shape({ name: yup.string().required('Reply Field is Required') diff --git a/src/components/ui-component/cards/Post/index.tsx b/src/components/ui-component/cards/Post/index.tsx index 3c34328..2c7e291 100644 --- a/src/components/ui-component/cards/Post/index.tsx +++ b/src/components/ui-component/cards/Post/index.tsx @@ -45,7 +45,7 @@ import ThumbUpAltTwoToneIcon from '@mui/icons-material/ThumbUpAltTwoTone'; import ChatBubbleTwoToneIcon from '@mui/icons-material/ChatBubbleTwoTone'; import useConfig from 'hooks/useConfig'; -const avatarImage = '/berry-dashboard/assets/images/profile/'; +const avatarImage = '/assets/images/profile/'; const validationSchema = yup.object().shape({ name: yup.string().required('Comment Field is Required') diff --git a/src/components/ui-component/cards/ProductCard.tsx b/src/components/ui-component/cards/ProductCard.tsx index d1e9aa3..5648639 100644 --- a/src/components/ui-component/cards/ProductCard.tsx +++ b/src/components/ui-component/cards/ProductCard.tsx @@ -18,7 +18,7 @@ import ShoppingCartTwoToneIcon from '@mui/icons-material/ShoppingCartTwoTone'; // types import { ProductCardProps } from 'types/product'; -const prodImage = '/berry-dashboard/assets/images/e-commerce'; +const prodImage = '/assets/images/e-commerce'; // ==============================|| PRODUCT CARD ||============================== // diff --git a/src/components/ui-component/cards/ProductReview.tsx b/src/components/ui-component/cards/ProductReview.tsx index 906c349..ef803f3 100644 --- a/src/components/ui-component/cards/ProductReview.tsx +++ b/src/components/ui-component/cards/ProductReview.tsx @@ -16,7 +16,7 @@ import MoreHorizOutlinedIcon from '@mui/icons-material/MoreHorizOutlined'; import VerifiedUserIcon from '@mui/icons-material/VerifiedUser'; import DirectionsRunIcon from '@mui/icons-material/DirectionsRun'; -const avatarImage = '/berry-dashboard/assets/images/profile'; +const avatarImage = '/assets/images/profile'; // ==============================|| PRODUCT DETAILS - REVIEW ||============================== // diff --git a/src/components/ui-component/cards/UserDetailsCard.tsx b/src/components/ui-component/cards/UserDetailsCard.tsx index c1b0b6d..e9f987c 100644 --- a/src/components/ui-component/cards/UserDetailsCard.tsx +++ b/src/components/ui-component/cards/UserDetailsCard.tsx @@ -14,7 +14,7 @@ import MoreHorizOutlinedIcon from '@mui/icons-material/MoreHorizOutlined'; import NotInterestedTwoToneIcon from '@mui/icons-material/NotInterestedTwoTone'; import ChatBubbleTwoToneIcon from '@mui/icons-material/ChatBubbleTwoTone'; -const avatarImage = '/berry-dashboard/assets/images/profile'; +const avatarImage = '/assets/images/profile'; // ==============================|| USER DETAILS CARD ||============================== // diff --git a/src/components/ui-component/cards/UserProfileCard.tsx b/src/components/ui-component/cards/UserProfileCard.tsx index b68d797..5ed5b7d 100644 --- a/src/components/ui-component/cards/UserProfileCard.tsx +++ b/src/components/ui-component/cards/UserProfileCard.tsx @@ -15,7 +15,7 @@ import ChatBubbleTwoToneIcon from '@mui/icons-material/ChatBubbleTwoTone'; // types import { UserProfileCardProps } from 'types/user'; -const avatarImage = '/berry-dashboard/assets/images/profile'; +const avatarImage = '/assets/images/profile'; // styles const FacebookWrapper = styled(Button)({ diff --git a/src/components/ui-component/cards/UserSimpleCard.tsx b/src/components/ui-component/cards/UserSimpleCard.tsx index dcfa64a..d6909da 100644 --- a/src/components/ui-component/cards/UserSimpleCard.tsx +++ b/src/components/ui-component/cards/UserSimpleCard.tsx @@ -17,7 +17,7 @@ import LinkedInIcon from '@mui/icons-material/LinkedIn'; // types import { UserSimpleCardProps } from 'types/user'; -const avatarImage = '/berry-dashboard/assets/images/profile'; +const avatarImage = '/assets/images/profile'; // styles const FacebookWrapper = styled(Button)({ diff --git a/src/components/ui-elements/advance/UIDialog/SimpleDialog.tsx b/src/components/ui-elements/advance/UIDialog/SimpleDialog.tsx index a45ee97..3c9ecbd 100644 --- a/src/components/ui-elements/advance/UIDialog/SimpleDialog.tsx +++ b/src/components/ui-elements/advance/UIDialog/SimpleDialog.tsx @@ -18,7 +18,7 @@ import { // assets import AddIcon from '@mui/icons-material/Add'; -const avatarImage = '/berry-dashboard/assets/images/profile'; +const avatarImage = '/assets/images/profile'; // alert user data const emails = [ diff --git a/src/components/users/account-profile/Profile1/Profile.tsx b/src/components/users/account-profile/Profile1/Profile.tsx index f7a0a5a..0e782a6 100644 --- a/src/components/users/account-profile/Profile1/Profile.tsx +++ b/src/components/users/account-profile/Profile1/Profile.tsx @@ -33,7 +33,7 @@ import PhonelinkRingTwoToneIcon from '@mui/icons-material/PhonelinkRingTwoTone'; import PinDropTwoToneIcon from '@mui/icons-material/PinDropTwoTone'; import MailTwoToneIcon from '@mui/icons-material/MailTwoTone'; -const Avatar3 = '/berry-dashboard/assets/images/users/avatar-3.png'; +const Avatar3 = '/assets/images/users/avatar-3.png'; // progress function LinearProgressWithLabel({ value, ...other }: LinearProgressProps) { diff --git a/src/components/users/account-profile/Profile2/UserProfile.tsx b/src/components/users/account-profile/Profile2/UserProfile.tsx index 83d051d..994cf1e 100644 --- a/src/components/users/account-profile/Profile2/UserProfile.tsx +++ b/src/components/users/account-profile/Profile2/UserProfile.tsx @@ -6,7 +6,7 @@ import Avatar from 'ui-component/extended/Avatar'; import { gridSpacing } from 'store/constant'; // assets -const Avatar1 = '/berry-dashboard/assets/images/users/avatar-1.png'; +const Avatar1 = '/assets/images/users/avatar-1.png'; import ErrorTwoToneIcon from '@mui/icons-material/ErrorTwoTone'; // ==============================|| PROFILE 2 - USER PROFILE ||============================== // diff --git a/src/components/users/account-profile/Profile3/Billing.tsx b/src/components/users/account-profile/Profile3/Billing.tsx index 22c8814..294a87b 100644 --- a/src/components/users/account-profile/Profile3/Billing.tsx +++ b/src/components/users/account-profile/Profile3/Billing.tsx @@ -25,9 +25,9 @@ import Chip from 'ui-component/extended/Chip'; import { gridSpacing } from 'store/constant'; // assets -const imageDiscover = '/berry-dashboard/assets/images/pages/card-discover.png'; -const imageMasterCard = '/berry-dashboard/assets/images/pages/card-master.png'; -const imageVisa = '/berry-dashboard/assets/images/pages/card-visa.png'; +const imageDiscover = '/assets/images/pages/card-discover.png'; +const imageMasterCard = '/assets/images/pages/card-master.png'; +const imageVisa = '/assets/images/pages/card-visa.png'; // table data function createData(tid: string, date: string, amount: string, badgeText: string, badgeType: string) { diff --git a/src/components/users/account-profile/Profile3/Profile.tsx b/src/components/users/account-profile/Profile3/Profile.tsx index ac0b74d..77a35b2 100644 --- a/src/components/users/account-profile/Profile3/Profile.tsx +++ b/src/components/users/account-profile/Profile3/Profile.tsx @@ -8,7 +8,7 @@ import AnimateButton from 'ui-component/extended/AnimateButton'; import { gridSpacing } from 'store/constant'; // assets -const Avatar1 = '/berry-dashboard/assets/images/users/avatar-1.png'; +const Avatar1 = '/assets/images/users/avatar-1.png'; // ==============================|| PROFILE 3 - PROFILE ||============================== // diff --git a/src/components/users/list/Style1/UserList.tsx b/src/components/users/list/Style1/UserList.tsx index e577ed3..8ac4cab 100644 --- a/src/components/users/list/Style1/UserList.tsx +++ b/src/components/users/list/Style1/UserList.tsx @@ -28,7 +28,7 @@ import CheckCircleIcon from '@mui/icons-material/CheckCircle'; import ChatBubbleTwoToneIcon from '@mui/icons-material/ChatBubbleTwoTone'; import BlockTwoToneIcon from '@mui/icons-material/BlockTwoTone'; -const avatarImage = '/berry-dashboard/assets/images/profile'; +const avatarImage = '/assets/images/profile'; // ==============================|| USER LIST 1 ||============================== // diff --git a/src/components/users/list/Style2/UserList.tsx b/src/components/users/list/Style2/UserList.tsx index 50c6ece..e2962bf 100644 --- a/src/components/users/list/Style2/UserList.tsx +++ b/src/components/users/list/Style2/UserList.tsx @@ -23,11 +23,11 @@ import { useDispatch, useSelector } from 'store'; import { getUsersListStyle2 } from 'store/slices/user'; // asset -const Avatar1 = '/berry-dashboard/assets/images/users/avatar-1.png'; -const Avatar2 = '/berry-dashboard/assets/images/users/avatar-2.png'; -const Avatar3 = '/berry-dashboard/assets/images/users/avatar-3.png'; -const Avatar4 = '/berry-dashboard/assets/images/users/avatar-4.png'; -const Avatar5 = '/berry-dashboard/assets/images/users/avatar-5.png'; +const Avatar1 = '/assets/images/users/avatar-1.png'; +const Avatar2 = '/assets/images/users/avatar-2.png'; +const Avatar3 = '/assets/images/users/avatar-3.png'; +const Avatar4 = '/assets/images/users/avatar-4.png'; +const Avatar5 = '/assets/images/users/avatar-5.png'; import CheckCircleIcon from '@mui/icons-material/CheckCircle'; import ChatBubbleTwoToneIcon from '@mui/icons-material/ChatBubbleTwoTone'; diff --git a/src/components/widget/Data/ActiveTickets.tsx b/src/components/widget/Data/ActiveTickets.tsx index 857d66f..6753e13 100644 --- a/src/components/widget/Data/ActiveTickets.tsx +++ b/src/components/widget/Data/ActiveTickets.tsx @@ -15,10 +15,10 @@ import { } from '@mui/material'; // assets -const Avatar1 = '/berry-dashboard/assets/images/users/avatar-1.png'; -const Avatar2 = '/berry-dashboard/assets/images/users/avatar-2.png'; -const Avatar3 = '/berry-dashboard/assets/images/users/avatar-3.png'; -const Avatar4 = '/berry-dashboard/assets/images/users/avatar-4.png'; +const Avatar1 = '/assets/images/users/avatar-1.png'; +const Avatar2 = '/assets/images/users/avatar-2.png'; +const Avatar3 = '/assets/images/users/avatar-3.png'; +const Avatar4 = '/assets/images/users/avatar-4.png'; import MainCard from 'ui-component/cards/MainCard'; // table data diff --git a/src/components/widget/Data/LatestCustomers.tsx b/src/components/widget/Data/LatestCustomers.tsx index 17c78e0..ab84acf 100644 --- a/src/components/widget/Data/LatestCustomers.tsx +++ b/src/components/widget/Data/LatestCustomers.tsx @@ -8,11 +8,11 @@ import PerfectScrollbar from 'react-perfect-scrollbar'; import MainCard from 'ui-component/cards/MainCard'; // assets -const Flag1 = '/berry-dashboard/assets/images/widget/AUSTRALIA.jpg'; -const Flag2 = '/berry-dashboard/assets/images/widget/BRAZIL.jpg'; -const Flag3 = '/berry-dashboard/assets/images/widget/GERMANY.jpg'; -const Flag4 = '/berry-dashboard/assets/images/widget/UK.jpg'; -const Flag5 = '/berry-dashboard/assets/images/widget/USA.jpg'; +const Flag1 = '/assets/images/widget/AUSTRALIA.jpg'; +const Flag2 = '/assets/images/widget/BRAZIL.jpg'; +const Flag3 = '/assets/images/widget/GERMANY.jpg'; +const Flag4 = '/assets/images/widget/UK.jpg'; +const Flag5 = '/assets/images/widget/USA.jpg'; // table data function createData(image: string, subject: string, dept: string, date: string) { diff --git a/src/components/widget/Data/LatestOrder.tsx b/src/components/widget/Data/LatestOrder.tsx index 9c8f5a9..d9a8432 100644 --- a/src/components/widget/Data/LatestOrder.tsx +++ b/src/components/widget/Data/LatestOrder.tsx @@ -22,10 +22,10 @@ import { gridSpacing } from 'store/constant'; import EditOutlinedIcon from '@mui/icons-material/EditOutlined'; import DeleteOutlineOutlinedIcon from '@mui/icons-material/DeleteOutlineOutlined'; -const Phone1 = '/berry-dashboard/assets/images/widget/PHONE1.jpg'; -const Phone2 = '/berry-dashboard/assets/images/widget/PHONE2.jpg'; -const Phone3 = '/berry-dashboard/assets/images/widget/PHONE3.jpg'; -const Phone4 = '/berry-dashboard/assets/images/widget/PHONE4.jpg'; +const Phone1 = '/assets/images/widget/PHONE1.jpg'; +const Phone2 = '/assets/images/widget/PHONE2.jpg'; +const Phone3 = '/assets/images/widget/PHONE3.jpg'; +const Phone4 = '/assets/images/widget/PHONE4.jpg'; import MainCard from 'ui-component/cards/MainCard'; // table data diff --git a/src/components/widget/Data/LatestPosts.tsx b/src/components/widget/Data/LatestPosts.tsx index db70ad9..6477932 100644 --- a/src/components/widget/Data/LatestPosts.tsx +++ b/src/components/widget/Data/LatestPosts.tsx @@ -6,8 +6,8 @@ import MainCard from 'ui-component/cards/MainCard'; import { gridSpacing } from 'store/constant'; // assets -const Dashboard1 = '/berry-dashboard/assets/images/widget/dashborad-1.jpg'; -const Dashboard2 = '/berry-dashboard/assets/images/widget/dashborad-3.jpg'; +const Dashboard1 = '/assets/images/widget/dashborad-1.jpg'; +const Dashboard2 = '/assets/images/widget/dashborad-3.jpg'; const mediaSX = { width: 90, diff --git a/src/components/widget/Data/NewCustomers.tsx b/src/components/widget/Data/NewCustomers.tsx index 35ddb27..143ae5a 100644 --- a/src/components/widget/Data/NewCustomers.tsx +++ b/src/components/widget/Data/NewCustomers.tsx @@ -12,11 +12,11 @@ import { gridSpacing } from 'store/constant'; import WatchLaterTwoToneIcon from '@mui/icons-material/WatchLaterTwoTone'; import FiberManualRecordIcon from '@mui/icons-material/FiberManualRecord'; -const Avatar1 = '/berry-dashboard/assets/images/users/avatar-1.png'; -const Avatar2 = '/berry-dashboard/assets/images/users/avatar-2.png'; -const Avatar3 = '/berry-dashboard/assets/images/users/avatar-3.png'; -const Avatar4 = '/berry-dashboard/assets/images/users/avatar-4.png'; -const Avatar5 = '/berry-dashboard/assets/images/users/avatar-5.png'; +const Avatar1 = '/assets/images/users/avatar-1.png'; +const Avatar2 = '/assets/images/users/avatar-2.png'; +const Avatar3 = '/assets/images/users/avatar-3.png'; +const Avatar4 = '/assets/images/users/avatar-4.png'; +const Avatar5 = '/assets/images/users/avatar-5.png'; const activeSX = { width: 16, diff --git a/src/components/widget/Data/ProjectTable.tsx b/src/components/widget/Data/ProjectTable.tsx index 5802ce1..1eb4dc7 100644 --- a/src/components/widget/Data/ProjectTable.tsx +++ b/src/components/widget/Data/ProjectTable.tsx @@ -5,10 +5,10 @@ import { Avatar, Grid, Table, TableBody, TableCell, TableContainer, TableHead, T import Chip from 'ui-component/extended/Chip'; // assets -const Avatar1 = '/berry-dashboard/assets/images/users/avatar-1.png'; -const Avatar2 = '/berry-dashboard/assets/images/users/avatar-2.png'; -const Avatar3 = '/berry-dashboard/assets/images/users/avatar-3.png'; -const Avatar4 = '/berry-dashboard/assets/images/users/avatar-4.png'; +const Avatar1 = '/assets/images/users/avatar-1.png'; +const Avatar2 = '/assets/images/users/avatar-2.png'; +const Avatar3 = '/assets/images/users/avatar-3.png'; +const Avatar4 = '/assets/images/users/avatar-4.png'; // table data const createData = ( diff --git a/src/components/widget/Data/TeamMembers.tsx b/src/components/widget/Data/TeamMembers.tsx index f6f593d..e54d0ad 100644 --- a/src/components/widget/Data/TeamMembers.tsx +++ b/src/components/widget/Data/TeamMembers.tsx @@ -6,10 +6,10 @@ import MainCard from 'ui-component/cards/MainCard'; import { gridSpacing } from 'store/constant'; // assets -const Avatar1 = '/berry-dashboard/assets/images/users/avatar-1.png'; -const Avatar2 = '/berry-dashboard/assets/images/users/avatar-2.png'; -const Avatar3 = '/berry-dashboard/assets/images/users/avatar-3.png'; -const Avatar4 = '/berry-dashboard/assets/images/users/avatar-4.png'; +const Avatar1 = '/assets/images/users/avatar-1.png'; +const Avatar2 = '/assets/images/users/avatar-2.png'; +const Avatar3 = '/assets/images/users/avatar-3.png'; +const Avatar4 = '/assets/images/users/avatar-4.png'; // ===========================|| DATA WIDGET - TEAM MEMBERS CARD ||=========================== // diff --git a/src/components/widget/Data/UserActivity.tsx b/src/components/widget/Data/UserActivity.tsx index 3541809..3350980 100644 --- a/src/components/widget/Data/UserActivity.tsx +++ b/src/components/widget/Data/UserActivity.tsx @@ -10,9 +10,9 @@ import { gridSpacing } from 'store/constant'; import WatchLaterTwoToneIcon from '@mui/icons-material/WatchLaterTwoTone'; import FiberManualRecordIcon from '@mui/icons-material/FiberManualRecord'; -const Avatar1 = '/berry-dashboard/assets/images/users/avatar-1.png'; -const Avatar2 = '/berry-dashboard/assets/images/users/avatar-2.png'; -const Avatar3 = '/berry-dashboard/assets/images/users/avatar-3.png'; +const Avatar1 = '/assets/images/users/avatar-1.png'; +const Avatar2 = '/assets/images/users/avatar-2.png'; +const Avatar3 = '/assets/images/users/avatar-3.png'; // ===========================|| DATA WIDGET - USER ACTIVITY CARD ||=========================== // diff --git a/src/layout/MainLayout/Header/NotificationSection/NotificationList.tsx b/src/layout/MainLayout/Header/NotificationSection/NotificationList.tsx index 2d8745a..6b338d6 100644 --- a/src/layout/MainLayout/Header/NotificationSection/NotificationList.tsx +++ b/src/layout/MainLayout/Header/NotificationSection/NotificationList.tsx @@ -19,7 +19,7 @@ import { // assets import { IconBrandTelegram, IconBuildingStore, IconMailbox, IconPhoto } from '@tabler/icons'; -const User1 = '/berry-dashboard/assets/images/users/user-round.svg'; +const User1 = '/assets/images/users/user-round.svg'; // styles const ListItemWrapper = styled('div')(({ theme }) => ({ diff --git a/src/layout/MainLayout/Header/ProfileSection/index.tsx b/src/layout/MainLayout/Header/ProfileSection/index.tsx index 2d9ab8a..571bca9 100644 --- a/src/layout/MainLayout/Header/ProfileSection/index.tsx +++ b/src/layout/MainLayout/Header/ProfileSection/index.tsx @@ -37,7 +37,7 @@ import useAuth from 'hooks/useAuth'; import { IconLogout, IconSearch, IconSettings, IconUser } from '@tabler/icons'; import useConfig from 'hooks/useConfig'; -const User1 = '/berry-dashboard/assets/images/users/user-round.svg'; +const User1 = '/assets/images/users/user-round.svg'; // ==============================|| PROFILE MENU ||============================== // diff --git a/src/pages/404.tsx b/src/pages/404.tsx index 13e90d3..f49f3ac 100644 --- a/src/pages/404.tsx +++ b/src/pages/404.tsx @@ -11,11 +11,11 @@ import { gridSpacing } from 'store/constant'; // assets import HomeTwoToneIcon from '@mui/icons-material/HomeTwoTone'; -const imageBackground = '/berry-dashboard/assets/images/maintenance/img-error-bg.svg'; -const imageDarkBackground = '/berry-dashboard/assets/images/maintenance/img-error-bg-dark.svg'; -const imageBlue = '/berry-dashboard/assets/images/maintenance/img-error-blue.svg'; -const imageText = '/berry-dashboard/assets/images/maintenance/img-error-text.svg'; -const imagePurple = '/berry-dashboard/assets/images/maintenance/img-error-purple.svg'; +const imageBackground = '/assets/images/maintenance/img-error-bg.svg'; +const imageDarkBackground = '/assets/images/maintenance/img-error-bg-dark.svg'; +const imageBlue = '/assets/images/maintenance/img-error-blue.svg'; +const imageText = '/assets/images/maintenance/img-error-text.svg'; +const imagePurple = '/assets/images/maintenance/img-error-purple.svg'; // styles const CardMediaWrapper = styled('div')({ diff --git a/src/pages/500.tsx b/src/pages/500.tsx index 13e90d3..f49f3ac 100644 --- a/src/pages/500.tsx +++ b/src/pages/500.tsx @@ -11,11 +11,11 @@ import { gridSpacing } from 'store/constant'; // assets import HomeTwoToneIcon from '@mui/icons-material/HomeTwoTone'; -const imageBackground = '/berry-dashboard/assets/images/maintenance/img-error-bg.svg'; -const imageDarkBackground = '/berry-dashboard/assets/images/maintenance/img-error-bg-dark.svg'; -const imageBlue = '/berry-dashboard/assets/images/maintenance/img-error-blue.svg'; -const imageText = '/berry-dashboard/assets/images/maintenance/img-error-text.svg'; -const imagePurple = '/berry-dashboard/assets/images/maintenance/img-error-purple.svg'; +const imageBackground = '/assets/images/maintenance/img-error-bg.svg'; +const imageDarkBackground = '/assets/images/maintenance/img-error-bg-dark.svg'; +const imageBlue = '/assets/images/maintenance/img-error-blue.svg'; +const imageText = '/assets/images/maintenance/img-error-text.svg'; +const imagePurple = '/assets/images/maintenance/img-error-purple.svg'; // styles const CardMediaWrapper = styled('div')({ diff --git a/src/pages/api/comments/add.ts b/src/pages/api/comments/add.ts index c3c0af2..4fcae5e 100644 --- a/src/pages/api/comments/add.ts +++ b/src/pages/api/comments/add.ts @@ -1,8 +1,8 @@ import { NextApiRequest, NextApiResponse } from 'next'; import { Post } from 'types/user-profile'; -const image1 = '/berry-dashboard/assets/images/profile/img-profile1.png'; -const image2 = '/berry-dashboard/assets/images/profile/img-profile2.jpg'; -const image4 = '/berry-dashboard/assets/images/profile/img-profile4.jpg'; +const image1 = '/assets/images/profile/img-profile1.png'; +const image2 = '/assets/images/profile/img-profile2.jpg'; +const image4 = '/assets/images/profile/img-profile4.jpg'; let posts: Post[] = [ { diff --git a/src/pages/api/comments/list/like.ts b/src/pages/api/comments/list/like.ts index 459e1d0..bb7708d 100644 --- a/src/pages/api/comments/list/like.ts +++ b/src/pages/api/comments/list/like.ts @@ -1,8 +1,8 @@ import { NextApiRequest, NextApiResponse } from 'next'; import { Post } from 'types/user-profile'; -const image1 = '/berry-dashboard/assets/images/profile/img-profile1.png'; -const image2 = '/berry-dashboard/assets/images/profile/img-profile2.jpg'; -const image4 = '/berry-dashboard/assets/images/profile/img-profile4.jpg'; +const image1 = '/assets/images/profile/img-profile1.png'; +const image2 = '/assets/images/profile/img-profile2.jpg'; +const image4 = '/assets/images/profile/img-profile4.jpg'; let posts: Post[] = [ { diff --git a/src/pages/api/posts/editComment.ts b/src/pages/api/posts/editComment.ts index 361e01d..b2af256 100644 --- a/src/pages/api/posts/editComment.ts +++ b/src/pages/api/posts/editComment.ts @@ -1,8 +1,8 @@ import { NextApiRequest, NextApiResponse } from 'next'; import { Post } from 'types/user-profile'; -const image1 = '/berry-dashboard/assets/images/profile/img-profile1.png'; -const image2 = '/berry-dashboard/assets/images/profile/img-profile2.jpg'; -const image4 = '/berry-dashboard/assets/images/profile/img-profile4.jpg'; +const image1 = '/assets/images/profile/img-profile1.png'; +const image2 = '/assets/images/profile/img-profile2.jpg'; +const image4 = '/assets/images/profile/img-profile4.jpg'; let posts: Post[] = [ { diff --git a/src/pages/api/posts/list.ts b/src/pages/api/posts/list.ts index 5b1f2e1..d973b70 100644 --- a/src/pages/api/posts/list.ts +++ b/src/pages/api/posts/list.ts @@ -1,8 +1,8 @@ import { NextApiRequest, NextApiResponse } from 'next'; import { Post } from 'types/user-profile'; -const image1 = '/berry-dashboard/assets/images/profile/img-profile1.png'; -const image2 = '/berry-dashboard/assets/images/profile/img-profile2.jpg'; -const image4 = '/berry-dashboard/assets/images/profile/img-profile4.jpg'; +const image1 = '/assets/images/profile/img-profile1.png'; +const image2 = '/assets/images/profile/img-profile2.jpg'; +const image4 = '/assets/images/profile/img-profile4.jpg'; let posts: Post[] = [ { diff --git a/src/pages/api/posts/list/like.ts b/src/pages/api/posts/list/like.ts index 1a8b86d..606aea7 100644 --- a/src/pages/api/posts/list/like.ts +++ b/src/pages/api/posts/list/like.ts @@ -1,8 +1,8 @@ import { NextApiRequest, NextApiResponse } from 'next'; import { Post } from 'types/user-profile'; -const image1 = '/berry-dashboard/assets/images/profile/img-profile1.png'; -const image2 = '/berry-dashboard/assets/images/profile/img-profile2.jpg'; -const image4 = '/berry-dashboard/assets/images/profile/img-profile4.jpg'; +const image1 = '/assets/images/profile/img-profile1.png'; +const image2 = '/assets/images/profile/img-profile2.jpg'; +const image4 = '/assets/images/profile/img-profile4.jpg'; let posts: Post[] = [ { diff --git a/src/pages/api/replies/add.ts b/src/pages/api/replies/add.ts index 01a5313..0e84ed3 100644 --- a/src/pages/api/replies/add.ts +++ b/src/pages/api/replies/add.ts @@ -1,8 +1,8 @@ import { NextApiRequest, NextApiResponse } from 'next'; import { Post } from 'types/user-profile'; -const image1 = '/berry-dashboard/assets/images/profile/img-profile1.png'; -const image2 = '/berry-dashboard/assets/images/profile/img-profile2.jpg'; -const image4 = '/berry-dashboard/assets/images/profile/img-profile4.jpg'; +const image1 = '/assets/images/profile/img-profile1.png'; +const image2 = '/assets/images/profile/img-profile2.jpg'; +const image4 = '/assets/images/profile/img-profile4.jpg'; let posts: Post[] = [ { diff --git a/src/pages/api/replies/list/like.ts b/src/pages/api/replies/list/like.ts index 6c7cf54..11ac9c2 100644 --- a/src/pages/api/replies/list/like.ts +++ b/src/pages/api/replies/list/like.ts @@ -1,8 +1,8 @@ import { NextApiRequest, NextApiResponse } from 'next'; import { Post } from 'types/user-profile'; -const image1 = '/berry-dashboard/assets/images/profile/img-profile1.png'; -const image2 = '/berry-dashboard/assets/images/profile/img-profile2.jpg'; -const image4 = '/berry-dashboard/assets/images/profile/img-profile4.jpg'; +const image1 = '/assets/images/profile/img-profile1.png'; +const image2 = '/assets/images/profile/img-profile2.jpg'; +const image4 = '/assets/images/profile/img-profile4.jpg'; let posts: Post[] = [ { diff --git a/src/pages/api/user-list/s2/list.ts b/src/pages/api/user-list/s2/list.ts index 92b3e24..44f5779 100644 --- a/src/pages/api/user-list/s2/list.ts +++ b/src/pages/api/user-list/s2/list.ts @@ -1,8 +1,8 @@ import { NextApiRequest, NextApiResponse } from 'next'; -const Avatar1 = '/berry-dashboard/assets/images/users/avatar-1.png'; -const Avatar2 = '/berry-dashboard/assets/images/users/avatar-2.png'; -const Avatar3 = '/berry-dashboard/assets/images/users/avatar-3.png'; +const Avatar1 = '/assets/images/users/avatar-1.png'; +const Avatar2 = '/assets/images/users/avatar-2.png'; +const Avatar3 = '/assets/images/users/avatar-3.png'; const users_s2 = [ { image: Avatar1, diff --git a/src/pages/app/chat.tsx b/src/pages/app/chat.tsx index ddddbbd..c56210f 100644 --- a/src/pages/app/chat.tsx +++ b/src/pages/app/chat.tsx @@ -47,7 +47,7 @@ import { ChatHistory } from 'types/chat'; import { History as HistoryProps } from 'types/chat'; import EmojiPicker from 'ui-component/third-party/EmojiPicker'; -const avatarImage = '/berry-dashboard/assets/images/users'; +const avatarImage = '/assets/images/users'; // drawer content element const Main = styled('main', { shouldForwardProp: (prop: string) => prop !== 'open' })( diff --git a/src/pages/app/contact/c-card.tsx b/src/pages/app/contact/c-card.tsx index 4c64fd5..72c7c94 100644 --- a/src/pages/app/contact/c-card.tsx +++ b/src/pages/app/contact/c-card.tsx @@ -13,7 +13,7 @@ import UserEdit from 'components/application/contact/UserEdit'; import ContactCard from 'ui-component/cards/ContactCard'; import MainCard from 'ui-component/cards/MainCard'; import { gridSpacing } from 'store/constant'; -const User1 = '/berry-dashboard/assets/images/users/avatar-1.png'; +const User1 = '/assets/images/users/avatar-1.png'; import { KeyedObject } from 'types'; import { UserProfile } from 'types/user-profile'; import { useDispatch, useSelector } from 'store'; diff --git a/src/pages/app/contact/c-list.tsx b/src/pages/app/contact/c-list.tsx index 0afbe5d..b9d1218 100644 --- a/src/pages/app/contact/c-list.tsx +++ b/src/pages/app/contact/c-list.tsx @@ -12,7 +12,7 @@ import UserEdit from 'components/application/contact/UserEdit'; import ContactList from 'ui-component/cards/ContactList'; import MainCard from 'ui-component/cards/MainCard'; import { gridSpacing } from 'store/constant'; -const User1 = '/berry-dashboard/assets/images/users/avatar-1.png'; +const User1 = '/assets/images/users/avatar-1.png'; import { KeyedObject } from 'types'; import { UserProfile } from 'types/user-profile'; import { useDispatch, useSelector } from 'store'; diff --git a/src/pages/app/e-commerce/product-list.tsx b/src/pages/app/e-commerce/product-list.tsx index 2d751bd..305e852 100644 --- a/src/pages/app/e-commerce/product-list.tsx +++ b/src/pages/app/e-commerce/product-list.tsx @@ -46,7 +46,7 @@ import SearchIcon from '@mui/icons-material/Search'; import AddIcon from '@mui/icons-material/AddTwoTone'; import MoreHorizOutlinedIcon from '@mui/icons-material/MoreHorizOutlined'; -const prodImage = '/berry-dashboard/assets/images/e-commerce'; +const prodImage = '/assets/images/e-commerce'; // table sort function descendingComparator(a: KeyedObject, b: KeyedObject, orderBy: string) { diff --git a/src/pages/app/user/social-profile/[tab].tsx b/src/pages/app/user/social-profile/[tab].tsx index da0dd33..ccfbb0e 100644 --- a/src/pages/app/user/social-profile/[tab].tsx +++ b/src/pages/app/user/social-profile/[tab].tsx @@ -24,8 +24,8 @@ import { IconFriends, IconInbox, IconPhoto, IconUserPlus, IconUsers } from '@tab import PersonAddTwoToneIcon from '@mui/icons-material/PersonAddTwoTone'; import { TabsProps } from 'types'; -const User1 = '/berry-dashboard/assets/images/profile/img-user.png'; -const Cover = '/berry-dashboard/assets/images/profile/img-profile-bg.png'; +const User1 = '/assets/images/profile/img-user.png'; +const Cover = '/assets/images/profile/img-profile-bg.png'; function TabPanel({ children, value, index, ...other }: TabsProps) { return ( diff --git a/src/pages/pages/authentication/auth1/check-mail.tsx b/src/pages/pages/authentication/auth1/check-mail.tsx index 10e7614..0e56176 100644 --- a/src/pages/pages/authentication/auth1/check-mail.tsx +++ b/src/pages/pages/authentication/auth1/check-mail.tsx @@ -13,7 +13,7 @@ import BackgroundPattern1 from 'ui-component/cards/BackgroundPattern1'; import AuthSlider from 'ui-component/cards/AuthSlider'; import { AuthSliderProps } from 'types'; // assets -const AuthBlueCard = '/berry-dashboard/assets/images/auth/auth-mail-blue-card.svg'; +const AuthBlueCard = '/assets/images/auth/auth-mail-blue-card.svg'; // styles const BlueWrapper = styled('span')(({ theme }) => ({ diff --git a/src/pages/pages/authentication/auth1/code-verification.tsx b/src/pages/pages/authentication/auth1/code-verification.tsx index 5328ca6..02bb538 100644 --- a/src/pages/pages/authentication/auth1/code-verification.tsx +++ b/src/pages/pages/authentication/auth1/code-verification.tsx @@ -15,8 +15,8 @@ import { AuthSliderProps } from 'types'; import AuthCodeVerification from 'components/authentication/auth-forms/AuthCodeVerification'; // assets -const AuthBlueCard = '/berry-dashboard/assets/images/auth/auth-signup-blue-card.svg'; -const AuthWhiteCard = '/berry-dashboard/assets/images/auth/auth-signup-white-card.svg'; +const AuthBlueCard = '/assets/images/auth/auth-signup-blue-card.svg'; +const AuthWhiteCard = '/assets/images/auth/auth-signup-white-card.svg'; // styles const BlueWrapper = styled('span')(({ theme }) => ({ diff --git a/src/pages/pages/authentication/auth1/forgot-password.tsx b/src/pages/pages/authentication/auth1/forgot-password.tsx index 53fec8b..368e412 100644 --- a/src/pages/pages/authentication/auth1/forgot-password.tsx +++ b/src/pages/pages/authentication/auth1/forgot-password.tsx @@ -14,7 +14,7 @@ import BackgroundPattern1 from 'ui-component/cards/BackgroundPattern1'; import AuthSlider from 'ui-component/cards/AuthSlider'; import { AuthSliderProps } from 'types'; // assets -const AuthMultiCard = '/berry-dashboard/assets/images/auth/auth-forgot-pass-multi-card.svg'; +const AuthMultiCard = '/assets/images/auth/auth-forgot-pass-multi-card.svg'; // styles const PurpleWrapper = styled('span')(({ theme }) => ({ diff --git a/src/pages/pages/authentication/auth1/login.tsx b/src/pages/pages/authentication/auth1/login.tsx index 7692050..7b4a173 100644 --- a/src/pages/pages/authentication/auth1/login.tsx +++ b/src/pages/pages/authentication/auth1/login.tsx @@ -13,8 +13,8 @@ import AuthSlider from 'ui-component/cards/AuthSlider'; import { AuthSliderProps } from 'types'; // assets -const AuthBlueCard = '/berry-dashboard/assets/images/auth/auth-blue-card.svg'; -const AuthPurpleCard = '/berry-dashboard/assets/images/auth/auth-purple-card.svg'; +const AuthBlueCard = '/assets/images/auth/auth-blue-card.svg'; +const AuthPurpleCard = '/assets/images/auth/auth-purple-card.svg'; // styles const PurpleWrapper = styled('span')({ diff --git a/src/pages/pages/authentication/auth1/register.tsx b/src/pages/pages/authentication/auth1/register.tsx index 7bab91c..f4e4112 100644 --- a/src/pages/pages/authentication/auth1/register.tsx +++ b/src/pages/pages/authentication/auth1/register.tsx @@ -12,8 +12,8 @@ import BackgroundPattern1 from 'ui-component/cards/BackgroundPattern1'; import AuthSlider from 'ui-component/cards/AuthSlider'; import { AuthSliderProps } from 'types'; // assets -const AuthBlueCard = '/berry-dashboard/assets/images/auth/auth-signup-blue-card.svg'; -const AuthWhiteCard = '/berry-dashboard/assets/images/auth/auth-signup-white-card.svg'; +const AuthBlueCard = '/assets/images/auth/auth-signup-blue-card.svg'; +const AuthWhiteCard = '/assets/images/auth/auth-signup-white-card.svg'; // styles const PurpleWrapper = styled('span')(({ theme }) => ({ diff --git a/src/pages/pages/authentication/auth1/reset-password.tsx b/src/pages/pages/authentication/auth1/reset-password.tsx index 903d41c..3109eea 100644 --- a/src/pages/pages/authentication/auth1/reset-password.tsx +++ b/src/pages/pages/authentication/auth1/reset-password.tsx @@ -15,8 +15,8 @@ import AuthSlider from 'ui-component/cards/AuthSlider'; import { AuthSliderProps } from 'types'; // assets -const AuthErrorCard = '/berry-dashboard/assets/images/auth/auth-reset-error-card.svg'; -const AuthPurpleCard = '/berry-dashboard/assets/images/auth/auth-reset-purple-card.svg'; +const AuthErrorCard = '/assets/images/auth/auth-reset-error-card.svg'; +const AuthPurpleCard = '/assets/images/auth/auth-reset-purple-card.svg'; // styles const PurpleWrapper = styled('span')(({ theme }) => ({ diff --git a/src/pages/pages/authentication/auth2/check-mail.tsx b/src/pages/pages/authentication/auth2/check-mail.tsx index 455b1e2..3a4fa3f 100644 --- a/src/pages/pages/authentication/auth2/check-mail.tsx +++ b/src/pages/pages/authentication/auth2/check-mail.tsx @@ -15,7 +15,7 @@ import BackgroundPattern2 from 'ui-component/cards/BackgroundPattern2'; import AuthSlider from 'ui-component/cards/AuthSlider'; import { AuthSliderProps } from 'types'; // assets -const imgMain = '/berry-dashboard/assets/images/auth/img-a2-checkmail.svg'; +const imgMain = '/assets/images/auth/img-a2-checkmail.svg'; // carousel items const items: AuthSliderProps[] = [ diff --git a/src/pages/pages/authentication/auth2/code-verification.tsx b/src/pages/pages/authentication/auth2/code-verification.tsx index 302b06a..6d94226 100644 --- a/src/pages/pages/authentication/auth2/code-verification.tsx +++ b/src/pages/pages/authentication/auth2/code-verification.tsx @@ -18,7 +18,7 @@ import { AuthSliderProps } from 'types'; import AuthCodeVerification from 'components/authentication/auth-forms/AuthCodeVerification'; // assets -const imgMain = '/berry-dashboard/assets/images/auth/img-a2-codevarify.svg'; +const imgMain = '/assets/images/auth/img-a2-codevarify.svg'; // carousel items const items: AuthSliderProps[] = [ diff --git a/src/pages/pages/authentication/auth2/forgot-password.tsx b/src/pages/pages/authentication/auth2/forgot-password.tsx index 02177cb..5662ea3 100644 --- a/src/pages/pages/authentication/auth2/forgot-password.tsx +++ b/src/pages/pages/authentication/auth2/forgot-password.tsx @@ -16,7 +16,7 @@ import BackgroundPattern2 from 'ui-component/cards/BackgroundPattern2'; import AuthSlider from 'ui-component/cards/AuthSlider'; import { AuthSliderProps } from 'types'; // assets -const imgMain = '/berry-dashboard/assets/images/auth/img-a2-forgotpass.svg'; +const imgMain = '/assets/images/auth/img-a2-forgotpass.svg'; // carousel items const items: AuthSliderProps[] = [ diff --git a/src/pages/pages/authentication/auth2/login.tsx b/src/pages/pages/authentication/auth2/login.tsx index eb7ec8e..b83f23e 100644 --- a/src/pages/pages/authentication/auth2/login.tsx +++ b/src/pages/pages/authentication/auth2/login.tsx @@ -14,7 +14,7 @@ import BackgroundPattern2 from 'ui-component/cards/BackgroundPattern2'; import AuthSlider from 'ui-component/cards/AuthSlider'; import { AuthSliderProps } from 'types'; // assets -const imgMain = '/berry-dashboard/assets/images/auth/img-a2-login.svg'; +const imgMain = '/assets/images/auth/img-a2-login.svg'; // carousel items const items: AuthSliderProps[] = [ diff --git a/src/pages/pages/authentication/auth2/register.tsx b/src/pages/pages/authentication/auth2/register.tsx index 24a2715..eb05628 100644 --- a/src/pages/pages/authentication/auth2/register.tsx +++ b/src/pages/pages/authentication/auth2/register.tsx @@ -16,7 +16,7 @@ import BackgroundPattern2 from 'ui-component/cards/BackgroundPattern2'; import AuthSlider from 'ui-component/cards/AuthSlider'; import { AuthSliderProps } from 'types'; // assets -const imgMain = '/berry-dashboard/assets/images/auth/img-a2-signup.svg'; +const imgMain = '/assets/images/auth/img-a2-signup.svg'; // carousel items const items: AuthSliderProps[] = [ diff --git a/src/pages/pages/authentication/auth2/reset-password.tsx b/src/pages/pages/authentication/auth2/reset-password.tsx index d273db5..47b1e16 100644 --- a/src/pages/pages/authentication/auth2/reset-password.tsx +++ b/src/pages/pages/authentication/auth2/reset-password.tsx @@ -15,7 +15,7 @@ import BackgroundPattern2 from 'ui-component/cards/BackgroundPattern2'; import AuthSlider from 'ui-component/cards/AuthSlider'; import { AuthSliderProps } from 'types'; // assets -const imgMain = '/berry-dashboard/assets/images/auth/img-a2-resetpass.svg'; +const imgMain = '/assets/images/auth/img-a2-resetpass.svg'; // carousel items const items: AuthSliderProps[] = [ diff --git a/src/pages/pages/contact-us/index.tsx b/src/pages/pages/contact-us/index.tsx index cd3fda2..aac0a86 100644 --- a/src/pages/pages/contact-us/index.tsx +++ b/src/pages/pages/contact-us/index.tsx @@ -6,7 +6,7 @@ import ContactCard from 'components/contact-us/ContactCard'; import AppBar from 'ui-component/extended/AppBar'; // assets -const headerBackground = '/berry-dashboard/assets/images/landing/header-bg.jpg'; +const headerBackground = '/assets/images/landing/header-bg.jpg'; const HeaderWrapper = styled('div')(({ theme }) => ({ backgroundImage: `url(${headerBackground})`, diff --git a/src/pages/pages/faqs/index.tsx b/src/pages/pages/faqs/index.tsx index 22a24b0..5dafdca 100644 --- a/src/pages/pages/faqs/index.tsx +++ b/src/pages/pages/faqs/index.tsx @@ -11,8 +11,8 @@ import Accordion from 'ui-component/extended/Accordion'; import { gridSpacing } from 'store/constant'; // assets -const mailImg = '/berry-dashboard/assets/images/landing/img-contact-mail.svg'; -const headerBackground = '/berry-dashboard/assets/images/landing/header-bg.jpg'; +const mailImg = '/assets/images/landing/img-contact-mail.svg'; +const headerBackground = '/assets/images/landing/header-bg.jpg'; const HeaderWrapper = styled('div')(({ theme }) => ({ backgroundImage: `url(${headerBackground})`, diff --git a/src/pages/pages/maintenance/coming-soon/coming-soon1.tsx b/src/pages/pages/maintenance/coming-soon/coming-soon1.tsx index eb0eb4d..a518ecf 100644 --- a/src/pages/pages/maintenance/coming-soon/coming-soon1.tsx +++ b/src/pages/pages/maintenance/coming-soon/coming-soon1.tsx @@ -21,22 +21,22 @@ import TwitterIcon from '@mui/icons-material/Twitter'; import GitHubIcon from '@mui/icons-material/GitHub'; import BookIcon from '@mui/icons-material/Book'; -const logo = '/berry-dashboard/assets/images/logo.svg'; -const logoDark = '/berry-dashboard/assets/images/logo-dark.svg'; -const companyLogo = '/berry-dashboard/assets/images/maintenance/img-ct-logo.png'; -const imageBackground = '/berry-dashboard/assets/images/maintenance/img-soon-bg.svg'; -const imageGrid = '/berry-dashboard/assets/images/maintenance/img-soon-bg-grid.svg'; -const imageDarkGrid = '/berry-dashboard/assets/images/maintenance/img-soon-bg-grid-dark.svg'; -const imageSoon2 = '/berry-dashboard/assets/images/maintenance/img-soon-2.svg'; -const imageSoon3 = '/berry-dashboard/assets/images/maintenance/img-soon-3.svg'; -const imageSoon4 = '/berry-dashboard/assets/images/maintenance/img-soon-4.svg'; -const imageSoon5 = '/berry-dashboard/assets/images/maintenance/img-soon-5.svg'; -const imageSoon6 = '/berry-dashboard/assets/images/maintenance/img-soon-6.svg'; -const imageSoon7 = '/berry-dashboard/assets/images/maintenance/img-soon-7.svg'; -const imageSoon8 = '/berry-dashboard/assets/images/maintenance/img-soon-8.svg'; -const imageSlider1 = '/berry-dashboard/assets/images/maintenance/img-slider-layout1.png'; -const imageSlider2 = '/berry-dashboard/assets/images/maintenance/img-slider-layout2.png'; -const imageSlider3 = '/berry-dashboard/assets/images/maintenance/img-slider-layout3.png'; +const logo = '/assets/images/logo.svg'; +const logoDark = '/assets/images/logo-dark.svg'; +const companyLogo = '/assets/images/maintenance/img-ct-logo.png'; +const imageBackground = '/assets/images/maintenance/img-soon-bg.svg'; +const imageGrid = '/assets/images/maintenance/img-soon-bg-grid.svg'; +const imageDarkGrid = '/assets/images/maintenance/img-soon-bg-grid-dark.svg'; +const imageSoon2 = '/assets/images/maintenance/img-soon-2.svg'; +const imageSoon3 = '/assets/images/maintenance/img-soon-3.svg'; +const imageSoon4 = '/assets/images/maintenance/img-soon-4.svg'; +const imageSoon5 = '/assets/images/maintenance/img-soon-5.svg'; +const imageSoon6 = '/assets/images/maintenance/img-soon-6.svg'; +const imageSoon7 = '/assets/images/maintenance/img-soon-7.svg'; +const imageSoon8 = '/assets/images/maintenance/img-soon-8.svg'; +const imageSlider1 = '/assets/images/maintenance/img-slider-layout1.png'; +const imageSlider2 = '/assets/images/maintenance/img-slider-layout2.png'; +const imageSlider3 = '/assets/images/maintenance/img-slider-layout3.png'; // styles const CardMediaWrapper = styled('div')(({ theme }) => ({ diff --git a/src/pages/pages/maintenance/coming-soon/coming-soon2.tsx b/src/pages/pages/maintenance/coming-soon/coming-soon2.tsx index b430b99..71b850c 100644 --- a/src/pages/pages/maintenance/coming-soon/coming-soon2.tsx +++ b/src/pages/pages/maintenance/coming-soon/coming-soon2.tsx @@ -10,11 +10,11 @@ import AnimateButton from 'ui-component/extended/AnimateButton'; import { gridSpacing } from 'store/constant'; // assets -const imageGrid = '/berry-dashboard/assets/images/maintenance/img-soon-grid.svg'; -const imageDarkGrid = '/berry-dashboard/assets/images/maintenance/img-soon-grid-dark.svg'; -const imageBlock = '/berry-dashboard/assets/images/maintenance/img-soon-block.svg'; -const imageBlueBlock = '/berry-dashboard/assets/images/maintenance/img-soon-blue-block.svg'; -const imagePurpleBlock = '/berry-dashboard/assets/images/maintenance/img-soon-purple-block.svg'; +const imageGrid = '/assets/images/maintenance/img-soon-grid.svg'; +const imageDarkGrid = '/assets/images/maintenance/img-soon-grid-dark.svg'; +const imageBlock = '/assets/images/maintenance/img-soon-block.svg'; +const imageBlueBlock = '/assets/images/maintenance/img-soon-blue-block.svg'; +const imagePurpleBlock = '/assets/images/maintenance/img-soon-purple-block.svg'; import NotificationsActiveTwoToneIcon from '@mui/icons-material/NotificationsActiveTwoTone'; diff --git a/src/pages/pages/maintenance/error.tsx b/src/pages/pages/maintenance/error.tsx index 13e90d3..f49f3ac 100644 --- a/src/pages/pages/maintenance/error.tsx +++ b/src/pages/pages/maintenance/error.tsx @@ -11,11 +11,11 @@ import { gridSpacing } from 'store/constant'; // assets import HomeTwoToneIcon from '@mui/icons-material/HomeTwoTone'; -const imageBackground = '/berry-dashboard/assets/images/maintenance/img-error-bg.svg'; -const imageDarkBackground = '/berry-dashboard/assets/images/maintenance/img-error-bg-dark.svg'; -const imageBlue = '/berry-dashboard/assets/images/maintenance/img-error-blue.svg'; -const imageText = '/berry-dashboard/assets/images/maintenance/img-error-text.svg'; -const imagePurple = '/berry-dashboard/assets/images/maintenance/img-error-purple.svg'; +const imageBackground = '/assets/images/maintenance/img-error-bg.svg'; +const imageDarkBackground = '/assets/images/maintenance/img-error-bg-dark.svg'; +const imageBlue = '/assets/images/maintenance/img-error-blue.svg'; +const imageText = '/assets/images/maintenance/img-error-text.svg'; +const imagePurple = '/assets/images/maintenance/img-error-purple.svg'; // styles const CardMediaWrapper = styled('div')({ diff --git a/src/pages/pages/maintenance/under-construction/index.tsx b/src/pages/pages/maintenance/under-construction/index.tsx index 24cf2b4..d320196 100644 --- a/src/pages/pages/maintenance/under-construction/index.tsx +++ b/src/pages/pages/maintenance/under-construction/index.tsx @@ -11,10 +11,10 @@ import { gridSpacing } from 'store/constant'; // assets import HomeTwoToneIcon from '@mui/icons-material/HomeTwoTone'; -const image = '/berry-dashboard/assets/images/maintenance/img-build.svg'; -const imageBackground = '/berry-dashboard/assets/images/maintenance/img-bg-grid.svg'; -const imageDarkBackground = '/berry-dashboard/assets/images/maintenance/img-bg-grid-dark.svg'; -const imageParts = '/berry-dashboard/assets/images/maintenance/img-bg-parts.svg'; +const image = '/assets/images/maintenance/img-build.svg'; +const imageBackground = '/assets/images/maintenance/img-bg-grid.svg'; +const imageDarkBackground = '/assets/images/maintenance/img-bg-grid-dark.svg'; +const imageParts = '/assets/images/maintenance/img-bg-parts.svg'; // styles const CardMediaWrapper = styled('div')({ diff --git a/src/pages/pages/privacy-policy/index.tsx b/src/pages/pages/privacy-policy/index.tsx index 9565063..cc8a54e 100644 --- a/src/pages/pages/privacy-policy/index.tsx +++ b/src/pages/pages/privacy-policy/index.tsx @@ -9,7 +9,7 @@ import MainCard from 'ui-component/cards/MainCard'; import { gridSpacing } from 'store/constant'; // assets -const headerBackground = '/berry-dashboard/assets/images/landing/header-bg.jpg'; +const headerBackground = '/assets/images/landing/header-bg.jpg'; const HeaderWrapper = styled('div')(({ theme }) => ({ backgroundImage: `url(${headerBackground})`, diff --git a/src/pages/ui-element/basic/avatar.tsx b/src/pages/ui-element/basic/avatar.tsx index 1675fd5..da0a1ea 100644 --- a/src/pages/ui-element/basic/avatar.tsx +++ b/src/pages/ui-element/basic/avatar.tsx @@ -14,12 +14,12 @@ import PageviewIcon from '@mui/icons-material/PageviewTwoTone'; import AssignmentIcon from '@mui/icons-material/AssignmentIndTwoTone'; import CheckTwoToneIcon from '@mui/icons-material/CheckTwoTone'; -const Avatar1 = '/berry-dashboard/assets/images/users/avatar-1.png'; -const Avatar2 = '/berry-dashboard/assets/images/users/avatar-2.png'; -const Avatar3 = '/berry-dashboard/assets/images/users/avatar-3.png'; -const Avatar4 = '/berry-dashboard/assets/images/users/avatar-4.png'; -const Avatar5 = '/berry-dashboard/assets/images/users/avatar-5.png'; -const Profile = '/berry-dashboard/assets/images/users/profile.png'; +const Avatar1 = '/assets/images/users/avatar-1.png'; +const Avatar2 = '/assets/images/users/avatar-2.png'; +const Avatar3 = '/assets/images/users/avatar-3.png'; +const Avatar4 = '/assets/images/users/avatar-4.png'; +const Avatar5 = '/assets/images/users/avatar-5.png'; +const Profile = '/assets/images/users/profile.png'; // ===============================|| UI AVATAR ||=============================== // diff --git a/src/pages/ui-element/basic/cards.tsx b/src/pages/ui-element/basic/cards.tsx index 7464e3e..ec19ac3 100644 --- a/src/pages/ui-element/basic/cards.tsx +++ b/src/pages/ui-element/basic/cards.tsx @@ -15,9 +15,9 @@ import SecondaryAction from 'ui-component/cards/CardSecondaryAction'; import { gridSpacing } from 'store/constant'; // assets -const Card1 = '/berry-dashboard/assets/images/cards/card-1.jpg'; -const Card2 = '/berry-dashboard/assets/images/cards/card-2.jpg'; -const Card3 = '/berry-dashboard/assets/images/cards/card-3.jpg'; +const Card1 = '/assets/images/cards/card-1.jpg'; +const Card2 = '/assets/images/cards/card-2.jpg'; +const Card3 = '/assets/images/cards/card-3.jpg'; const userDetails = { id: '#1Card_Phoebe', diff --git a/src/pages/ui-element/basic/chip.tsx b/src/pages/ui-element/basic/chip.tsx index bdfd3f6..a5c393c 100644 --- a/src/pages/ui-element/basic/chip.tsx +++ b/src/pages/ui-element/basic/chip.tsx @@ -10,7 +10,7 @@ import SecondaryAction from 'ui-component/cards/CardSecondaryAction'; import { gridSpacing } from 'store/constant'; // assets -const User1 = '/berry-dashboard/assets/images/users/avatar-1.png'; +const User1 = '/assets/images/users/avatar-1.png'; // ================================|| UI CHIP ||================================ // diff --git a/src/pages/utils/util-animation.tsx b/src/pages/utils/util-animation.tsx index a12358d..44cc802 100644 --- a/src/pages/utils/util-animation.tsx +++ b/src/pages/utils/util-animation.tsx @@ -13,7 +13,7 @@ import Transitions from 'ui-component/extended/Transitions'; import { Direction } from 'types'; // assets -const image = '/berry-dashboard/assets/images/profile/img-profile-bg.png'; +const image = '/assets/images/profile/img-profile-bg.png'; // ==============================|| UTILITIES - ANIMATION ||============================== // diff --git a/yarn.lock b/yarn.lock index d310528..edd2584 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1896,9 +1896,9 @@ dependencies: "glob" "7.1.7" -"@next/swc-win32-x64-msvc@12.1.0": - "integrity" "sha512-aBvcbMwuanDH4EMrL2TthNJy+4nP59Bimn8egqv6GHMVj0a44cU6Au4PjOhLNqEh9l+IpRGBqMTzec94UdC5xg==" - "resolved" "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.1.0.tgz" +"@next/swc-darwin-x64@12.1.0": + "integrity" "sha512-ieAz0/J0PhmbZBB8+EA/JGdhRHBogF8BWaeqR7hwveb6SYEIJaDNQy0I+ZN8gF8hLj63bEDxJAs/cEhdnTq+ug==" + "resolved" "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.1.0.tgz" "version" "12.1.0" "@nodelib/fs.scandir@2.1.5": @@ -2349,10 +2349,10 @@ dependencies: "@types/node" "*" -"@types/lodash@^4.14.175": - "integrity" "sha512-XOKXa1KIxtNXgASAnwj7cnttJxS4fksBRywK/9LzRV5YxrF80BXZIGeQSuoESQ/VkUj30Ae0+YcuHc15wJCB2g==" - "resolved" "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.180.tgz" - "version" "4.14.180" +"@types/lodash@^4.14.175", "@types/lodash@^4.14.199": + "integrity" "sha512-Vrjz5N5Ia4SEzWWgIVwnHNEnb1UE1XMkvY5DGXrAeOGE9imk0hgTHh5GyDjLDJi9OTCn9oo9dXH1uToK1VRfrg==" + "resolved" "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.199.tgz" + "version" "4.14.199" "@types/long@^4.0.1": "integrity" "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==" @@ -4638,6 +4638,11 @@ "resolved" "https://registry.npmjs.org/fscreen/-/fscreen-1.2.0.tgz" "version" "1.2.0" +"fsevents@^2.1.2", "fsevents@~2.3.2": + "integrity" "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==" + "resolved" "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz" + "version" "2.3.2" + "function-bind@^1.1.1": "integrity" "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" "resolved" "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz"