Spaces:
Build error
Build error
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Welcome to My FastAPI App</title> | |
<style> | |
body { | |
font-family: Arial, sans-serif; | |
background-color: #f2f2f2; | |
margin: 0; | |
padding: 0; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
height: 100vh; | |
} | |
.container { | |
background-color: #fff; | |
padding: 20px; | |
border-radius: 8px; | |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | |
max-width: 400px; | |
} | |
h1 { | |
color: #333; | |
text-align: center; | |
margin-bottom: 20px; | |
} | |
p { | |
color: #666; | |
text-align: center; | |
} | |
a { | |
display: block; | |
text-align: center; | |
margin-top: 20px; | |
color: #007BFF; | |
text-decoration: none; | |
} | |
a:hover { | |
text-decoration: underline; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="container"> | |
<h1>Welcome to My FastAPI App</h1> | |
<p>This is the root page of the FastAPI app. You can start exploring the API by using the provided endpoints.</p> | |
<a href="/docs">API Documentation</a> | |
</div> | |
</body> | |
</html> | |