refactored index and added a fun game
This commit is contained in:
parent
9acdd05688
commit
1690d2eabc
3 changed files with 186 additions and 20 deletions
59
bin/crypto.html
Normal file
59
bin/crypto.html
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
<!doctype html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<script async data-id="101478527" src="/6adf4fcf445ae38ea.js"></script>
|
||||||
|
<noscript
|
||||||
|
><p><img width="1" height="1" src="/de19c075a2d1c4975" /></p
|
||||||
|
></noscript>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<meta content="Dario48's wacky and wonderful website" property="og:title" />
|
||||||
|
<meta
|
||||||
|
content="A website from a guy who hates web dev"
|
||||||
|
property="og:description"
|
||||||
|
/>
|
||||||
|
<meta content="https://dario48.site/bin/" property="og:url" />
|
||||||
|
<meta
|
||||||
|
content="https://dario48.site/home/Dario48/Pictures/folder.svg"
|
||||||
|
property="og:image"
|
||||||
|
/>
|
||||||
|
<meta content="#161925" data-react-helmet="true" name="theme-color" />
|
||||||
|
<title>/bin/</title>
|
||||||
|
<link rel="stylesheet" href="/style.css" />
|
||||||
|
<script src="/disable_form.js" defer></script>
|
||||||
|
<script src="/bin/crypt.js"></script>
|
||||||
|
</head>
|
||||||
|
<body id="body">
|
||||||
|
<div class="border">
|
||||||
|
<div class="column">
|
||||||
|
<div class="stretch row">
|
||||||
|
Dario48's website
|
||||||
|
<div style="aspect-ratio: 1 / 1">
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
onclick="document.getElementById('body').remove();"
|
||||||
|
>
|
||||||
|
X
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<form id="disable_enter">
|
||||||
|
<input type="text" value="Hello" class="stretch" id="plaintext" />
|
||||||
|
<input type="text" value="13" class="stretch" id="key" />
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
onclick="document.getElementById('encrypted').value = encrypt(document.getElementById('plaintext').value, document.getElementById('key').value)"
|
||||||
|
>
|
||||||
|
Encrypt
|
||||||
|
</button>
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
onclick="document.getElementById('plaintext').value = decrypt(document.getElementById('encrypted').value, document.getElementById('key').value)"
|
||||||
|
>
|
||||||
|
Decrypt
|
||||||
|
</button>
|
||||||
|
<input type="text" value="Uryyb" class="stretch" id="encrypted" />
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -11,16 +11,15 @@
|
||||||
content="A website from a guy who hates web dev"
|
content="A website from a guy who hates web dev"
|
||||||
property="og:description"
|
property="og:description"
|
||||||
/>
|
/>
|
||||||
<meta content="https://dario48.site/bin/" property="og:url" />
|
<meta content="https://dario48.site" property="og:url" />
|
||||||
<meta
|
<meta
|
||||||
content="https://dario48.site/home/Dario48/Pictures/folder.svg"
|
content="https://dario48.site/home/Dario48/Pictures/folder.svg"
|
||||||
property="og:image"
|
property="og:image"
|
||||||
/>
|
/>
|
||||||
<meta content="#161925" data-react-helmet="true" name="theme-color" />
|
<meta content="#161925" data-react-helmet="true" name="theme-color" />
|
||||||
<title>/bin/</title>
|
<title>/</title>
|
||||||
<link rel="stylesheet" href="/style.css" />
|
<link rel="stylesheet" href="/style.css" />
|
||||||
<script src="/disable_form.js" defer></script>
|
<script src="/path.js" defer></script>
|
||||||
<script src="/bin/crypt.js"></script>
|
|
||||||
</head>
|
</head>
|
||||||
<body id="body">
|
<body id="body">
|
||||||
<div class="border">
|
<div class="border">
|
||||||
|
@ -36,23 +35,29 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<form id="disable_enter">
|
<form>
|
||||||
<input type="text" value="Hello" class="stretch" id="plaintext" />
|
<input type="text" value="/" class="stretch" id="path" />
|
||||||
<input type="text" value="13" class="stretch" id="key" />
|
|
||||||
<button
|
|
||||||
type="button"
|
|
||||||
onclick="document.getElementById('encrypted').value = encrypt(document.getElementById('plaintext').value, document.getElementById('key').value)"
|
|
||||||
>
|
|
||||||
Encrypt
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
type="button"
|
|
||||||
onclick="document.getElementById('plaintext').value = decrypt(document.getElementById('encrypted').value, document.getElementById('key').value)"
|
|
||||||
>
|
|
||||||
Decrypt
|
|
||||||
</button>
|
|
||||||
<input type="text" value="Uryyb" class="stretch" id="encrypted" />
|
|
||||||
</form>
|
</form>
|
||||||
|
<nav class="row">
|
||||||
|
<div class="column folder">
|
||||||
|
<a href="crypto.html">
|
||||||
|
<img
|
||||||
|
src="home/Dario48/Pictures/folder.svg"
|
||||||
|
style="display: block; margin-left: auto; margin-right: auto"
|
||||||
|
/>
|
||||||
|
<p style="text-align: center">crypto.html</p>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="column folder">
|
||||||
|
<a href="point-and-click.html">
|
||||||
|
<img
|
||||||
|
src="home/Dario48/Pictures/folder.svg"
|
||||||
|
style="display: block; margin-left: auto; margin-right: auto"
|
||||||
|
/>
|
||||||
|
<p style="text-align: center">point-and-click.html</p>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
102
bin/point-and-click.html
Normal file
102
bin/point-and-click.html
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue