moved to separate directories

This commit is contained in:
2024-02-13 07:46:43 -05:00
parent 6c3feb29c8
commit 9cb47c4c83
6 changed files with 3 additions and 6 deletions

23
public/index.html Normal file
View File

@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Michael Thomson</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://unpkg.com/htmx.org@1.9.10"></script>
</head>
<body>
<h1>Michael Thomson</h1>
<p>Welcome to my site! doesn't it have so much content? I know, right?</p>
<p>It even has reactivity!</p>
<div>
<!-- have a button POST a click via AJAX -->
<button hx-post="/clicked" hx-swap="outerHTML">
Click Me
</button>
</div>
</body>
</html>