forked from git.gladyson/openmonetis
style(dashboard): adicionar ícone ao link "Ver mais" no widget Top Estabelecimentos
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
import { BoletosWidget } from "@/components/dashboard/boletos-widget";
|
import { BoletosWidget } from "@/components/dashboard/boletos-widget";
|
||||||
import { ExpensesByCategoryWidget } from "@/components/dashboard/expenses-by-category-widget";
|
|
||||||
import { ExpensesByCategoryWidgetWithChart } from "@/components/dashboard/expenses-by-category-widget-with-chart";
|
import { ExpensesByCategoryWidgetWithChart } from "@/components/dashboard/expenses-by-category-widget-with-chart";
|
||||||
import { IncomeByCategoryWidget } from "@/components/dashboard/income-by-category-widget";
|
|
||||||
import { IncomeByCategoryWidgetWithChart } from "@/components/dashboard/income-by-category-widget-with-chart";
|
import { IncomeByCategoryWidgetWithChart } from "@/components/dashboard/income-by-category-widget-with-chart";
|
||||||
import { IncomeExpenseBalanceWidget } from "@/components/dashboard/income-expense-balance-widget";
|
import { IncomeExpenseBalanceWidget } from "@/components/dashboard/income-expense-balance-widget";
|
||||||
import { InstallmentExpensesWidget } from "@/components/dashboard/installment-expenses-widget";
|
import { InstallmentExpensesWidget } from "@/components/dashboard/installment-expenses-widget";
|
||||||
@@ -16,6 +14,7 @@ import { RecurringExpensesWidget } from "@/components/dashboard/recurring-expens
|
|||||||
import { TopEstablishmentsWidget } from "@/components/dashboard/top-establishments-widget";
|
import { TopEstablishmentsWidget } from "@/components/dashboard/top-establishments-widget";
|
||||||
import { TopExpensesWidget } from "@/components/dashboard/top-expenses-widget";
|
import { TopExpensesWidget } from "@/components/dashboard/top-expenses-widget";
|
||||||
import {
|
import {
|
||||||
|
RiArrowRightLine,
|
||||||
RiArrowUpDoubleLine,
|
RiArrowUpDoubleLine,
|
||||||
RiBarChartBoxLine,
|
RiBarChartBoxLine,
|
||||||
RiBarcodeLine,
|
RiBarcodeLine,
|
||||||
@@ -26,7 +25,6 @@ import {
|
|||||||
RiNumbersLine,
|
RiNumbersLine,
|
||||||
RiPieChartLine,
|
RiPieChartLine,
|
||||||
RiRefreshLine,
|
RiRefreshLine,
|
||||||
RiSecurePaymentLine,
|
|
||||||
RiSlideshowLine,
|
RiSlideshowLine,
|
||||||
RiStore2Line,
|
RiStore2Line,
|
||||||
RiStore3Line,
|
RiStore3Line,
|
||||||
@@ -142,10 +140,10 @@ export const widgetsConfig: WidgetConfig[] = [
|
|||||||
action: (
|
action: (
|
||||||
<Link
|
<Link
|
||||||
href="/dashboard/analise-parcelas"
|
href="/dashboard/analise-parcelas"
|
||||||
className="text-sm font-medium text-muted-foreground hover:text-primary transition-colors"
|
className="text-sm font-medium text-muted-foreground hover:text-primary transition-colors inline-flex items-center gap-1"
|
||||||
>
|
>
|
||||||
<RiSecurePaymentLine className="inline mr-1 size-4" />
|
|
||||||
Análise
|
Análise
|
||||||
|
<RiArrowRightLine className="size-4" />
|
||||||
</Link>
|
</Link>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
@@ -169,6 +167,15 @@ export const widgetsConfig: WidgetConfig[] = [
|
|||||||
component: ({ data }) => (
|
component: ({ data }) => (
|
||||||
<TopEstablishmentsWidget data={data.topEstablishmentsData} />
|
<TopEstablishmentsWidget data={data.topEstablishmentsData} />
|
||||||
),
|
),
|
||||||
|
action: (
|
||||||
|
<Link
|
||||||
|
href="/top-estabelecimentos"
|
||||||
|
className="text-sm font-medium text-muted-foreground hover:text-primary transition-colors inline-flex items-center gap-1"
|
||||||
|
>
|
||||||
|
Ver mais
|
||||||
|
<RiArrowRightLine className="size-4" />
|
||||||
|
</Link>
|
||||||
|
),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "purchases-by-category",
|
id: "purchases-by-category",
|
||||||
|
|||||||
Reference in New Issue
Block a user