Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0a1c4a7d2f | |||
| 65a531922f | |||
| 39dfa6b1dc | |||
| d52f7ced65 | |||
| 5624666213 |
@@ -2,7 +2,6 @@ import React, { useState } from "react";
|
|||||||
import { Link, useNavigate } from "react-router-dom";
|
import { Link, useNavigate } from "react-router-dom";
|
||||||
// import { toast } from "react-toastify";
|
// import { toast } from "react-toastify";
|
||||||
import localImgLoad from "../../lib/localImgLoad";
|
import localImgLoad from "../../lib/localImgLoad";
|
||||||
import CountDown from "../Helpers/CountDown";
|
|
||||||
import Icons from "../Helpers/Icons";
|
import Icons from "../Helpers/Icons";
|
||||||
|
|
||||||
export default function TrackItemCard({ datas, hidden = false }) {
|
export default function TrackItemCard({ datas, hidden = false }) {
|
||||||
@@ -18,7 +17,7 @@ export default function TrackItemCard({ datas, hidden = false }) {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
<div className="card-style-one flex flex-col justify-between w-full h-[200px] bg-white dark:bg-dark-white p-3 pb rounded-2xl cursor-pointer" onClick={()=>{navigate(`/track-action/${datas.widget}`, { replace: true })}}>
|
<div className="card-style-one flex flex-col justify-between w-full h-[220px] bg-white dark:bg-dark-white p-3 pb rounded-2xl cursor-pointer" onClick={()=>{navigate(`/track-action/${datas.widget}`, { replace: true })}}>
|
||||||
<div className="content">
|
<div className="content">
|
||||||
{/* thumbnail */}
|
{/* thumbnail */}
|
||||||
<div className="w-full h-40">
|
<div className="w-full h-40">
|
||||||
@@ -77,7 +76,7 @@ export default function TrackItemCard({ datas, hidden = false }) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/* user */}
|
{/* user */}
|
||||||
<div className="user w-ful -mt-6 mb-2">
|
<div className="user w-full text-center mt-3">
|
||||||
|
|
||||||
<p className="text-sm text-thin-light-gray dark:text-white">
|
<p className="text-sm text-thin-light-gray dark:text-white">
|
||||||
<Link
|
<Link
|
||||||
|
|||||||
@@ -36,10 +36,10 @@ export default function AddEditReminder({ className }) {
|
|||||||
'member_id': localStorage.getItem('member_id'),
|
'member_id': localStorage.getItem('member_id'),
|
||||||
description: location.state?.reminder.description || '',
|
description: location.state?.reminder.description || '',
|
||||||
notes: location.state?.reminder.notes || '',
|
notes: location.state?.reminder.notes || '',
|
||||||
category: location.state?.reminder.code || '',
|
category: location.state?.reminder.category || '',
|
||||||
mode: location.state?.reminder.code || ''
|
mode: location.state?.reminder.mode || ''
|
||||||
})
|
})
|
||||||
|
// console.log(reminder)
|
||||||
const onReminderInputChange = ({target:{name,value}}) => { //function to run when user changes any input on the add reminder page
|
const onReminderInputChange = ({target:{name,value}}) => { //function to run when user changes any input on the add reminder page
|
||||||
setReminder(prev=>(
|
setReminder(prev=>(
|
||||||
{...prev, [name]:value}
|
{...prev, [name]:value}
|
||||||
@@ -267,7 +267,7 @@ export default function AddEditReminder({ className }) {
|
|||||||
className="w-[152px] h-[46px] flex justify-center items-center btn-gradient text-base rounded-full text-white"
|
className="w-[152px] h-[46px] flex justify-center items-center btn-gradient text-base rounded-full text-white"
|
||||||
onClick={handleAddReminder}
|
onClick={handleAddReminder}
|
||||||
>
|
>
|
||||||
{location.state?.reminder ? 'Edit' : 'Add Reminder'}
|
{location.state?.reminder ? 'Update' : 'Add Reminder'}
|
||||||
</button>
|
</button>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -0,0 +1,36 @@
|
|||||||
|
import React from "react";
|
||||||
|
import { Link } from "react-router-dom";
|
||||||
|
|
||||||
|
export default function SubScriptionTop({ className }) {
|
||||||
|
return (
|
||||||
|
<div
|
||||||
|
className={`create-nft w-full lg:h-[140px] shadow lg:flex rounded-lg justify-between items-center md:p-9 p-4 bg-white dark:bg-dark-white border-b dark:border-[#5356fb29] -2 border-pink mb-10 ${
|
||||||
|
className || ""
|
||||||
|
}`}
|
||||||
|
>
|
||||||
|
<div className="lg:w-8/12 w-full mb-8 lg:mb-0">
|
||||||
|
<h1 className="text-2xl text-dark-gray dark:text-white font-bold mb-2">
|
||||||
|
Some how we will say the name of uout current Subscription
|
||||||
|
</h1>
|
||||||
|
<p className="text-base text-thin-light-gray tracking-wide">
|
||||||
|
Last paymant date + nect pay day
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div className="flex-1 flex lg:justify-end">
|
||||||
|
<div className="flex items-center space-x-5">
|
||||||
|
<Link
|
||||||
|
to="#"
|
||||||
|
className="w-40 h-11 flex justify-center items-center btn-gradient text-base rounded-full text-white"
|
||||||
|
>
|
||||||
|
Some actions
|
||||||
|
</Link>
|
||||||
|
<Link to="#" className="text-dark-gray dark:text-white text-base">
|
||||||
|
<span className=" border-b dark:border-[#5356fb29] border-dark-gray font-medium">
|
||||||
|
terms and conditions
|
||||||
|
</span>
|
||||||
|
</Link>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -8,13 +8,14 @@ import CurrentBalanceWidget from "../MyWallet/CurrentBalanceWidget";
|
|||||||
import Layout from "../Partials/Layout";
|
import Layout from "../Partials/Layout";
|
||||||
//import SellAnaliseStatics from "./SellAnaliseStatics";
|
//import SellAnaliseStatics from "./SellAnaliseStatics";
|
||||||
import SellProductHistoryTable from "./SellProductHistoryTable";
|
import SellProductHistoryTable from "./SellProductHistoryTable";
|
||||||
|
import SubScriptionTop from "./SubScriptionTop";
|
||||||
|
|
||||||
import PricingListTable from "./PricingListTable";
|
import PricingListTable from "./PricingListTable";
|
||||||
export default function Subscriptions() {
|
export default function Subscriptions() {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Layout>
|
<Layout>
|
||||||
|
<SubScriptionTop />
|
||||||
<div className="sell-page-wrapper w-full mb-10">
|
<div className="sell-page-wrapper w-full mb-10">
|
||||||
<div className="main-wrapper w-full">
|
<div className="main-wrapper w-full">
|
||||||
<div className="current_balance-bit-sell-widget w-full lg:h-[436px] mb-11">
|
<div className="current_balance-bit-sell-widget w-full lg:h-[436px] mb-11">
|
||||||
|
|||||||
Reference in New Issue
Block a user