added footer to page

main
Johannes Bülow 2023-01-04 20:12:12 +01:00
parent 05ad02f14c
commit c07a6ac04e
5 changed files with 29 additions and 15101 deletions

13061
.pnp.cjs generated

File diff suppressed because one or more lines are too long

2040
.pnp.loader.mjs generated

File diff suppressed because it is too large Load Diff

1
.yarnrc.yml Normal file
View File

@ -0,0 +1 @@
nodeLinker: node-modules

View File

@ -3,6 +3,7 @@
import PasswordButton from './lib/PasswordButton.svelte';
import DecryptButton from './lib/DecryptButton.svelte';
import { errorMessage } from './lib/generalStore';
import Footer from './lib/Footer.svelte';
let errorMessageContent
errorMessage.subscribe( value => {
@ -29,6 +30,8 @@
You can drag and drop a file on the "Encrypt" Button to encrypt it with a randomly generated password, and decrypt a file encrypted with this tool.
For more information check out the Documentation.
</p>
<Footer/>
</main>
<style>

25
src/lib/Footer.svelte Normal file
View File

@ -0,0 +1,25 @@
<style>
footer {
align-items: center;
background-color: #333;
color: #fff;
display: flex;
height: 1em;
justify-content: space-between;
padding-left: 1em;
padding-right: 1em;
padding-bottom: 5px;
padding-top: 3px;
left: 0;
position: absolute;
right: 0;
bottom: 0;
}
</style>
<footer>
<p>Copyright {new Date().getFullYear()}</p>
<p>
<a href="https://codeberg.org/jmbit/crypttool/">Source</a> | <a href="https://www.jmbit.de/impressum/">Imprint</a>
</p>
</footer>