diff --git a/frontend/src/components/notifications/Notifications.tsx b/frontend/src/components/notifications/Notifications.tsx index 0d6b0d0615..befe79e4f3 100644 --- a/frontend/src/components/notifications/Notifications.tsx +++ b/frontend/src/components/notifications/Notifications.tsx @@ -26,4 +26,4 @@ export const createNotification = ( type: myProps?.type || "info", }); -export const NotificationContainer = () => ; +export const NotificationContainer = () => ; diff --git a/frontend/src/views/ShareSecretPage/components/AddShareSecretForm.tsx b/frontend/src/views/ShareSecretPage/components/AddShareSecretForm.tsx index f8201fb9e1..07a5d2f058 100644 --- a/frontend/src/views/ShareSecretPage/components/AddShareSecretForm.tsx +++ b/frontend/src/views/ShareSecretPage/components/AddShareSecretForm.tsx @@ -11,7 +11,6 @@ import { FormControl, Input, ModalClose, - SecretInput, Select, SelectItem } from "@app/components/v2"; @@ -125,7 +124,7 @@ export const AddShareSecretForm = ({ }; return (
-
+
- )} />
-
+
( @@ -164,16 +163,16 @@ export const AddShareSecretForm = ({ )} />
-
+

OR

-
-
-
+
+
+
(
-
+
onChange(e)} - className="w-full" + className="w-full border border-mineshaft-600" > {expirationUnitsAndActions.map(({ unit }) => ( @@ -211,7 +210,7 @@ export const AddShareSecretForm = ({
-
+
diff --git a/frontend/src/views/ShareSecretPage/components/ViewAndCopySharedSecret.tsx b/frontend/src/views/ShareSecretPage/components/ViewAndCopySharedSecret.tsx index 1efec0c363..2a51629223 100644 --- a/frontend/src/views/ShareSecretPage/components/ViewAndCopySharedSecret.tsx +++ b/frontend/src/views/ShareSecretPage/components/ViewAndCopySharedSecret.tsx @@ -15,9 +15,9 @@ export const ViewAndCopySharedSecret = ({ copyUrlToClipboard: () => void; }) => { return ( -
-
-
+
+
+

{newSharedSecret}

+
Secret Shared | Infisical -
-
- - Infisical logo - -
-

- {id ? "Someone shared a secret on Infisical with you." : "Share Secrets with Infisical"} -

-
- {id && ( - - )} -
- - {isNewSession && ( - - )} - -
-
-
- -
- {!isNewSession && ( -
- -
- )} -
-

- Safe, Secure, & Open Source -

-

- Infisical is the #1 {" "} - - open source - {" "} - secrets management platform for developers.
-

- Infisical Secret Sharing uses end-to-end encrypted architecture to ensure that your secrets are truly private, even from our servers. -

+
+
+
- - Learn More - + Infisical logo
+
+

+ {id ? "Someone shared a secret on Infisical with you" : "Share a secret with Infisical"} +

+
+
+ {id && ( + + )} +
+ + {isNewSession && ( +
+ +
+ )} + {!isNewSession && ( + + )} +
+
+
+
+
+

+ 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 + + +
+
+
+
-
-

- © 2024{" "} - - Infisical - - . All rights reserved. -
- 156 2nd st, 3rd Floor, San Francisco, California, 94105, United States. 🇺🇸 -

-
- +
+
+

+ © 2024{" "} + + Infisical + + . All rights reserved. +
+ 156 2nd st, 3rd Floor, San Francisco, California, 94105, United States. 🇺🇸 +

); diff --git a/frontend/src/views/ShareSecretPublicPage/components/SecretTable.tsx b/frontend/src/views/ShareSecretPublicPage/components/SecretTable.tsx index d2a17e5668..399bdc40d8 100644 --- a/frontend/src/views/ShareSecretPublicPage/components/SecretTable.tsx +++ b/frontend/src/views/ShareSecretPublicPage/components/SecretTable.tsx @@ -16,7 +16,7 @@ export const SecretTable = ({ isUrlCopied, copyUrlToClipboard }: Props) => ( -
+
{isLoading &&
Loading...
} {!isLoading && !decryptedSecret && ( @@ -37,7 +37,7 @@ export const SecretTable = ({ colorSchema="primary" ariaLabel="copy to clipboard" onClick={copyUrlToClipboard} - className="mx-1 flex max-h-8 items-center rounded" + className="mx-1 flex max-h-8 items-center rounded absolute top-1 sm:top-2 right-0 sm:right-5" size="xs" > Copy