hide registration cta when authenticated

This commit is contained in:
Karol Wypchlo 2021-07-01 20:25:22 +02:00
parent bdf96cc9c7
commit 1a42283252
1 changed files with 16 additions and 12 deletions

View File

@ -293,11 +293,14 @@ const Uploader = () => {
<UploadElement key={index} {...file} />
))}
{!authenticated && (
<div className="z-0 relative flex flex-col items-center space-y-1 pt-8">
<Info />
{/* mobile - 2 lines */}
<p className="text-sm font-light text-palette-600 desktop:hidden">Your files are available for 90 days</p>
<p className="text-sm font-light text-palette-600 desktop:hidden">
Your files are available for 90 days
</p>
<p className="text-sm font-light text-palette-600 desktop:hidden">
<RegistrationLink /> to keep them forever
</p>
@ -307,6 +310,7 @@ const Uploader = () => {
Your files are available for 90 days, <RegistrationLink /> to keep them forever
</p>
</div>
)}
</div>
)}
</div>