Improve root page
This commit is contained in:
parent
90c357a28f
commit
e02b9cadf5
1 changed files with 4 additions and 4 deletions
|
|
@ -233,13 +233,13 @@ def root_route():
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>FastAPI with HTMX</title>
|
||||
<title>The Pollen Prophet</title>
|
||||
<script src="https://unpkg.com/htmx.org@1.6.1"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Welcome to FastAPI with HTMX</h1>
|
||||
<div id="content"></div>
|
||||
<button hx-get="/fetch-data" hx-target="#content">Fetch Data</button>
|
||||
<h1>The Pollen Prophet</h1>
|
||||
<h2>Making funny since 2025 what ought not bee.</h2>
|
||||
<div hx-get="/improvements" hx-target="#content" hx-trigger="load" id="content"></div>
|
||||
</body>
|
||||
</html>
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue