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>
{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>
<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>
<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} />

View File

@ -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?"

View File

@ -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?"