feat(home): Display events instead of hardcoded content

This commit is contained in:
kbe
2025-08-30 13:51:44 +02:00
parent 2a2c249a54
commit 394190ace8
5 changed files with 51 additions and 104 deletions

View File

@@ -6,4 +6,8 @@ const application = Application.start();
application.debug = false;
window.Stimulus = application;
// import Alpine from 'alpinejs';
// window.Alpine = Alpine;
// Alpine.start();
export { application };

View File

@@ -7,15 +7,17 @@ import { application } from "./application"
import LogoutController from "./logout_controller"
import FlashMessageController from "./flash_message_controller"
import CounterController from "./counter_controller"
import FeaturedEventController from "./featured_event_controller"
// import FeaturedEventController from "./featured_event_controller"
application.register("logout", LogoutController) // Allow logout using js
application.register("flash-message", FlashMessageController) // Dismiss notification after 5 secondes
application.register("counter", CounterController) // Simple counter for homepage
application.register("featured-event", FeaturedEventController) // Featured event controller for homepage
// application.register("logout", LogoutController) // Allow logout using js
// application.register("flash-message", FlashMessageController) // Dismiss notification after 5 secondes
// application.register("counter", CounterController) // Simple counter for homepage
// application.register("featured-event", FeaturedEventController) // Featured event controller for homepage
// import ShadcnTestController from "./shadcn_test_controller"
// application.register("shadcn-test", ShadcnTestController) // Test controller for Shadcn