Skip to content

Commit f94e45c

Browse files
committed
Updates texts
1 parent cc4f3db commit f94e45c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

src/app/(authed)/(home)/encrypt/page.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const HELP_URL = env.getOrThrow("FRAMNA_DOCS_HELP_URL")
77
const SITE_NAME = env.getOrThrow("FRAMNA_DOCS_TITLE")
88

99
export default async function EncryptPage() {
10+
const possessiveName = SITE_NAME + (SITE_NAME.endsWith('s') ? "'" : "'s")
1011
return (
1112
<Box
1213
display="flex"
@@ -25,12 +26,10 @@ export default async function EncryptPage() {
2526
Encrypt secrets
2627
</Typography>
2728
<Typography sx={{ textAlign: "center" }}>
28-
When adding authentication information to remote specifications it
29-
is required to encrypt the authentication information with our public
30-
key before storing it in the repository.<br />
31-
<br />
32-
This page allows you to encrypt the secret using {SITE_NAME}{SITE_NAME.endsWith('s') ? "'" : "'s"}
33-
public key, which means only {SITE_NAME} can decrypt it.
29+
Use the form below to encrypt a secret using {possessiveName} public key.
30+
<br/><br />
31+
Authentication in remote specifications must be encrypted using {possessiveName} public key
32+
before it is stored in a repository on GitHub.
3433
</Typography>
3534
<EncryptionForm />
3635
{HELP_URL &&

0 commit comments

Comments
 (0)