From 9b95fcb9e63716d0b1823b1f50c54abe9505f05b Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 24 Feb 2026 15:13:59 +0100 Subject: [PATCH] FEATURING Handling the first features for the singles pages --- resources/js/app.ts | 2 ++ resources/js/singles/singles.ts | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 resources/js/singles/singles.ts diff --git a/resources/js/app.ts b/resources/js/app.ts index da1e25a..6497659 100644 --- a/resources/js/app.ts +++ b/resources/js/app.ts @@ -4,6 +4,7 @@ import handleScrollTop from './utilities/scroll-top'; import handleInsidePageScrolling from './page-scrolling'; import alternatePictures from './alternate-pictures'; import { searchBarInit } from './search-bar'; +import singlesInit from './singles/singles'; window.addEventListener('load', function () { menuInit(); @@ -12,4 +13,5 @@ window.addEventListener('load', function () { handleInsidePageScrolling(); alternatePictures(); searchBarInit(); + singlesInit(); }); diff --git a/resources/js/singles/singles.ts b/resources/js/singles/singles.ts new file mode 100644 index 0000000..d77486a --- /dev/null +++ b/resources/js/singles/singles.ts @@ -0,0 +1,5 @@ +import { handlePostToolbar } from './post-toolbar.ts'; + +export default function singles(): void { + handlePostToolbar(); +}