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