mirror of
https://github.com/mvvasilev/paste-eater.git
synced 2025-04-19 13:29:52 +03:00
Update title, description, and block encrypt/decrypt buttons without key
This commit is contained in:
parent
418c842c01
commit
3b94fa4ea8
3 changed files with 7 additions and 3 deletions
|
@ -5,3 +5,5 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
The premiere paste-eating paste service. Wholly sponsored by Ralph Wiggum.
|
The premiere paste-eating paste service. Wholly sponsored by Ralph Wiggum.
|
||||||
|
|
||||||
|
Available now, at https://paste.haedhutner.dev/
|
|
@ -7,7 +7,7 @@
|
||||||
<meta name="theme-color" content="#000000" />
|
<meta name="theme-color" content="#000000" />
|
||||||
<meta
|
<meta
|
||||||
name="description"
|
name="description"
|
||||||
content="Web site created using create-react-app"
|
content="The paste eating paste service."
|
||||||
/>
|
/>
|
||||||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
||||||
<!--
|
<!--
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
work correctly both with client-side routing and a non-root public URL.
|
work correctly both with client-side routing and a non-root public URL.
|
||||||
Learn how to configure a non-root public URL by running `npm run build`.
|
Learn how to configure a non-root public URL by running `npm run build`.
|
||||||
-->
|
-->
|
||||||
<title>React App</title>
|
<title>Eat Paste!</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||||
|
|
|
@ -70,6 +70,7 @@ export default function Topbar(props) {
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
id="button-decrypt"
|
id="button-decrypt"
|
||||||
onClick={() => props.onDecrypt(decryptionKey)}
|
onClick={() => props.onDecrypt(decryptionKey)}
|
||||||
|
disabled={!decryptionKey}
|
||||||
>
|
>
|
||||||
Decrypt
|
Decrypt
|
||||||
</Button>
|
</Button>
|
||||||
|
@ -89,6 +90,7 @@ export default function Topbar(props) {
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
id="button-encrypt"
|
id="button-encrypt"
|
||||||
onClick={() => props.onEncrypt(encryptionKey)}
|
onClick={() => props.onEncrypt(encryptionKey)}
|
||||||
|
disabled={!encryptionKey}
|
||||||
>
|
>
|
||||||
Encrypt
|
Encrypt
|
||||||
</Button>
|
</Button>
|
||||||
|
|
Loading…
Add table
Reference in a new issue