Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
karna41317 committed Oct 3, 2023
1 parent bd4ddaf commit 1cfd5c5
Show file tree
Hide file tree
Showing 112 changed files with 261 additions and 255 deletions.
13 changes: 7 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/Grid/ComplexGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)({
Expand Down
2 changes: 1 addition & 1 deletion src/components/application/chat/UserAvatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||============================== //

Expand Down
8 changes: 4 additions & 4 deletions src/components/application/chat/UserDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||============================== //

Expand Down
2 changes: 1 addition & 1 deletion src/components/application/contact/UserDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions src/components/application/contact/UserEdit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 },
Expand Down
8 changes: 4 additions & 4 deletions src/components/application/customer/Product/ProductAdd.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => ({
Expand Down
2 changes: 1 addition & 1 deletion src/components/application/e-commerce/Checkout/Cart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions src/components/application/e-commerce/Checkout/CartEmpty.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||============================== //

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) => <Zoom ref={ref} {...props} />);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
2 changes: 1 addition & 1 deletion src/components/application/e-commerce/Checkout/Payment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||============================== //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||============================== //

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||============================== //

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||============================== //

Expand Down
2 changes: 1 addition & 1 deletion src/components/application/kanban/Backlogs/AddItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion src/components/application/kanban/Backlogs/AddStory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion src/components/application/kanban/Backlogs/EditStory.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ interface Props {
profile: KanbanProfile;
}

const avatarImage = '/berry-dashboard/assets/images/users';
const avatarImage = '/assets/images/users';

// ==============================|| KANBAN BACKLOGS - STORY COMMENT ||============================== //

Expand Down
2 changes: 1 addition & 1 deletion src/components/application/kanban/Board/EditItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion src/components/application/kanban/Board/ItemComment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ interface Props {
profile: KanbanProfile;
}

const avatarImage = '/berry-dashboard/assets/images/users';
const avatarImage = '/assets/images/users';

// ==============================|| KANBAN BOARD - ITEM COMMENT ||============================== //

Expand Down
2 changes: 1 addition & 1 deletion src/components/application/kanban/Board/Items.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (
Expand Down
2 changes: 1 addition & 1 deletion src/components/application/mail/MailDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||============================== //

Expand Down
4 changes: 2 additions & 2 deletions src/components/application/mail/MailEmpty.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||============================== //

Expand Down
2 changes: 1 addition & 1 deletion src/components/application/mail/MailList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||============================== //

Expand Down
2 changes: 1 addition & 1 deletion src/components/authentication/auth-forms/AuthLogin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||============================ //

Expand Down
2 changes: 1 addition & 1 deletion src/components/authentication/auth-forms/AuthRegister.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/authentication/login/FirebaseLogin
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||============================ //

Expand Down
2 changes: 1 addition & 1 deletion src/components/authentication/register/FirebaseRegister
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/contact-us/ContactCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
10 changes: 5 additions & 5 deletions src/components/dashboard/Analytics/LatestCustomerTableCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/components/dashboard/Default/EarningCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
Loading

0 comments on commit 1cfd5c5

Please sign in to comment.