Merge pull request #935 from SkynetLabs/hide-registration-cta-when-authenticated

hide registration cta when authenticated
This commit is contained in:
Ivaylo Novakov 2021-07-02 12:11:07 +02:00 committed by GitHub
commit 94b492639e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>