first commit

This commit is contained in:
pawan-dot 2024-05-31 18:22:57 +05:30
parent 9afc2f4979
commit d95bc5b178
7 changed files with 284 additions and 273 deletions

View File

@ -7,22 +7,33 @@
* License MIT
-->
<html lang="en">
<head>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="description" content="CoreUI for React - Open Source Bootstrap Admin Template" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta
name="description"
content="CoreUI for React - Open Source Bootstrap Admin Template"
/>
<meta name="author" content="Łukasz Holeczek" />
<meta name="keyword" content="Bootstrap,Admin,Template,Open,Source,CSS,SCSS,HTML,RWD,Dashboard,React" />
<title>Smellika Admin</title>
<meta
name="keyword"
content="Bootstrap,Admin,Template,Open,Source,CSS,SCSS,HTML,RWD,Dashboard,React"
/>
<title>AyurPulse Admin</title>
<!--
manifest.json provides metadata used when your web app is added to the
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" />
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
/>
<link rel="react" href="https://coreui.io/react/" />
<!-- <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script> -->
@ -40,9 +51,9 @@
<!-- <link href="/assets/libs/bootstrap-datepicker/css/bootstrap-datepicker.min.css" rel="stylesheet" /> -->
<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" /> -->
</head>
</head>
<body>
<body>
<noscript> You need to enable JavaScript to run this app. </noscript>
<div id="root"></div>
<!--
@ -56,7 +67,6 @@
To create a production bundle, use `npm run build` or `yarn build`.
-->
<script src="https://checkout.razorpay.com/v1/checkout.js"></script>
</body>
<!-- <script src="/assets/libs/bootstrap/js/bootstrap.bundle.min.js"></script> -->
</body>
<!-- <script src="/assets/libs/bootstrap/js/bootstrap.bundle.min.js"></script> -->
</html>

View File

@ -36,160 +36,160 @@ const _nav = [
icon: <CIcon icon={cilSpeedometer} customClassName="nav-icon" />,
group: "",
},
{
component: CNavItem,
name: "Customers",
icon: <CIcon icon={cilTennisBall} customClassName="nav-icon" />,
to: "/customers-details",
group: "Customers",
},
{
component: CNavGroup,
name: "Charts",
icon: <CIcon icon={cilCat} customClassName="nav-icon" />,
group: "",
items: [
{
component: CNavItem,
name: "new user day wise",
icon: <CIcon icon={cilTennisBall} customClassName="nav-icon" />,
to: "/new-user-day-wise",
group: "Charts",
},
{
component: CNavItem,
name: "Revenue By Product",
icon: <CIcon icon={cilTennisBall} customClassName="nav-icon" />,
to: "/revenue-by-product",
group: "Charts",
},
{
component: CNavItem,
name: "Revenue By State",
icon: <CIcon icon={cilTennisBall} customClassName="nav-icon" />,
to: "/revenue-by-state",
group: "Charts",
},
{
component: CNavItem,
name: "Revenue By City",
icon: <CIcon icon={cilTennisBall} customClassName="nav-icon" />,
to: "/revenue-by-city",
group: "Charts",
},
{
component: CNavItem,
name: "Orders (Day Wise)",
icon: <CIcon icon={cilTennisBall} customClassName="nav-icon" />,
to: "/orders-day-wise",
group: "Charts",
},
{
component: CNavItem,
name: "Revenue (Day Wise)",
icon: <CIcon icon={cilTennisBall} customClassName="nav-icon" />,
to: "/revenue-day-wise",
group: "Charts",
},
],
},
{
component: CNavGroup,
name: "Product Management",
icon: <CIcon icon={cilClipboard} customClassName="nav-icon" />,
group: "",
items: [
{
component: CNavItem,
name: "Categories",
icon: <CIcon icon={cilCat} customClassName="nav-icon" />,
to: "/categories",
group: "Product Management",
},
{
component: CNavItem,
name: "Products",
icon: <CIcon icon={cilClipboard} customClassName="nav-icon" />,
to: "/products",
group: "Product Management",
},
{
component: CNavItem,
name: "GST Rate",
icon: <CIcon icon={cilTablet} customClassName="nav-icon" />,
to: "/tax",
group: "Product Management",
},
],
},
{
component: CNavGroup,
name: "Orders",
icon: <CIcon icon={cilCart} customClassName="nav-icon" />,
group: "",
items: [
{
component: CNavItem,
name: "New",
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
to: "/orders/new",
group: "Orders",
},
// {
// component: CNavItem,
// name: "Paid",
// icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
// to: "/orders/returned",
// name: "Customers",
// icon: <CIcon icon={cilTennisBall} customClassName="nav-icon" />,
// to: "/customers-details",
// group: "Customers",
// },
// {
// component: CNavGroup,
// name: "Charts",
// icon: <CIcon icon={cilCat} customClassName="nav-icon" />,
// group: "",
// items: [
// {
// component: CNavItem,
// name: "new user day wise",
// icon: <CIcon icon={cilTennisBall} customClassName="nav-icon" />,
// to: "/new-user-day-wise",
// group: "Charts",
// },
// {
// component: CNavItem,
// name: "Revenue By Product",
// icon: <CIcon icon={cilTennisBall} customClassName="nav-icon" />,
// to: "/revenue-by-product",
// group: "Charts",
// },
// {
// component: CNavItem,
// name: "Revenue By State",
// icon: <CIcon icon={cilTennisBall} customClassName="nav-icon" />,
// to: "/revenue-by-state",
// group: "Charts",
// },
// {
// component: CNavItem,
// name: "Revenue By City",
// icon: <CIcon icon={cilTennisBall} customClassName="nav-icon" />,
// to: "/revenue-by-city",
// group: "Charts",
// },
// {
// component: CNavItem,
// name: "Orders (Day Wise)",
// icon: <CIcon icon={cilTennisBall} customClassName="nav-icon" />,
// to: "/orders-day-wise",
// group: "Charts",
// },
// {
// component: CNavItem,
// name: "Revenue (Day Wise)",
// icon: <CIcon icon={cilTennisBall} customClassName="nav-icon" />,
// to: "/revenue-day-wise",
// group: "Charts",
// },
// ],
// },
// {
// component: CNavGroup,
// name: "Product Management",
// icon: <CIcon icon={cilClipboard} customClassName="nav-icon" />,
// group: "",
// items: [
// {
// component: CNavItem,
// name: "Categories",
// icon: <CIcon icon={cilCat} customClassName="nav-icon" />,
// to: "/categories",
// group: "Product Management",
// },
// {
// component: CNavItem,
// name: "Products",
// icon: <CIcon icon={cilClipboard} customClassName="nav-icon" />,
// to: "/products",
// group: "Product Management",
// },
// {
// component: CNavItem,
// name: "GST Rate",
// icon: <CIcon icon={cilTablet} customClassName="nav-icon" />,
// to: "/tax",
// group: "Product Management",
// },
// ],
// },
// {
// component: CNavGroup,
// name: "Orders",
// icon: <CIcon icon={cilCart} customClassName="nav-icon" />,
// group: "",
// items: [
// {
// component: CNavItem,
// name: "New",
// icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
// to: "/orders/new",
// group: "Orders",
// },
// // {
// // component: CNavItem,
// // name: "Paid",
// // icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
// // to: "/orders/returned",
// // },
// {
// component: CNavItem,
// name: "Processing",
// icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
// to: "/orders/processing",
// group: "Orders",
// },
// {
// component: CNavItem,
// name: "Dispatched",
// icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
// to: "/orders/dispatched",
// group: "Orders",
// },
// {
// component: CNavItem,
// name: "Delivered",
// icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
// to: "/orders/delivered",
// group: "Orders",
// },
// {
// component: CNavItem,
// name: "Cancelled",
// icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
// to: "/orders/cancelled",
// group: "Orders",
// },
// {
// component: CNavItem,
// name: "In Store Cash Orders",
// icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
// to: "/inStoreCashOrders/new",
// group: "Orders",
// },
// {
// component: CNavItem,
// name: "In Store QRCode Orders",
// icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
// to: "/InStoreQRCodeOrders/new",
// group: "Orders",
// },
// ],
// },
{
component: CNavItem,
name: "Processing",
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
to: "/orders/processing",
group: "Orders",
},
{
component: CNavItem,
name: "Dispatched",
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
to: "/orders/dispatched",
group: "Orders",
},
{
component: CNavItem,
name: "Delivered",
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
to: "/orders/delivered",
group: "Orders",
},
{
component: CNavItem,
name: "Cancelled",
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
to: "/orders/cancelled",
group: "Orders",
},
{
component: CNavItem,
name: "In Store Cash Orders",
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
to: "/inStoreCashOrders/new",
group: "Orders",
},
{
component: CNavItem,
name: "In Store QRCode Orders",
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
to: "/InStoreQRCodeOrders/new",
group: "Orders",
},
],
},
{
component: CNavGroup,
name: "Website Related",
@ -225,13 +225,13 @@ const _nav = [
to: "/shopImage",
group: "Website Related",
},
{
component: CNavItem,
name: "Testimonials",
icon: <CIcon icon={cilCompress} customClassName="nav-icon" />,
to: "/testimonials",
group: "Website Related",
},
// {
// component: CNavItem,
// name: "Testimonials",
// icon: <CIcon icon={cilCompress} customClassName="nav-icon" />,
// to: "/testimonials",
// group: "Website Related",
// },
// {
// component: CNavItem,
// name: "Contact Requests",
@ -240,13 +240,13 @@ const _nav = [
// group: "Website Related",
// },
{
component: CNavItem,
name: "SEO and Analytics",
icon: <CIcon icon={cilContact} customClassName="nav-icon" />,
to: "/seo/request/new",
group: "Website Related",
},
// {
// component: CNavItem,
// name: "SEO and Analytics",
// icon: <CIcon icon={cilContact} customClassName="nav-icon" />,
// to: "/seo/request/new",
// group: "Website Related",
// },
{
component: CNavItem,
@ -310,83 +310,83 @@ const _nav = [
],
},
//Affiliate start
{
component: CNavGroup,
name: "Affiliate & Coupons",
icon: <CIcon icon={cilCart} customClassName="nav-icon" />,
group: "",
// {
// component: CNavGroup,
// name: "Affiliate & Coupons",
// icon: <CIcon icon={cilCart} customClassName="nav-icon" />,
// group: "",
items: [
{
component: CNavItem,
name: "Coupons",
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
to: "/affiliate/coupons",
group: "Affiliate & Coupons",
},
{
component: CNavItem,
name: "Affiliates",
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
to: "/affiliate/affiliates",
group: "Affiliate & Coupons",
},
],
},
//Affiliate end
{
component: CNavGroup,
name: "Customer Service",
icon: <CIcon icon={cilClipboard} customClassName="nav-icon" />,
group: "",
items: [
{
component: CNavItem,
name: "Customer Support",
icon: <CIcon icon={cilAlarm} customClassName="nav-icon" />,
to: "/support/request",
group: "Customer Service",
},
{
component: CNavItem,
name: "Contact Requests",
icon: <CIcon icon={cilUser} customClassName="nav-icon" />,
to: "/contact/request",
group: "Customer Service",
},
// items: [
// {
// component: CNavItem,
// name: "Email CMS",
// icon: <CIcon icon={cilLocationPin} customClassName="nav-icon" />,
// to: "/email-cms",
// name: "Coupons",
// icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
// to: "/affiliate/coupons",
// group: "Affiliate & Coupons",
// },
// {
// component: CNavItem,
// name: "Affiliates",
// icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
// to: "/affiliate/affiliates",
// group: "Affiliate & Coupons",
// },
// ],
// },
// //Affiliate end
// {
// component: CNavGroup,
// name: "Customer Service",
// icon: <CIcon icon={cilClipboard} customClassName="nav-icon" />,
// group: "",
// items: [
// {
// component: CNavItem,
// name: "Customer Support",
// icon: <CIcon icon={cilAlarm} customClassName="nav-icon" />,
// to: "/support/request",
// group: "Customer Service",
// },
// {
// component: CNavItem,
// name: "Contact Requests",
// icon: <CIcon icon={cilUser} customClassName="nav-icon" />,
// to: "/contact/request",
// group: "Customer Service",
// },
// // {
// // component: CNavItem,
// // name: "Email CMS",
// // icon: <CIcon icon={cilLocationPin} customClassName="nav-icon" />,
// // to: "/email-cms",
// // },
// ],
// },
// //Blog start
// {
// component: CNavItem,
// name: "Blog",
// icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
// to: "/blogs",
// group: "Blog",
// },
// // Employee
// {
// component: CNavItem,
// name: "Employees & Access",
// icon: <CIcon icon={cilImage} customClassName="nav-icon" />,
// to: "/employee",
// group: "Employees & Access",
// },
// //Point of Sale start
// {
// component: CNavItem,
// name: "Point of Sale",
// icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
// to: "/pos",
// group: "Point of Sale",
// },
],
},
//Blog start
{
component: CNavItem,
name: "Blog",
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
to: "/blogs",
group: "Blog",
},
// Employee
{
component: CNavItem,
name: "Employees & Access",
icon: <CIcon icon={cilImage} customClassName="nav-icon" />,
to: "/employee",
group: "Employees & Access",
},
//Point of Sale start
{
component: CNavItem,
name: "Point of Sale",
icon: <CIcon icon={cilNotes} customClassName="nav-icon" />,
to: "/pos",
group: "Point of Sale",
},
// {
// component: CNavGroup,
// name: "Blog",

View File

@ -127,7 +127,7 @@ const AppSidebar = () => {
<img src={AdminlogoUrl} alt="" width="100%" />
</Link>
) : { AppName } ? (
<h3>Smellika Admin </h3>
<h3>AyurPulse Admin </h3>
) : (
""
)}

View File

@ -15,7 +15,7 @@ import { createRoot } from "react-dom/client";
const setupAxios = () => {
//axios.defaults.baseURL = "http://localhost:5000";
axios.defaults.baseURL = "https://api.smellika.com";
axios.defaults.baseURL = "https://pulseayur-api.onrender.com";
axios.defaults.headers = {
"Cache-Control": "no-cache,no-store",

View File

@ -35,6 +35,7 @@ const Affiliates = () => {
console.log(message);
});
};
//Func to get all Affiliate data
const fetchAffiliateData = () => {
axios
@ -44,7 +45,7 @@ const Affiliates = () => {
},
})
.then((response) => {
// console.log(response.data.message);
console.log(response?.data);
setLoading(false);
setApiData(response.data.message);
})

View File

@ -157,7 +157,7 @@ export default function RegistrationEmail() {
onChange={(e) => setWelcomeMsg(e.target.value)}
/>
<h6 style={{ fontWeight: "bold", marginTop: "1rem" }}>
App Name : Smellika
App Name : Ayur Pulse
</h6>
<label htmlFor="title" className="form-label">

View File

@ -140,9 +140,9 @@ const Login = () => {
<CCard className="p-4">
<CCardBody>
<CForm>
<h1>Smellika</h1>
<h1>Ayur Pulse</h1>
<p className="text-medium-emphasis">
Sign In to Your Smellika Admin Dashboard Account.
Sign In to Your Ayur Pulse Admin Dashboard Account.
</p>
<CInputGroup className="mb-3">
<CInputGroupText>