first commit

This commit is contained in:
cappuch
2026-05-21 21:37:00 +01:00
commit ffa778a0ee
25 changed files with 47476 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html>
<head>
<title>fileshares.cfd</title>
<style>
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:monospace;padding:40px;background:white;color:black;max-width:680px}
h1{margin-bottom:12px;font-size:32px}
p{margin-bottom:12px;line-height:1.5}
.actions{margin-top:24px}
a.button{display:inline-block;border:1px solid black;background:white;color:black;padding:8px 16px;text-decoration:none;margin-right:8px}
a.button:hover{background:black;color:white}
.nav{margin-top:40px;font-size:12px}
a{color:black}
</style>
</head>
<body>
<h1>fileshares.cfd</h1>
<p>Simple, fast file hosting without the bloat.</p>
<p>Upload a file, get a clean link, and come back to your dashboard whenever you need older uploads. Access is request-only, so you will need an upload token before you can use the dashboard.</p>
<div class="actions">
<a class="button" id="mainAction" href="/login">Login</a>
<a class="button" href="/speedtest">Speed Test</a>
</div>
<div class="nav"><a href="/">Home</a> | <a href="/speedtest">Speed Test</a> | <a id="navAuth" href="/login">Login</a> | <a href="/terms">Terms</a> | <a href="/privacy">Privacy</a></div>
<script>
function hasToken(){return !!localStorage.getItem('upload_token')}
const main=document.getElementById('mainAction');
const nav=document.getElementById('navAuth');
if(hasToken()){
main.href='/dashboard';
main.textContent='Dashboard';
nav.href='/dashboard';
nav.textContent='Dashboard';
}
</script>
</body>
</html>