mirror-filecoffee-filehost/views/index.ejs

54 lines
2.2 KiB
Text
Raw Normal View History

2024-06-02 17:32:54 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>filehost by file.coffee</title>
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
2024-06-04 19:00:41 +02:00
<style>
.bg-gray-custom {
background-color: #181818;
}
.coffee-color {
color: #C084FC;
}
.bg-coffee-color {
background-color: #C084FC;
}
</style>
2024-06-02 17:32:54 +02:00
</head>
2024-06-04 19:00:41 +02:00
<body class="bg-gray-custom text-gray-100">
2024-06-02 17:32:54 +02:00
<div class="min-h-screen flex flex-col items-center justify-center p-6">
<header class="mb-12 text-center">
2024-06-04 19:00:41 +02:00
<h1 class="text-5xl font-extrabold mb-4">Truly <i>your</i> <u class="coffee-color">filehost</u></h1>
<p class="text-lg">Free, open-source, safe, filehosting.</p>
2024-06-02 17:32:54 +02:00
</header>
2024-06-04 19:00:41 +02:00
<main class="w-full max-w-2xl bg-coffee-color p-8 rounded-lg shadow-lg">
2024-06-02 17:32:54 +02:00
<section class="mb-8">
2024-06-04 19:00:41 +02:00
<h2 class="text-3xl font-semibold mb-4 border-b border-white pb-2">Statistics</h2>
2024-06-02 17:32:54 +02:00
<div class="flex justify-between items-center mb-2">
<span>Total uploads:</span>
<span class="font-mono text-xl"><%= totalUploads %></span>
</div>
<div class="flex justify-between items-center">
<span>Total size:</span>
<span class="font-mono text-xl"><%= totalSize %> MB</span>
</div>
</section>
<section>
2024-06-04 19:00:41 +02:00
<h2 class="text-3xl font-semibold mb-4 border-b border-white pb-2">Contact</h2>
<p>Contact the hoster: <a href="mailto:<%= hosterEmail %>" class="text-gray-900 hover:text-gray-800 transition duration-300"><%= hosterEmail %></a></p>
2024-06-02 17:32:54 +02:00
</section>
</main>
<footer class="mt-12 text-center">
2024-06-04 19:00:41 +02:00
<p>Want to host it yourself? <a href="https://github.com/filecoffee/filehost/tree/main" class="coffee-color">GitHub Repository</a></p>
2024-06-02 17:32:54 +02:00
</footer>
2024-06-09 15:53:10 +02:00
<div class="absolute bottom-0 right-0 p-4 text-sm text-gray-500">
v<%= version %>
</div>
2024-06-02 17:32:54 +02:00
</div>
</body>
</html>