2025-07-29 17:41:13 -04:00
|
|
|
"use client";
|
|
|
|
|
|
|
|
|
|
import React, { useState } from 'react';
|
|
|
|
|
import classnames from 'classnames';
|
|
|
|
|
import DashboardPieChart from '@/components/DashboardPieChart';
|
|
|
|
|
|
|
|
|
|
import { Schibsted_Grotesk } from 'next/font/google'
|
|
|
|
|
const font = Schibsted_Grotesk({ subsets: ['latin'] })
|
|
|
|
|
|
|
|
|
|
interface DeductableProgressWidgetProps {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const DeductableProgressWidget = () => {
|
|
|
|
|
|
|
|
|
|
return (
|
2025-07-30 16:31:41 -04:00
|
|
|
<div className="2xl:min-w-[32vw] xl:min-w-[30vw] min-w-[50vw] flex flex-col justify-center items-center text-xl border border-6 border-bluetang rounded-4xl z-1">
|
2025-07-29 17:41:13 -04:00
|
|
|
<div className="flex justify-between items-end px-4">
|
|
|
|
|
<p className={classnames("pb-18 text-[#32CD32] font-semibold", font.className)}>Paid</p>
|
|
|
|
|
<div className="flex flex-col items-center">
|
|
|
|
|
<DashboardPieChart paid={1007.23} remaining={492.77} />
|
|
|
|
|
<p className="text-2xl">Deductable Progress</p>
|
|
|
|
|
</div>
|
|
|
|
|
<p className={classnames("pb-18 font-semibold", font.className)}>Remaining</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default DeductableProgressWidget;
|