import { Trans } from '@lingui/react/macro'; import { env } from '@documenso/lib/utils/env'; import { Button, Column, Img, Link, Section, Text } from '../components'; import { TemplateDocumentImage } from './template-document-image'; export interface TemplateDocumentSelfSignedProps { documentName: string; assetBaseUrl: string; } export const TemplateDocumentSelfSigned = ({ documentName, assetBaseUrl, }: TemplateDocumentSelfSignedProps) => { const NEXT_PUBLIC_WEBAPP_URL = env('NEXT_PUBLIC_WEBAPP_URL'); const signUpUrl = `${NEXT_PUBLIC_WEBAPP_URL ?? 'http://localhost:3000'}/signup`; const getAssetUrl = (path: string) => { return new URL(path, assetBaseUrl).toString(); }; return ( <>
Completed
You have signed “{documentName}” Create a{' '} free account {' '} to access your signed documents at any time.
); }; export default TemplateDocumentSelfSigned;