From 1a42283252ae118e4c00f0782d09ee95df74f14d Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Thu, 1 Jul 2021 20:25:22 +0200 Subject: [PATCH] hide registration cta when authenticated --- .../src/components/Uploader/Uploader.js | 28 +++++++++++-------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/packages/website/src/components/Uploader/Uploader.js b/packages/website/src/components/Uploader/Uploader.js index eb5edbe0..43e15b01 100644 --- a/packages/website/src/components/Uploader/Uploader.js +++ b/packages/website/src/components/Uploader/Uploader.js @@ -293,20 +293,24 @@ const Uploader = () => { ))} -
- + {!authenticated && ( +
+ - {/* mobile - 2 lines */} -

Your files are available for 90 days

-

- to keep them forever -

+ {/* mobile - 2 lines */} +

+ Your files are available for 90 days +

+

+ to keep them forever +

- {/* desktop - 1 line */} -

- Your files are available for 90 days, to keep them forever -

-
+ {/* desktop - 1 line */} +

+ Your files are available for 90 days, to keep them forever +

+
+ )} )}