This commit is contained in:
Raja Oktafrianto
2025-05-02 14:02:20 +07:00
3 changed files with 7 additions and 7 deletions

View File

@ -10,7 +10,7 @@ interface CardDataProduct {
icon: string;
}
const Card = ({ title, total, growth, surplus,icon }: CardDataProduct) => {
const Card = ({ title, total, growth, surplus, icon }: CardDataProduct) => {
const { isRTL } = useLanguage();
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-3xl font-semibold text-gray-900 mb-0">{total}</span>
<span
className={`text-sm font-semibold mt-2 flex items-center gap-1 ${
surplus ? 'text-green-500' : 'text-red-500'
}`}
className={`text-sm font-semibold mt-2 flex items-center gap-1 ${growth === 0 ? 'text-primary' : surplus ? 'text-green-500' : 'text-red-500'
}`}
>
{surplus ? '▲' : '▼'} {growth} % From Last Week
{growth === 0 ? '' : surplus ? '▲' : '▼'} {growth} % From Last Week
</span>
</div>
</div>
</div>

View File

@ -11,7 +11,7 @@ const FeedbackMemberMaster = () => {
return (
<>
<Helmet>
<title>TPAY | Manage Provider</title>
<title>TPAY | Manage Feedback Member</title>
</Helmet>
<ManageFeedbackMemberProvider>
<Container>

View File

@ -51,7 +51,7 @@ const ScreenshotGrid = ({ title, images }: { title: string; images: string[] })
};
return (
<div className="space-y-2">
<div className="space-y-2 ">
<h3 className="text-sm font-semibold text-gray-600">{title}</h3>
{images && images.length > 0 ? (
<div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4">