add index.html

This commit is contained in:
2024-09-11 15:55:38 +02:00
parent 4a5380b429
commit 26d2f111a3

54
client/index.html Normal file
View File

@@ -0,0 +1,54 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Flashcards API</title>
</head>
<style>
*, *::before, *::after {
box-sizing: border-box;
}
:root {
color-scheme: dark light;
font-family: sans-serif;
}
main {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 1rem;
height: 100svh;
}
a {
color: #fff;
border-bottom: 1px solid #38bdf8;
text-decoration: none;
}
a:hover {
border-bottom-width: 2px;
}
div {
height: 2rem;
}
</style>
<body>
<main>
<h1>Flashcards API</h1>
<div>
<a href="/reference">API Reference (Scalar)</a>
</div>
<div>
<a href="/docs">API Reference (Swagger UI)</a>
</div>
</main>
</body>
</html>