Enable toggling button to switch between originals/improvements
This commit is contained in:
parent
ba578b3c22
commit
e5ab5dfc48
3 changed files with 33 additions and 12 deletions
|
|
@ -14,12 +14,15 @@
|
|||
<body>
|
||||
<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>
|
||||
{% include "floating_button.html" %}
|
||||
<div class="article" x-data="{ showing_improvements: true }">
|
||||
<div
|
||||
hx-get="/improvements"
|
||||
hx-target="#content"
|
||||
hx-trigger="revealed"
|
||||
id="content"
|
||||
:class="showing_improvements ? '' : 'hidden'"
|
||||
></div>
|
||||
{% include "floating_button.html" %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue