Merge branch 'master' of https://git.shiblysolution.id/TPAY/dashboard
This commit is contained in:
@ -10,7 +10,7 @@ interface CardDataProduct {
|
|||||||
icon: string;
|
icon: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const Card = ({ title, total, growth, surplus,icon }: CardDataProduct) => {
|
const Card = ({ title, total, growth, surplus, icon }: CardDataProduct) => {
|
||||||
const { isRTL } = useLanguage();
|
const { isRTL } = useLanguage();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@ -21,12 +21,12 @@ const Card = ({ title, total, growth, surplus,icon }: CardDataProduct) => {
|
|||||||
<span className="text-sm font-normal text-gray-600 mb-5">{title}</span>
|
<span className="text-sm font-normal text-gray-600 mb-5">{title}</span>
|
||||||
<span className="text-3xl font-semibold text-gray-900 mb-0">{total}</span>
|
<span className="text-3xl font-semibold text-gray-900 mb-0">{total}</span>
|
||||||
<span
|
<span
|
||||||
className={`text-sm font-semibold mt-2 flex items-center gap-1 ${
|
className={`text-sm font-semibold mt-2 flex items-center gap-1 ${growth === 0 ? 'text-primary' : surplus ? 'text-green-500' : 'text-red-500'
|
||||||
surplus ? 'text-green-500' : 'text-red-500'
|
}`}
|
||||||
}`}
|
|
||||||
>
|
>
|
||||||
{surplus ? '▲' : '▼'} {growth} % From Last Week
|
{growth === 0 ? '−' : surplus ? '▲' : '▼'} {growth} % From Last Week
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -11,7 +11,7 @@ const FeedbackMemberMaster = () => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Helmet>
|
<Helmet>
|
||||||
<title>TPAY | Manage Provider</title>
|
<title>TPAY | Manage Feedback Member</title>
|
||||||
</Helmet>
|
</Helmet>
|
||||||
<ManageFeedbackMemberProvider>
|
<ManageFeedbackMemberProvider>
|
||||||
<Container>
|
<Container>
|
||||||
|
|||||||
@ -51,7 +51,7 @@ const ScreenshotGrid = ({ title, images }: { title: string; images: string[] })
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="space-y-2">
|
<div className="space-y-2 ">
|
||||||
<h3 className="text-sm font-semibold text-gray-600">{title}</h3>
|
<h3 className="text-sm font-semibold text-gray-600">{title}</h3>
|
||||||
{images && images.length > 0 ? (
|
{images && images.length > 0 ? (
|
||||||
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4">
|
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4">
|
||||||
|
|||||||
Reference in New Issue
Block a user