Design: Icons geändert
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import type { HTMLAttributes } from 'react';
|
import type { HTMLAttributes } from 'react';
|
||||||
|
|
||||||
import { Trans } from '@lingui/react/macro';
|
import { Trans } from '@lingui/react/macro';
|
||||||
import { Braces, CreditCard, Globe2Icon, Lock, User, Users, Webhook } from 'lucide-react';
|
import { Braces, CreditCard, Globe2Icon, Lock, User, Users, Webhook, Bot } from 'lucide-react';
|
||||||
import { useLocation } from 'react-router';
|
import { useLocation } from 'react-router';
|
||||||
import { Link } from 'react-router';
|
import { Link } from 'react-router';
|
||||||
|
|
||||||
@@ -96,6 +96,13 @@ export const SettingsDesktopNav = ({ className, ...props }: SettingsDesktopNavPr
|
|||||||
</Button>
|
</Button>
|
||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
|
<Link to="https://bot.bls.media/medi">
|
||||||
|
<Button variant="ghost">
|
||||||
|
<Bot className="mr-2 h-5 w-5" />
|
||||||
|
Hilfe
|
||||||
|
</Button>
|
||||||
|
</Link>
|
||||||
|
|
||||||
{isBillingEnabled && (
|
{isBillingEnabled && (
|
||||||
<Link to="/settings/billing">
|
<Link to="/settings/billing">
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { msg } from '@lingui/core/macro';
|
import { msg } from '@lingui/core/macro';
|
||||||
import { useLingui } from '@lingui/react';
|
import { useLingui } from '@lingui/react';
|
||||||
import { Bird, CheckCircle2 } from 'lucide-react';
|
import { FileSearch2, FileCheck } from 'lucide-react';
|
||||||
import { match } from 'ts-pattern';
|
import { match } from 'ts-pattern';
|
||||||
|
|
||||||
import { ExtendedDocumentStatus } from '@documenso/prisma/types/extended-document-status';
|
import { ExtendedDocumentStatus } from '@documenso/prisma/types/extended-document-status';
|
||||||
@@ -18,22 +18,22 @@ export const DocumentsTableEmptyState = ({ status }: DocumentsTableEmptyStatePro
|
|||||||
.with(ExtendedDocumentStatus.COMPLETED, () => ({
|
.with(ExtendedDocumentStatus.COMPLETED, () => ({
|
||||||
title: msg`Nothing to do`,
|
title: msg`Nothing to do`,
|
||||||
message: msg`There are no completed documents yet. Documents that you have created or received will appear here once completed.`,
|
message: msg`There are no completed documents yet. Documents that you have created or received will appear here once completed.`,
|
||||||
icon: CheckCircle2,
|
icon: FileCheck,
|
||||||
}))
|
}))
|
||||||
.with(ExtendedDocumentStatus.DRAFT, () => ({
|
.with(ExtendedDocumentStatus.DRAFT, () => ({
|
||||||
title: msg`No active drafts`,
|
title: msg`No active drafts`,
|
||||||
message: msg`There are no active drafts at the current moment. You can upload a document to start drafting.`,
|
message: msg`There are no active drafts at the current moment. You can upload a document to start drafting.`,
|
||||||
icon: CheckCircle2,
|
icon: FileCheck,
|
||||||
}))
|
}))
|
||||||
.with(ExtendedDocumentStatus.ALL, () => ({
|
.with(ExtendedDocumentStatus.ALL, () => ({
|
||||||
title: msg`We're all empty`,
|
title: msg`We're all empty`,
|
||||||
message: msg`You have not yet created or received any documents. To create a document please upload one.`,
|
message: msg`You have not yet created or received any documents. To create a document please upload one.`,
|
||||||
icon: Bird,
|
icon: FileSearch2,
|
||||||
}))
|
}))
|
||||||
.otherwise(() => ({
|
.otherwise(() => ({
|
||||||
title: msg`Nothing to do`,
|
title: msg`Nothing to do`,
|
||||||
message: msg`All documents have been processed. Any new documents that are sent or received will show here.`,
|
message: msg`All documents have been processed. Any new documents that are sent or received will show here.`,
|
||||||
icon: CheckCircle2,
|
icon: FileCheck,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { useEffect } from 'react';
|
import { useEffect } from 'react';
|
||||||
|
|
||||||
import { Trans } from '@lingui/react/macro';
|
import { Trans } from '@lingui/react/macro';
|
||||||
import { Bird } from 'lucide-react';
|
import { FileSearch2 } from 'lucide-react';
|
||||||
import { useSearchParams } from 'react-router';
|
import { useSearchParams } from 'react-router';
|
||||||
|
|
||||||
import { formatAvatarUrl } from '@documenso/lib/utils/avatars';
|
import { formatAvatarUrl } from '@documenso/lib/utils/avatars';
|
||||||
@@ -65,7 +65,7 @@ export default function TemplatesPage() {
|
|||||||
<div className="relative mt-5">
|
<div className="relative mt-5">
|
||||||
{data && data.count === 0 ? (
|
{data && data.count === 0 ? (
|
||||||
<div className="text-muted-foreground/60 flex h-96 flex-col items-center justify-center gap-y-4">
|
<div className="text-muted-foreground/60 flex h-96 flex-col items-center justify-center gap-y-4">
|
||||||
<Bird className="h-12 w-12" strokeWidth={1.5} />
|
<FileSearch2 className="h-12 w-12" strokeWidth={1.5} />
|
||||||
|
|
||||||
<div className="text-center">
|
<div className="text-center">
|
||||||
<h3 className="text-lg font-semibold">
|
<h3 className="text-lg font-semibold">
|
||||||
|
|||||||
Reference in New Issue
Block a user