mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 08:13:56 +10:00
chore: implemented feedback
This commit is contained in:
@ -3,11 +3,11 @@ import {
|
||||
File,
|
||||
FileX2,
|
||||
LucideIcon,
|
||||
User as LucideUser,
|
||||
Mail,
|
||||
MailOpen,
|
||||
PenTool,
|
||||
Send,
|
||||
User as UserIcon,
|
||||
UserPlus2,
|
||||
UserSquare2,
|
||||
} from 'lucide-react';
|
||||
@ -26,7 +26,7 @@ import {
|
||||
|
||||
import { CardMetric } from '~/components/(dashboard)/metric-card/metric-card';
|
||||
|
||||
type TCardData = {
|
||||
type CardData = {
|
||||
icon: LucideIcon;
|
||||
title: string;
|
||||
status:
|
||||
@ -39,7 +39,7 @@ type TCardData = {
|
||||
| 'NOT_SENT';
|
||||
};
|
||||
|
||||
const CARD_DATA: TCardData[] = [
|
||||
const CARD_DATA: CardData[] = [
|
||||
{
|
||||
icon: UserSquare2,
|
||||
title: 'Recipients in the database',
|
||||
@ -89,7 +89,7 @@ export default async function Admin() {
|
||||
<div className="mx-auto w-full max-w-screen-xl px-4 md:px-8">
|
||||
<h2 className="text-4xl font-semibold">Instance version: {process.env.APP_VERSION}</h2>
|
||||
<div className="mt-8 grid flex-1 grid-cols-1 gap-4 md:grid-cols-2">
|
||||
<CardMetric icon={LucideUser} title={'Total users in the database'} value={usersCount} />
|
||||
<CardMetric icon={UserIcon} title={'Total users in the database'} value={usersCount} />
|
||||
<CardMetric
|
||||
icon={UserPlus2}
|
||||
title={'Users with an active subscription'}
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
},
|
||||
"globalDependencies": ["**/.env.*local"],
|
||||
"globalEnv": [
|
||||
"APP_VERSION",
|
||||
"NEXTAUTH_URL",
|
||||
"NEXTAUTH_SECRET",
|
||||
"NEXT_PUBLIC_APP_URL",
|
||||
@ -41,7 +42,6 @@
|
||||
"NEXT_PRIVATE_SMTP_SECURE",
|
||||
"NEXT_PRIVATE_SMTP_FROM_NAME",
|
||||
"NEXT_PRIVATE_SMTP_FROM_ADDRESS",
|
||||
"NEXT_PRIVATE_STRIPE_API_KEY",
|
||||
"APP_VERSION"
|
||||
"NEXT_PRIVATE_STRIPE_API_KEY"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user