mirror of
https://github.com/mvvasilev/paste-eater.git
synced 2025-04-11 18:05:01 +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
|
@ -4,4 +4,6 @@
|
|||
<img src="./resources/paste-eater.gif" />
|
||||
</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="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" />
|
||||
<!--
|
||||
|
@ -24,7 +24,7 @@
|
|||
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`.
|
||||
-->
|
||||
<title>React App</title>
|
||||
<title>Eat Paste!</title>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||
|
|
|
@ -70,6 +70,7 @@ export default function Topbar(props) {
|
|||
variant="secondary"
|
||||
id="button-decrypt"
|
||||
onClick={() => props.onDecrypt(decryptionKey)}
|
||||
disabled={!decryptionKey}
|
||||
>
|
||||
Decrypt
|
||||
</Button>
|
||||
|
@ -89,6 +90,7 @@ export default function Topbar(props) {
|
|||
variant="secondary"
|
||||
id="button-encrypt"
|
||||
onClick={() => props.onEncrypt(encryptionKey)}
|
||||
disabled={!encryptionKey}
|
||||
>
|
||||
Encrypt
|
||||
</Button>
|
||||
|
|
Loading…
Add table
Reference in a new issue