Improve root page

This commit is contained in:
Marty Oehme 2025-06-05 19:11:53 +02:00
parent 90c357a28f
commit e02b9cadf5
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -233,13 +233,13 @@ def root_route():
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>FastAPI with HTMX</title> <title>The Pollen Prophet</title>
<script src="https://unpkg.com/htmx.org@1.6.1"></script> <script src="https://unpkg.com/htmx.org@1.6.1"></script>
</head> </head>
<body> <body>
<h1>Welcome to FastAPI with HTMX</h1> <h1>The Pollen Prophet</h1>
<div id="content"></div> <h2>Making funny since 2025 what ought not bee.</h2>
<button hx-get="/fetch-data" hx-target="#content">Fetch Data</button> <div hx-get="/improvements" hx-target="#content" hx-trigger="load" id="content"></div>
</body> </body>
</html> </html>
""" """