Skip to content

The Open Source DocuSign Alternative.

fix: completed signing page layout (#1349)

Ephraim Duncane76f732990a7
diff --git a/apps/web/src/app/(signing)/sign/[token]/complete/page.tsx b/apps/web/src/app/(signing)/sign/[token]/complete/page.tsx
index 1c50e9ac1..01fa9dc9e 100644
--- a/apps/web/src/app/(signing)/sign/[token]/complete/page.tsx
+++ b/apps/web/src/app/(signing)/sign/[token]/complete/page.tsx
@@ -204,25 +204,29 @@ export default async function CompletedSigningPage({
</div>
</div>
- {canSignUp && (
- <div className={`flex max-w-xl flex-col items-center justify-center p-4 md:p-12`}>
- <h2 className="mt-8 text-center text-xl font-semibold md:mt-0">
- <Trans>Need to sign documents?</Trans>
- </h2>
-
- <p className="text-muted-foreground/60 mt-4 max-w-[55ch] text-center leading-normal">
- <Trans>Create your account and start using state-of-the-art document signing.</Trans>
- </p>
+ <div className="flex flex-col items-center">
+ {canSignUp && (
+ <div className="flex max-w-xl flex-col items-center justify-center p-4 md:p-12">
+ <h2 className="mt-8 text-center text-xl font-semibold md:mt-0">
+ <Trans>Need to sign documents?</Trans>
+ </h2>
+
+ <p className="text-muted-foreground/60 mt-4 max-w-[55ch] text-center leading-normal">
+ <Trans>
+ Create your account and start using state-of-the-art document signing.
+ </Trans>
+ </p>
- <ClaimAccount defaultName={recipientName} defaultEmail={recipient.email} />
- </div>
- )}
+ <ClaimAccount defaultName={recipientName} defaultEmail={recipient.email} />
+ </div>
+ )}
- {isLoggedIn && (
- <Link href="/documents" className="text-documenso-700 hover:text-documenso-600 mt-36">
- <Trans>Go Back Home</Trans>
- </Link>
- )}
+ {isLoggedIn && (
+ <Link href="/documents" className="text-documenso-700 hover:text-documenso-600">
+ <Trans>Go Back Home</Trans>
+ </Link>
+ )}
+ </div>
</div>
<PollUntilDocumentCompleted document={document} />
diff --git a/packages/lib/translations/de/web.po b/packages/lib/translations/de/web.po
index 90f86229a..5eb8bcc79 100644
--- a/packages/lib/translations/de/web.po
+++ b/packages/lib/translations/de/web.po
@@ -952,7 +952,7 @@ msgstr "Webhook erstellen"
msgid "Create Webhook"
msgstr "Webhook erstellen"
-#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:214
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:215
msgid "Create your account and start using state-of-the-art document signing."
msgstr "Erstellen Sie Ihr Konto und beginnen Sie mit dem modernen Dokumentensignieren."
@@ -1620,7 +1620,7 @@ msgstr "Zurück"
msgid "Go back home"
msgstr "Zurück nach Hause"
-#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:223
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:226
#: apps/web/src/app/(signing)/sign/[token]/no-longer-available.tsx:57
msgid "Go Back Home"
msgstr "Zurück nach Hause"
@@ -2016,7 +2016,7 @@ msgstr "Meine Vorlagen"
msgid "Name"
msgstr "Name"
-#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:210
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:211
msgid "Need to sign documents?"
msgstr "Müssen Dokumente signieren?"
diff --git a/packages/lib/translations/en/web.po b/packages/lib/translations/en/web.po
index 29b97142e..212b671ca 100644
--- a/packages/lib/translations/en/web.po
+++ b/packages/lib/translations/en/web.po
@@ -947,7 +947,7 @@ msgstr "Create webhook"
msgid "Create Webhook"
msgstr "Create Webhook"
-#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:214
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:215
msgid "Create your account and start using state-of-the-art document signing."
msgstr "Create your account and start using state-of-the-art document signing."
@@ -1615,7 +1615,7 @@ msgstr "Go Back"
msgid "Go back home"
msgstr "Go back home"
-#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:223
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:226
#: apps/web/src/app/(signing)/sign/[token]/no-longer-available.tsx:57
msgid "Go Back Home"
msgstr "Go Back Home"
@@ -2011,7 +2011,7 @@ msgstr "My templates"
msgid "Name"
msgstr "Name"
-#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:210
+#: apps/web/src/app/(signing)/sign/[token]/complete/page.tsx:211
msgid "Need to sign documents?"
msgstr "Need to sign documents?"