render("front/index.twig", [ "title" => "This is The Bad Space", ]); /* $result = $auth->status(); if ($result["status"]) { return $render->renderPage( [ "bgImage" => "/images/base/tweed-flowers.png", "role" => $result["role"], ], "The Nile List | Welcome Back", "front/index.html.twig" ); } else { //back to index to login header("Location:/login"); return new Response("LOGGED IN"); } */ } /** * @Route("/knockknock", name="access") */ public function access(Request $request): Response { return $this->render("front/knock.twig", [ "title" => "Wipe Your feet", ]); } }