diff --git a/analyticshub/lib/Controller/Page.php b/analyticshub/lib/Controller/Page.php new file mode 100644 index 0000000..0fc5706 --- /dev/null +++ b/analyticshub/lib/Controller/Page.php @@ -0,0 +1,39 @@ +appName = $appName; + } + + /** + * Index page - render admin UI + * + * @NoAdminRequired + * @NoCSRFRequired + */ + public function index(): TemplateResponse { + return new TemplateResponse($this->appName, 'admin', [ + 'app_name' => $this->appName, + 'version' => '1.0.0', + 'status' => 'Testing - admin accessible', + ]); + } +}