From 5c3fc7df397bde05b33ff68612ce6ee977cc2737 Mon Sep 17 00:00:00 2001 From: Abi Raja Date: Wed, 29 Nov 2023 16:43:36 -0500 Subject: [PATCH] add email support when access code is set --- frontend/src/App.tsx | 2 +- frontend/src/components/PicoBadge.tsx | 30 ++++++++++++++++++++------- 2 files changed, 23 insertions(+), 9 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index d01f123..bde3cae 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -172,7 +172,7 @@ function App() { return (
- {IS_RUNNING_ON_CLOUD && } + {IS_RUNNING_ON_CLOUD && } {IS_RUNNING_ON_CLOUD && ( - -
+
- an open source project by Pico -
-
+ > + an open source project by Pico +
+ + )} + {settings.accessCode && ( + +
+ email support +
+
+ )} ); }