GenSpectrum / LAPIS

An API, a query engine, and a database schema for genomic sequences; currently with a focus on SARS-CoV-2
https://lapis-three.vercel.app
GNU Affero General Public License v3.0
19 stars 5 forks source link

Small landing page #856

Closed chaoran-chen closed 1 month ago

chaoran-chen commented 1 month ago

Currently, if we go to the root path of an instance, we get a 404 error.

image

It would be nice to add a simple landing page that contains a link to the Swagger UI, the docs, and the GitHub repository.

I think that something as simple as the following would be enough for the start and a significant improvement to a 404 page.

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>LAPIS - [ORGANISM]</title>
</head>
<body>

Welcome to the LAPIS instance for [ORGANISM]. You can find more information on the following pages:

<ul>
    <li><a href="ADD LINK">Documentation</a></li>
    <li><a href="ADD LINK">Swagger / API reference</a></li>
    <li><a href="ADD LINK">GitHub</a></li>
</ul>

</body>
</html>