Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
Add links to the about page.
Browse files Browse the repository at this point in the history
  • Loading branch information
wmealing committed Oct 29, 2023
1 parent 8589f44 commit 5e1a381
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 2 deletions.
5 changes: 5 additions & 0 deletions priv/chapter1.html
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,11 @@ <h1 class="text-black-600 text-5xl font-bold">
<p class="">
<a href="/chapter1" hx-boost="true">← Previous Chapter</a> || <a href="/chapter2" hx-boost="true">Next Chapter →</a>
</p>

<p>
<a href="/about"> About This Project </a>
</p>

</div>
</body>
</html>
4 changes: 3 additions & 1 deletion priv/chapter2.html
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,9 @@ <h1>
<a href="/chapter1" hx-boost="true">← Previous Chapter</a> || <a href="/live-demo" hx-boost="true">Next Chapter →</a>
</p>


<p>
<a href="/about"> About This Project </a>
</p>

</body>
</html>
3 changes: 3 additions & 0 deletions priv/live.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ <h2>LFE Code </h2>
<a href="/go"> Test this code </a>
</p>

<p>
<a href="/about"> About This Project </a>
</p>
</div>
</body>
</html>
23 changes: 22 additions & 1 deletion priv/user/live.html
Original file line number Diff line number Diff line change
@@ -1 +1,22 @@
EMPTY FILE

<!DOCTYPE html>
<html>
<head>
<title>Your Page</title>
<script src="https://unpkg.com/htmx.org@1.9.6"></script>
</head>

<body>
<h1>
Your HTMX demo
</h1>

<div>
<button hx-post="/chapter1-clicked" hx-swap="outerHTML" class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
Click Me
</button>
</div>
</body>
</html>


0 comments on commit 5e1a381

Please sign in to comment.