This commit is contained in:
Oliver
2025-06-17 12:46:36 -03:00
parent 9b654c8dd4
commit c352992708
313 changed files with 23294 additions and 13892 deletions

View File

@@ -1,22 +1,23 @@
<script src="/pagefind/pagefind-ui.js"></script>
<script>
window.addEventListener("DOMContentLoaded", (event) => {
new PagefindUI({ element: "#search", showSubResults: true });
});
</script>
<script>
const dialog = document.querySelector("dialog");
const showButton = document.getElementById("createStoryBtn");
const closeButton = document.getElementById("closeStoryModal");
// "Show the dialog" button opens the dialog modally
showButton.addEventListener("click", () => {
dialog.showModal();
});
// "Close" button closes the dialog
closeButton.addEventListener("click", () => {
dialog.close();
});
</script>
<script src="/pagefind/pagefind-ui.js"></script>
<script src="/js/main.js"></script>
<script>
window.addEventListener("DOMContentLoaded", (event) => {
new PagefindUI({ element: "#search", showSubResults: true,highlightParam: "highlight" });
});
</script>
<script>
const dialog = document.querySelector("dialog");
const showButton = document.getElementById("createStoryBtn");
const closeButton = document.getElementById("closeStoryModal");
// "Show the dialog" button opens the dialog modally
showButton.addEventListener("click", () => {
dialog.showModal();
});
// "Close" button closes the dialog
closeButton.addEventListener("click", () => {
dialog.close();
});
</script>