From 8deea21a83378edbfac7323e03aab629c47e6a83 Mon Sep 17 00:00:00 2001 From: Tuan Dang Date: Mon, 29 Jul 2024 15:05:38 -0700 Subject: [PATCH] Bring back logo, promo text in secret sharing --- .../ShareSecretPublicPage.tsx | 61 +++++++++++++++++-- .../components/ShareSecretForm.tsx | 7 +-- .../ViewSecretPublicPage.tsx | 55 ++++++++++++++++- .../components/SecretContainer.tsx | 11 ++-- .../components/SecretErrorContainer.tsx | 2 +- 5 files changed, 117 insertions(+), 19 deletions(-) diff --git a/frontend/src/views/ShareSecretPublicPage/ShareSecretPublicPage.tsx b/frontend/src/views/ShareSecretPublicPage/ShareSecretPublicPage.tsx index e21946336..e45bc4e2a 100644 --- a/frontend/src/views/ShareSecretPublicPage/ShareSecretPublicPage.tsx +++ b/frontend/src/views/ShareSecretPublicPage/ShareSecretPublicPage.tsx @@ -1,13 +1,29 @@ +import Image from "next/image"; +import Link from "next/link"; +import { faArrowRight } from "@fortawesome/free-solid-svg-icons"; +import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; + import { ShareSecretForm } from "./components"; export const ShareSecretPublicPage = () => { return ( -
+
-
+
-

- Share a Secret +
+ + Infisical logo + +
+

+ Share a secret

Powered by{" "} @@ -24,7 +40,44 @@ export const ShareSecretPublicPage = () => {

+
+
+
+
+
+

+ Open source{" "} + + secret management + {" "} + for developers +

+
+

+ + Infisical + {" "} + is the all-in-one secret management platform to securely manage secrets, configs, + and certificates across your team and infrastructure. +

+
+ +
+

Try Infisical

+ +
+ +
+
+
+
+

Made with ❤️ by{" "} diff --git a/frontend/src/views/ShareSecretPublicPage/components/ShareSecretForm.tsx b/frontend/src/views/ShareSecretPublicPage/components/ShareSecretForm.tsx index 918ae5cb9..c5848a239 100644 --- a/frontend/src/views/ShareSecretPublicPage/components/ShareSecretForm.tsx +++ b/frontend/src/views/ShareSecretPublicPage/components/ShareSecretForm.tsx @@ -220,8 +220,8 @@ export const ShareSecretForm = ({ isPublic, value }: Props) => { ) : ( <> -

-

Secret Link

+
+

{secretLink}

{
-
-

{secretLink}

-