mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 12:04:03 +00:00
feat: change ui for new secret and add button for existing shared secret
This commit is contained in:
@@ -2,7 +2,7 @@ import Head from "next/head";
|
||||
|
||||
import { ShareSecretPublicPage } from "@app/views/ShareSecretPublicPage";
|
||||
|
||||
const SecretApproval = () => {
|
||||
const ShareNewPublicSecretPage = () => {
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
@@ -12,13 +12,13 @@ const SecretApproval = () => {
|
||||
<meta property="og:title" content="" />
|
||||
<meta name="og:description" content="" />
|
||||
</Head>
|
||||
<div className="h-full dark">
|
||||
<ShareSecretPublicPage />
|
||||
<div className="dark h-full">
|
||||
<ShareSecretPublicPage isNewSession />
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default SecretApproval;
|
||||
export default ShareNewPublicSecretPage;
|
||||
|
||||
SecretApproval.requireAuth = false;
|
||||
ShareNewPublicSecretPage.requireAuth = false;
|
||||
|
||||
@@ -2,7 +2,7 @@ import Head from "next/head";
|
||||
|
||||
import { ShareSecretPublicPage } from "@app/views/ShareSecretPublicPage";
|
||||
|
||||
const SecretApproval = () => {
|
||||
const SecretSharedPublicPage = () => {
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
@@ -12,13 +12,13 @@ const SecretApproval = () => {
|
||||
<meta property="og:title" content="" />
|
||||
<meta name="og:description" content="" />
|
||||
</Head>
|
||||
<div className="h-full dark">
|
||||
<ShareSecretPublicPage />
|
||||
<div className="dark h-full">
|
||||
<ShareSecretPublicPage isNewSession={false} />
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default SecretApproval;
|
||||
export default SecretSharedPublicPage;
|
||||
|
||||
SecretApproval.requireAuth = false;
|
||||
SecretSharedPublicPage.requireAuth = false;
|
||||
|
||||
Reference in New Issue
Block a user