added disclaimer

main
Johannes Bülow 2023-01-07 15:38:18 +01:00
parent 6568cd9366
commit 17c0381e44
Signed by untrusted user who does not match committer: jmb
GPG Key ID: B56971CF7B8F83A6
2 changed files with 23 additions and 1 deletions

View File

@ -4,14 +4,16 @@
import DecryptButton from './lib/DecryptButton.svelte'; import DecryptButton from './lib/DecryptButton.svelte';
import { errorMessage } from './lib/generalStore'; import { errorMessage } from './lib/generalStore';
import Footer from './lib/Footer.svelte'; import Footer from './lib/Footer.svelte';
import Disclaimer from './lib/Disclaimer.svelte';
let errorMessageContent let errorMessageContent: string;
errorMessage.subscribe( value => { errorMessage.subscribe( value => {
errorMessageContent = value; errorMessageContent = value;
}); });
</script> </script>
<main> <main>
<Disclaimer />
<h1>Encrypt and decrypt files</h1> <h1>Encrypt and decrypt files</h1>
{errorMessageContent} {errorMessageContent}

20
src/lib/Disclaimer.svelte Normal file
View File

@ -0,0 +1,20 @@
<style>
div.disclaimer {
background-color: rgb(129, 0, 0);
color: #fff;
height: 6em;
padding-left: 1em;
padding-right: 1em;
padding-bottom: 3px;
padding-top: 5px;
left: 0;
position: absolute;
right: 0;
top: 0;
}
</style>
<div class="disclaimer">
<h3>DISCLAIMER</h3>
<p>This Webapp is not yet ready for production and should not be relied on to be cryptographically secure</p>
</div>