mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 08:13:56 +10:00
chore: minor lint fixes (#934)
This commit is contained in:
@ -147,7 +147,12 @@ export default async function OpenPage() {
|
|||||||
<p className="text-muted-foreground mt-4 max-w-[60ch] text-center text-lg leading-normal">
|
<p className="text-muted-foreground mt-4 max-w-[60ch] text-center text-lg leading-normal">
|
||||||
All our metrics, finances, and learnings are public. We believe in transparency and want
|
All our metrics, finances, and learnings are public. We believe in transparency and want
|
||||||
to share our journey with you. You can read more about why here:{' '}
|
to share our journey with you. You can read more about why here:{' '}
|
||||||
<a className="font-bold" href="https://documenso.com/blog/pre-seed" target="_blank">
|
<a
|
||||||
|
className="font-bold"
|
||||||
|
href="https://documenso.com/blog/pre-seed"
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
|
>
|
||||||
Announcing Open Metrics
|
Announcing Open Metrics
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@ -55,7 +55,7 @@ export default function PricingPage() {
|
|||||||
|
|
||||||
<div className="mt-4 flex justify-center">
|
<div className="mt-4 flex justify-center">
|
||||||
<Button variant="outline" size="lg" className="rounded-full hover:cursor-pointer" asChild>
|
<Button variant="outline" size="lg" className="rounded-full hover:cursor-pointer" asChild>
|
||||||
<Link href="https://github.com/documenso/documenso" target="_blank">
|
<Link href="https://github.com/documenso/documenso" target="_blank" rel="noreferrer">
|
||||||
Get Started
|
Get Started
|
||||||
</Link>
|
</Link>
|
||||||
</Button>
|
</Button>
|
||||||
@ -168,6 +168,7 @@ export default function PricingPage() {
|
|||||||
<Link
|
<Link
|
||||||
className="text-documenso-700 font-bold"
|
className="text-documenso-700 font-bold"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
href="mailto:support@documenso.com"
|
href="mailto:support@documenso.com"
|
||||||
>
|
>
|
||||||
support@documenso.com
|
support@documenso.com
|
||||||
@ -177,6 +178,7 @@ export default function PricingPage() {
|
|||||||
className="text-documenso-700 font-bold"
|
className="text-documenso-700 font-bold"
|
||||||
href="https://documen.so/discord"
|
href="https://documen.so/discord"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
in our Discord-Support-Channel
|
in our Discord-Support-Channel
|
||||||
</a>{' '}
|
</a>{' '}
|
||||||
|
|||||||
@ -120,7 +120,7 @@ export const PricingTable = ({ className, ...props }: PricingTableProps) => {
|
|||||||
<div className="mt-8 flex w-full flex-col divide-y">
|
<div className="mt-8 flex w-full flex-col divide-y">
|
||||||
<p className="text-foreground py-4 font-medium">
|
<p className="text-foreground py-4 font-medium">
|
||||||
{' '}
|
{' '}
|
||||||
<a href="https://documenso.com/blog/early-adopters" target="_blank">
|
<a href="https://documenso.com/blog/early-adopters" target="_blank" rel="noreferrer">
|
||||||
The Early Adopter Deal:
|
The Early Adopter Deal:
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
@ -130,7 +130,11 @@ export const PricingTable = ({ className, ...props }: PricingTableProps) => {
|
|||||||
<p className="text-foreground py-4">
|
<p className="text-foreground py-4">
|
||||||
<strong>
|
<strong>
|
||||||
{' '}
|
{' '}
|
||||||
<a href="https://documenso.com/blog/early-adopters" target="_blank">
|
<a
|
||||||
|
href="https://documenso.com/blog/early-adopters"
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
|
>
|
||||||
Includes all upcoming features
|
Includes all upcoming features
|
||||||
</a>
|
</a>
|
||||||
</strong>
|
</strong>
|
||||||
|
|||||||
@ -108,7 +108,6 @@ export const ResendDocumentActionItem = ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
|
||||||
<Dialog open={isOpen} onOpenChange={setIsOpen}>
|
<Dialog open={isOpen} onOpenChange={setIsOpen}>
|
||||||
<DialogTrigger asChild>
|
<DialogTrigger asChild>
|
||||||
<DropdownMenuItem disabled={isDisabled} onSelect={(e) => e.preventDefault()}>
|
<DropdownMenuItem disabled={isDisabled} onSelect={(e) => e.preventDefault()}>
|
||||||
@ -190,6 +189,5 @@ export const ResendDocumentActionItem = ({
|
|||||||
</DialogFooter>
|
</DialogFooter>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
</>
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@ -43,7 +43,7 @@ export const setupTwoFactorAuthentication = async ({
|
|||||||
|
|
||||||
const secret = crypto.randomBytes(10);
|
const secret = crypto.randomBytes(10);
|
||||||
|
|
||||||
const backupCodes = new Array(10)
|
const backupCodes = Array.from({ length: 10 })
|
||||||
.fill(null)
|
.fill(null)
|
||||||
.map(() => crypto.randomBytes(5).toString('hex'))
|
.map(() => crypto.randomBytes(5).toString('hex'))
|
||||||
.map((code) => `${code.slice(0, 5)}-${code.slice(5)}`.toUpperCase());
|
.map((code) => `${code.slice(0, 5)}-${code.slice(5)}`.toUpperCase());
|
||||||
|
|||||||
Reference in New Issue
Block a user