Beautify main page

Fixes #2.
This commit is contained in:
Florine W. Dekker 2021-03-19 20:26:33 +01:00
parent 169af5e42c
commit c598fb603e
Signed by: FWDekker
GPG Key ID: B1B567AF58D6EE0F
3 changed files with 40 additions and 2 deletions

BIN
.links.db

Binary file not shown.

39
index.html Normal file
View File

@ -0,0 +1,39 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>FWDekker</title>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<style>
* {
font-family: "Roboto", sans-serif;
}
a:link, a:visited, a:hover, a:active {
color: black;
}
#wrapper {
margin: auto;
padding-top: 50px;
width: 50%;
max-width: 800px;
min-width: 400px;
}
</style>
</head>
<body>
<div id="wrapper">
<h1><a href="https://fwdekker.com/">FWDekker</a></h1>
<b>About fwdkr.co</b><br /><br />
You've arrived at this page because you typed or linked to "fwdkr.co", the URL shortcut for
<a href="https://fwdekker.com/">fwdekker.com</a>.<br /><br />
Whenever you see a "fwdkr.co" link, you can trust that it will always take you to a website affiliated with
FWDekker.
</div>
</body>
</html>

View File

@ -16,9 +16,8 @@ $db->close();
if ($result) {
$target = $result["target"];
header("Location: {$target}");
// print("Redirecting to {$target}");
exit();
}
print("No redirect necessary");
include("index.html");