fix: completed signing page layout (#1349)

This commit is contained in:
Ephraim Duncan
2024-09-18 00:54:00 +00:00
committed by GitHub
parent b7c3deb6cd
commit e76f732990
3 changed files with 26 additions and 22 deletions

View File

@@ -204,25 +204,29 @@ export default async function CompletedSigningPage({
</div> </div>
</div> </div>
{canSignUp && ( <div className="flex flex-col items-center">
<div className={`flex max-w-xl flex-col items-center justify-center p-4 md:p-12`}> {canSignUp && (
<h2 className="mt-8 text-center text-xl font-semibold md:mt-0"> <div className="flex max-w-xl flex-col items-center justify-center p-4 md:p-12">
<Trans>Need to sign documents?</Trans> <h2 className="mt-8 text-center text-xl font-semibold md:mt-0">
</h2> <Trans>Need to sign documents?</Trans>
</h2>
<p className="text-muted-foreground/60 mt-4 max-w-[55ch] text-center leading-normal"> <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> <Trans>
</p> Create your account and start using state-of-the-art document signing.
</Trans>
</p>
<ClaimAccount defaultName={recipientName} defaultEmail={recipient.email} /> <ClaimAccount defaultName={recipientName} defaultEmail={recipient.email} />
</div> </div>
)} )}
{isLoggedIn && ( {isLoggedIn && (
<Link href="/documents" className="text-documenso-700 hover:text-documenso-600 mt-36"> <Link href="/documents" className="text-documenso-700 hover:text-documenso-600">
<Trans>Go Back Home</Trans> <Trans>Go Back Home</Trans>
</Link> </Link>
)} )}
</div>
</div> </div>
<PollUntilDocumentCompleted document={document} /> <PollUntilDocumentCompleted document={document} />

View File

@@ -952,7 +952,7 @@ msgstr "Webhook erstellen"
msgid "Create Webhook" msgid "Create Webhook"
msgstr "Webhook erstellen" 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." 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." msgstr "Erstellen Sie Ihr Konto und beginnen Sie mit dem modernen Dokumentensignieren."
@@ -1620,7 +1620,7 @@ msgstr "Zurück"
msgid "Go back home" msgid "Go back home"
msgstr "Zurück nach Hause" 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 #: apps/web/src/app/(signing)/sign/[token]/no-longer-available.tsx:57
msgid "Go Back Home" msgid "Go Back Home"
msgstr "Zurück nach Hause" msgstr "Zurück nach Hause"
@@ -2016,7 +2016,7 @@ msgstr "Meine Vorlagen"
msgid "Name" msgid "Name"
msgstr "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?" msgid "Need to sign documents?"
msgstr "Müssen Dokumente signieren?" msgstr "Müssen Dokumente signieren?"

View File

@@ -947,7 +947,7 @@ msgstr "Create webhook"
msgid "Create Webhook" msgid "Create Webhook"
msgstr "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." 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." msgstr "Create your account and start using state-of-the-art document signing."
@@ -1615,7 +1615,7 @@ msgstr "Go Back"
msgid "Go back home" msgid "Go back home"
msgstr "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 #: apps/web/src/app/(signing)/sign/[token]/no-longer-available.tsx:57
msgid "Go Back Home" msgid "Go Back Home"
msgstr "Go Back Home" msgstr "Go Back Home"
@@ -2011,7 +2011,7 @@ msgstr "My templates"
msgid "Name" msgid "Name"
msgstr "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?" msgid "Need to sign documents?"
msgstr "Need to sign documents?" msgstr "Need to sign documents?"