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,
|
File,
|
||||||
FileX2,
|
FileX2,
|
||||||
LucideIcon,
|
LucideIcon,
|
||||||
User as LucideUser,
|
|
||||||
Mail,
|
Mail,
|
||||||
MailOpen,
|
MailOpen,
|
||||||
PenTool,
|
PenTool,
|
||||||
Send,
|
Send,
|
||||||
|
User as UserIcon,
|
||||||
UserPlus2,
|
UserPlus2,
|
||||||
UserSquare2,
|
UserSquare2,
|
||||||
} from 'lucide-react';
|
} from 'lucide-react';
|
||||||
@ -26,7 +26,7 @@ import {
|
|||||||
|
|
||||||
import { CardMetric } from '~/components/(dashboard)/metric-card/metric-card';
|
import { CardMetric } from '~/components/(dashboard)/metric-card/metric-card';
|
||||||
|
|
||||||
type TCardData = {
|
type CardData = {
|
||||||
icon: LucideIcon;
|
icon: LucideIcon;
|
||||||
title: string;
|
title: string;
|
||||||
status:
|
status:
|
||||||
@ -39,7 +39,7 @@ type TCardData = {
|
|||||||
| 'NOT_SENT';
|
| 'NOT_SENT';
|
||||||
};
|
};
|
||||||
|
|
||||||
const CARD_DATA: TCardData[] = [
|
const CARD_DATA: CardData[] = [
|
||||||
{
|
{
|
||||||
icon: UserSquare2,
|
icon: UserSquare2,
|
||||||
title: 'Recipients in the database',
|
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">
|
<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>
|
<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">
|
<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
|
<CardMetric
|
||||||
icon={UserPlus2}
|
icon={UserPlus2}
|
||||||
title={'Users with an active subscription'}
|
title={'Users with an active subscription'}
|
||||||
|
|||||||
@ -13,6 +13,7 @@
|
|||||||
},
|
},
|
||||||
"globalDependencies": ["**/.env.*local"],
|
"globalDependencies": ["**/.env.*local"],
|
||||||
"globalEnv": [
|
"globalEnv": [
|
||||||
|
"APP_VERSION",
|
||||||
"NEXTAUTH_URL",
|
"NEXTAUTH_URL",
|
||||||
"NEXTAUTH_SECRET",
|
"NEXTAUTH_SECRET",
|
||||||
"NEXT_PUBLIC_APP_URL",
|
"NEXT_PUBLIC_APP_URL",
|
||||||
@ -41,7 +42,6 @@
|
|||||||
"NEXT_PRIVATE_SMTP_SECURE",
|
"NEXT_PRIVATE_SMTP_SECURE",
|
||||||
"NEXT_PRIVATE_SMTP_FROM_NAME",
|
"NEXT_PRIVATE_SMTP_FROM_NAME",
|
||||||
"NEXT_PRIVATE_SMTP_FROM_ADDRESS",
|
"NEXT_PRIVATE_SMTP_FROM_ADDRESS",
|
||||||
"NEXT_PRIVATE_STRIPE_API_KEY",
|
"NEXT_PRIVATE_STRIPE_API_KEY"
|
||||||
"APP_VERSION"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user